玩转华为ENSP模拟器系列 | 配置Console用户界面举例

素材来源:华为路由器配置指南

一边学习一边整理试验笔记,并与大家分享,侵权即删,谢谢支持!

附上汇总贴:玩转华为ENSP模拟器系列 | 合集_COCOgsta的博客-CSDN博客_ensp实验大全


目标

在本示例中,通过配置Console用户界面的物理属性、终端属性、用户级别、验证方式和验证密码,实现通过Console口使用Password方式登录设备。

组网需求

在初始化空配置设备或本地维护设备时,用户需要通过Console用户界面登录并进行配置。设备管理员可以根据使用需求或对设备安全性的考虑,可配置Console用户界面的相关属性。

配置思路

  • 配置Console用户界面的物理属性。
  • 配置Console用户界面的终端属性。
  • 配置Console用户界面的用户级别。
  • 配置Console用户界面的验证方式和验证密码。

操作步骤

  1. 配置Console用户界面的物理属性
user-interface con 0
 speed 4800
 parity even
 stopbits 2
找不到flow-control none和databits 6的配置
  1. 配置Console用户界面的终端属性
user-interface con 0
 idle-timeout 30 0
 screen-length 30
 history-command max-size 20
  1. 配置Console用户界面的用户级别
找不到console下的user privilege level 15配置
  1. 配置Console用户界面的用户验证方式为密码验证
user-interface con 0
 authentication-mode password
 set authentication password cipher $1c$,c(HYQ@D%X$sgo'KYf[Y;-|-/.l'F"L]qs@3Bgv|"Iqbe4;8(-C$

Console用户界面配置完成后,用户可以通过Console口使用Password方式登录设备

  1. 验证配置结果

上述配置完成后,执行命令display_user-interface,可以查看Console0的状态。

[~HUAWEI]dis user-interface 0
  Idx  Type     Tx/Rx      Modem Privi ActualPrivi Auth  Int     
  0    CON 0               -     3     -           P     17                  
  +    : Current UI is active.
  F    : Current UI is active and work in async mode.
  Idx  : Absolute index of UIs.
  Type : Type and relative index of UIs.
  Privi: The privilege of UIs.
  ActualPrivi: The actual privilege of user-interface.
  Auth : The authentication mode of UIs.
      A: Authenticate use AAA.
      P: Authenticate use current UI's password.
  Int  : The physical location of UIs.
[~HUAWEI]
  • 1
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值