1200字范文,内容丰富有趣,写作的好帮手!
1200字范文 > 交换机telnet远程登陆配置

交换机telnet远程登陆配置

时间:2021-05-13 00:28:01

相关推荐

交换机telnet远程登陆配置

实验环境配置

Switch_2960 1台;PC(终端) 1台;直连线;配置线


实验步骤

新建拓扑图

配置交换机管理ip地址(进入VLAN1接口,设置IP地址)

//进入特权模式switch>en//进入全局配置模式switch#conf t//进入vlan 1 接口switch(config)#int vlan 1//配置IP地址switch(config-if)#ip address 192.168.1.254 255.255.255.0//开启vlan 地址栏switch(config-if)#no shutdown

结果演示:

3.配置进入特权模式的密码、连接console端口的密码及telnet的登录密码

//在全局配置模式下设置进入特权模式的密码switch(config)#enable password 123456(自定义密码)//进入console口switch(config)#line console 0//设置进入端口的密码switch(config-line)#password 123456(和上面的密码不一定要一样)//开启密码登录switch(config-line)#login//进入telnet口switch(config)#line vty 0 4//设置密码switch(config-line)#password 123456(和上面的密码不一定要一样)//开启密码登录switch(config-line)#login

结果演示:

提醒: PC(终端机)同样需要配置同网段的IP地址


验证

在pc端使用telnet的方式登录交换机(需验证telnet的登录密码)

对交换机进行管理,并验证进入特权模式的密码。

//telnet远程登录交换机PC>telnet 192.168.1.254

提醒:输入的密码不会有显示

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。