欢迎来到尧图网

客户服务 关于我们

您的位置:首页 > 科技 > IT业 > Telnet远程登录(Cisco)

Telnet远程登录(Cisco)

2024/10/25 5:20:55 来源:https://blog.csdn.net/PanJunJie2003/article/details/139909242  浏览:    关键词:Telnet远程登录(Cisco)

Telnet

基于TCP/IP协议族

远程终端协议

在Internet上远程登录

VTY(Virtual Teletype)

通过IP连接物理上的终端

实现在Internet上

登陆和配置远程目标终端

A

Router>enable
Router#config
Router(config)#hostname A
A(config)#interface gigabitEthernet 0/0
A(config-if)#no shutdown 
A(config-if)#ip address 192.168.1.1 255.255.255.0
A(config-if)#enable secret test2
A(config)#line vty 0 4
A(config-line)#password test3

B

Router>enable
Router#config
Router(config)#hostname B
B(config)#interface gigabitEthernet 0/0
B(config-if)#no shutdown 
B(config-if)#ip address 192.168.1.2 255.255.255.0

使用Ping命令测试是否连接成功

B#ping 192.168.1.1Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/0 ms

通过Telnet命令进入终端

B#telnet 192.168.1.1
Trying 192.168.1.1 ...OpenUser Access VerificationPassword: 
A>

配置本地终端登录密码

A(config-if)#enable secret test2

通过vty连接进入目标终端

A(config)#line vty 0 4

配置远程登录终端密码

A(config-line)#password test3

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com