且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

cisco2960以及huaweis3900配置跨网段telnet

更新时间:2022-09-13 14:36:23

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 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



本文转自 abc3486389 51CTO博客,原文链接:http://blog.51cto.com/1336014/1635935