C114门户论坛百科APPEN| 举报 切换到宽版

亚星游戏官网

 找回密码
 注册

只需一步,快速开始

短信验证,便捷登录

搜索
查看: 1718|回复: 0

905E配置脚本-trunk [复制链接]

军衔等级:

亚星游戏官网-yaxin222  列兵

注册:2016-2-161
发表于 2020-8-13 16:15:35 |显示全部楼层

首先电脑与设备的ETH_OAM端口连接,通过抓包App(Wireshark)获取到设备的IP地址,设备出厂IP地址为129.x.x.x

获取到IP地址后修改电脑的IP地址与设备处于同网段,通过securecrt工具ssh登录到设备。

网元默认用户名:szhw,密码:Changeme_123

使用如下命令进行配置




sys





vsi 1
quit
interface GigabitEthernet2/1/1
ethernet link-type access
ethernet pvid 100
l2 binding vsi 1
comm
quit

interface GigabitEthernet2/1/2
ethernet link-type access
ethernet pvid 200
l2 binding vsi 1
comm
quit

interface GigabitEthernet2/1/3
ethernet link-type access
ethernet pvid 300
l2 binding vsi 1
comm
quit

interface GigabitEthernet2/1/4
ethernet link-type access
l2 binding vsi 1
ethernet pvid 500
comm
quit

interface GigabitEthernet2/1/5
undo dcn access
undo dcn
y
ethernet link-type trunk
l2 binding vsi 1
comm
quit

interface GigabitEthernet2/1/6
undo dcn access
undo dcn
y
ethernet link-type trunk
l2 binding vsi 1
comm
quit
quit
save
y




举报本楼

您需要登录后才可以回帖 登录 | 注册 |

手机版|C114 ( 沪ICP备12002291号-1 )|联系大家 |网站地图  

GMT+8, 2024-11-14 21:17 , Processed in 0.131673 second(s), 15 queries , Gzip On.

Copyright © 1999-2023 C114 All Rights Reserved

Discuz Licensed

回顶部
XML 地图 | Sitemap 地图