4.1 远程登录条件
如果登录的交换机没有配置远程登录密码,会显示Password required, but none set的错误提示信息;如果没有设置特权密码,在进入特权模式时会显示%No password set的错误提示信息。
Password required, but none set的错误提示信息;如果没有设置特权密码,在进入特权模式时会显示%No password set的错误提示信息。配置举例:
Switch>enable
Switch#configure terminal
Switch(config)#interface vlan 1
Switch(config-if)#ip address 192.168.1.5 255.255.255.0
Switch(config-if)#exit
Switch(config)#line vty 0 4
Switch(config-line)#login
Switch(config-line)#password 123
Switch(config-if)#no shudown
Switch(config-line)#exit
Switch(config)#enable secret 456
Switch(config)#end
Switch#Last updated