当前位置:文档之家› 使用Telnet方式远程登录交换机完整版

使用Telnet方式远程登录交换机完整版

使用T e l n e t方式远程
登录交换机
HEN system office room 【HEN16H-HENS2AHENS8Q8-HENH1688】
使用Telnet方式远程登录交换机
步骤1:配置交换机和计算机
第1步:配置计算机的IP地址为,子网掩码为。

第2步:配置交换机的vlan1的IP地址,代码如下:
Switch>enable
Switch#configure terminal
Switch(config)#interface vlan1
Switch(config-if)#ip
Switch(config-if)#no shutdown
第3步:配置交换机的命令。

(1)配置控制台特权口令代码如下:
Switch(config-if)#exit
Switch(config)#enable password 123
(2)进入到vty模式下,开启交换机的远程Telnet功能,代码如下:Switch(config)#line vty 0 4
Switch(config-line)#password 12345
步骤2:测试
第1步:测试计算机与交换机的连通性,代码如下:
第2步:在计算机上通过Telnet远程登录到交换机,代码如下:Password:12345
Switch>enable
Password: 123
Switch#。

相关主题