配置思科设备可以Telnet远程登录

配置R1可以远程登录SW1

实验图如下

在这里插入图片描述

SW1配置

Switch>en
Switch#conf t
Switch(config)#hostname SW1
Switch(config)#enable password cisco  //Assign the privileged level password
Switch(config)#line vty 0 4
Switch(config-line)#login
% Login disabled on line 2, until 'password' is set
% Login disabled on line 3, until 'password' is set
% Login disabled on line 4, until 'password' is set
% Login disabled on line 5, until 'password' is set
% Login disabled on line 6, until 'password' is set
Switch(config-line)#password qytang  //设置远程密码
Switch(config-line)#transport input telnet   //Define which protocols to use when connecting to the terminal  server

在R1上验证

Router#telnet 10.1.11.2
Trying 10.1.11.2 ... Open
User Access Verification
Password: 
SW1>en
Password: 
SW1#
SW1#show users 
    Line       User       Host(s)              Idle       Location
   0 con 0                idle                 00:04:19   
*  2 vty 0                idle                 00:00:00
SW1#show tcp brief 
TCB       Local Address               Foreign Address             (state)
F08624F8  10.1.11.2.23               10.1.11.1.64423             ESTAB
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值