cisco:2960
switch(config)#line vty 0 4
switch(config)# password cisco
swithc>en
switch#inter vlan 1
switch # ip address 10.88.103.84 255.255.255.0
switch(config)#ip default——gateway 10.88.103.1 (跨网段,如果没有这个,跨网段不能telnet)
switch(config)#ip http server (开启web)
huawei:s3900
huawei>sys
huawei#user-interface vty 04
huawei#autherntication-mode password
huawei# set autherntication-mode password simple huawei
huawei#user privilege level 3
quit
huawei#interface vlan 1
huawei#ip address 10.88.103.84 255.255.255.0
huawei#quit
huawei#ip router-static 0.0.0.0 0.0.0.0 10.88.103.1((跨网段,如果没有这个,跨网段不能telnet))
huawei#quit
huawei>save
时间: 2024-11-05 22:32:36