菜鸟交流用,不足之处,请高手多指教。
实验环境:
 交换机telnet配置_休闲
配置如下:
Switch>   ....................................................................................用户模式
 
Switch>enable   ............................................................................进入特权模式
 
Switch#configure terminal    ............................................................进入全局配置模式
 
Switch(config)#interface vlan 1   ......................................................进入vlan 1
 
Switch(config-if)#ip address 192.168.1.1 255.255.255.0   ....................配置telnetip地址
 
Switch(config-if)#no shutdown    ......................................................激活
 
Switch(config-if)#exit   ....................................................................
 
Switch(config)#line vty 0 4    ...........................................................进入虚拟线程配置模式,在这个模式里可对
telnet功能进行配置
 
 
Switch(config-line)#password test    ..................................................设置密码为 test
 
Switch(config)#enable password test   ...............................................配置telnet密码为test,默认的网络设备telnet的功能是
关闭的,配了密码之后会自动打开
 
 
 
说明:
交换机telnet 配置的ip 地址必须与pc机的ip 地址是同类ip 地址