烽火交换机调试脚本2011-06-17-V1
Username: admin
Password: 12345
S2100ME#con
S2100ME(config)#int vlan 997
S2100ME(config-vlan-997)#member 1,9 tagged
S2100ME(config-vlan-997)#exit
S2100ME(config)#system
S2100ME(config-system)#management vlan 997
S2100ME(config-system)#ip address 10.189.97.***/24
S2100ME(config-system)#gateway 10.189.97.1
S2100ME(config-system)#arp-request timer 600
S2100ME(config-system)#exit
S2100ME(config)#int vlan 998
S2100ME(config-vlan-998)#member 1,9 tagged
S2100ME(config-vlan-998)#member 2-8 untagged
S2100ME(config-vlan-998)#apply-as-pvid 2-8
S2100ME(config-vlan-998)#exit
S2100ME(config)#interface ethernet 9
S2100ME(config-eth-9)#no join vlan 1
S2100ME(config)#exit
S2100ME(config)#interface vlan 1
S2100ME(config-vlan-1)#no member 2-8
S2100ME(config-vlan-1)#exit
S2100ME(config)#exit
S2100ME#write file
This will save the configuration in the flash memory.
Are you sure?(y/n) [y]y
Building configuration,please wait for a moment.....
整个配置脚本只需要改动管理IP地址(ip address 10.189.97.***/24,星号代表站点的管理IP),其它内容完全不变。
交换机的第一个业务端口不接AP,留空。
如站点上安装两台或两台以上的交换机,则用网线把第一台交换机的第一个端口与第二台交换机的第一个端口直连,第
二台交换机的第二个端口与第三台交换机的第一个端口直连,以此类推进行连接,交换机数据配置无需改动,连接完
成、数据配置好后,与机房联系查看交换机与AP的状态!
另附:
S2100ME(config)#erase startup-config //清空配置
Are you sure?(y/n) [y]y
S2100ME#show interface dynamic-mac 3 //查看第3个端口的AP MAC
Total 1 dynamic mac on this interface
Vlan MAC-Address
998 C8:64:C7:0C:1C:BE
第 1 页
评论0