QCNA学习笔记-console本地管理

网络设备的管理方式

  1. console本地管理(拥有最大权限)
  2. 专有的以太网管理接口MGT,带外管理
  3. 远程管理协议telnet(明文的23端口的管理协议)/ssh(密文的22端口的管理协议)(业务接口)
  4. 跳转方式(业务接口)
  5. 通过AUX口远程访问(应用较少,如果设备上只有AUX没有console,就是console)

console的密码认证(路由器)

<HW-R1> //用户视图
<HW-R1>system-view //进入了系统视图
[HW-R1]user-interface console 0 //进入console接口
[HW-R1-ui-console0]authentication-mode password //认证模式是密码认证
Please configure the login password (maximum length 16):123456 //自己定义的密码
验证:
<HW-R1>display users 
  User-Intf    Delay    Type   Network Address     AuthenStatus    AuthorcmdFlag
+ 0   CON 0   00:00:00                                   pass                     Username : Unspecified
测试:
<HW-R1>quit

  Configuration console exit, please press any key to log on
Login authentication
Password:
<HW-R1>
<Huawei>display users 
  User-Intf    Delay    Type   Network Address     AuthenStatus    AuthorcmdFlag
+ 0   CON 0   00:00:00                                   pass                   
  Username : Unspecified
Would you like to enter the initial configuration dialog? [yes/no]: no
Router> //用户界面
Router>enable //进入特权模式(过渡模式)
Router#
Router#configure t
Router#configure terminal //进入配置模式
Router(config)#line console 0 //进入console接口模式
Router(config-line)#password qytang //设置密码
Router(config-line)#login //密码登录的开关
Router#exit
测试:
Press RETURN to get started.

User Access Verification

Password: //键入密码
验证:
Router#show users 
    Line       User       Host(s)              Idle       Location
*  0 con 0                idle                 00:00:00 

使用console口进行连接

使用console进行设备管理

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值