hw2326
Quidway]aaa
[Quidway-aaa]undo local-user ftpuser
[Quidway]undo interface Vlanif 10
[Quidway]interface Ethernet 0/0/1
[Quidway-Ethernet0/0/1]undo port default vlan
[Quidway-Ethernet0/0/1]q
[Quidway]vlan 2
[Quidway-vlan2]q
[Quidway]interface Vlanif 2
[Quidway-Vlanif2]ip address 192.168.100.x
[Quidway-Vlanif2]q
[Quidway]int GigabitEthernet 0/0/1
[Quidway-GigabitEthernet0/0/1]port trunk allow-pass vlan 2
[Quidway-GigabitEthernet0/0/1]qu
[Quidway]interface GigabitEthernet 0/0/25
[Quidway-Ethernet0/0/1]port trunk allow-pass vlan 2
[Quidway-Ethernet0/0/1]q
[Quidway]aaa
[Quidway-aaa]local-user huawei password cipher huawei
[Quidway-aaa]q
[Quidway]int
[Quidway]super password cipher huawei
[Quidway]user-interface vty 0 4
[Quidway-ui-vty0-4]authentication-mode aaa
[Quidway-ui-vty0-4]q
[Quidway]q
<Quidway>sa
烽火配置
Username: admin
Password: 12345
S2000MFB# configure
S2000MFB(config)# interface vlan 2
S2000MFB(config-vlan-2)# q
S2000MFB(config)# system
S2000MFB(config-system)# management vlan 2
S2000MFB(config-system)# ip address 192.168.12.x 255.255.255.0
S2000MFB(config-system)# q
S2000MFB(config)# interface vlan 2
S2000MFB(config-vlan-2)# member 1 tagged
S2000MFB# write file
Are you sure?(y/n) [y]
烽火配置-2
S2000MFB(config)#anti-arp trust ip 192.168.10.1 加信任主机
S2000MFB(config-system)#gateway 192.168.10.1 加网管地址的网关
S2000MFB(config-system)#anti-attack disable 关闭防攻击
S2008MFB(config)#igmp-snooping
S2008MFB(config-igmp-snoop)#igmp-snooping en 全局启用igmp
对于开igmp业务的端口
in eth 2 进入端口2
packet-limit broadcast 0 去除广播限制
packet-limit dlf 0 去除dlf限制
packet-limit multicast 0 去除组播限制
迈普配置
login:admin
password:admin
Switch>enable
Switch#configure terminal 进入配置模式
Switch(config)#vlan 2 创建vlan 2
Switch(config-vlan2)#port 0/0 tag 透传级联端口
Switch(config)#exit
Switch(config)#layer2-mode disable 关闭2层模式
Switch(config)#interface sw0 进入 SW0接口
Switch(config-if-sw0)#ip address 192.168.11.x 255.255.255.128 配置管理地址 x范围(2-126)
Switch(config-if-sw0)#vlan-id 2 管理vlan
Switch(config-if-sw0)#exit
Switch(config)#ip route 0.0.0.0 0.0.0.0 192.168.11.1 静态路由,指向管理地址x网关
Switch(config)#enable password level 15 admin 为交换机密码
Switch(config)#igmpsnoop en 打开组播
Switch(config)#exit
Switch#write
Are you sure to override /rfa1/startup (Yes|No)?y
exit
exit
中兴配置
login:admin
password:zhongxing
ZXR10>en
password:zhongxing
ZXR10# configure terminal
ZXR10(cfg)#set vlan 2 enable 创建并起用vlan
ZXR10(cfg)#set vlan 2 add port 1 tag 在级联口透传vlan
ZXR10(cfg)#quit
ZXR10(cfg)#config router 进入路由配置
ZXR10(cfg-router)# set ipport 1 ipaddress 192.168.13.* /* 设置管理ip和掩码
ZXR10(cfg-router)#set ipport 1 vlan 2 把管理ip和vlan2捆绑
ZXR10(cfg-router)#set ipport 1 enable 把管理功能使能
ZXR10(cfg-router)#exit
zte(cfg)#sa
zte(cfg)#exit
zte>exit