sys
local-user root 建登陆的帐号和密码
password simple *
service-type telnet
level 3
quit
user-interface vty 0 4
authentication-mode scheme
quit
建3928下所带设备的vlan,例如可以用vlan 2 to 10 批量建,注意用多少vlan建多少,4094和4001一定要建上,4094是交换机网管vlan,4000是华为网管vlan,4001是中兴网管vlan
password simple *
service-type telnet
level 3
quit
user-interface vty 0 4
authentication-mode scheme
quit
建3928下所带设备的vlan,例如可以用vlan 2 to 10 批量建,注意用多少vlan建多少,4094和4001一定要建上,4094是交换机网管vlan,4000是华为网管vlan,4001是中兴网管vlan
下联端口的做法:
interface Ethernet 1/0/1
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 522 to 537 4000 此端口下所带设备的vlan和网管vlan必须要通过,
上联端口的做法
interface GigabitEthernet1/1/1
duplex full
speed 1000
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 2 to 1537 4000 此交换机所建立的vlan和网管vlan必须通过
interface GigabitEthernet1/1/1
duplex full
speed 1000
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 2 to 1537 4000 此交换机所建立的vlan和网管vlan必须通过
网管地址和路由
interface Vlan-interface 4094
ip address 60.*.*.* 255.255.255.224
q
interface Vlan-interface 4094
ip address 60.*.*.* 255.255.255.224
q
ip route-static 0.0.0.0 0.0.0.0 60.*.*.1 preference 60
save
转载于:https://blog.51cto.com/chen2008/88976