配置路由器允许telent
R1(config)#line vty 0 871
R1(config-line)#password 123456(密码)
R1(config-line)#login
R1(config-line)#exit
R1(config)#end
R1#config t
R1(config)#enable password 234567
R1(config-line)#no password(不允许远程telnet的设置方法)
加密显示路由器密码
R1(config)#service password-encryption
R1(config)#no service password-encryption
R1(config)#enable secret 123456
R1(config)#no enable secret
使用路由器远程telnet路由器
R1#telnet 地址
R1#show users 查看哪些用户连接路由器