华为设备密码认证模式

华为设备密码认证模式有三种:

1、password认证模式:只需要输入密码

2、aaa认证模式:需要输入账号和密码

3、none认证模式:无需认证

下面是以console为例的演示

一、password认证模式

1、进入console接口

[Huawei]user-interface console 0

2、配置认证模式为password

[Huawei-ui-console0]authentication-mode password

3、设置认证密码,设置认证密码有两种方式

第一种是对密码进行加密(即cipher方式)

第二种是密码为明文文本(即simple方式)

[Huawei-ui-console0]set authentication password cipher youpassword

二、aaa认证模式

1、配置认证模式为aaa

[Huawei]user-interface console 0

[Huawei-ui-console0]authentication-mode aaa

2、配置用户名和密码,采用cipher加密方式

[Huawei]aaa

[Huawei-aaa]local-user admin password cipher 123456

3、配置服务类型

常用服务类型:

ssh:采用ssh协议远程连接

telnet:采用telnet协议远程连接

terminal:终端类型,通常用于console

[Huawei-aaa]local-user admin service-type terminal

三、none认证模式

1、配置认证模式为none

[Huawei]user-interface console 0

[Huawei-ui-console0]authentication-mode none

  • 3
    点赞
  • 13
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值