华为交换机无法修改用户名密码

发布时间:2022年07月01日 阅读:2840 次

1.修改密码提示报错

Error: The user of this service-type is not allowed to use a reversible encryption algorithm.

此条报错翻译如下:

错误:该服务类型的用户不允许使用可逆转的加密算法

分析报错内容,指的不是当前huawei账号不能修改密码,是说当前登录的账号的登录模式不允许进行修改密码操作。

根据分析结果做以下配置:

[LSW-S5700-1]user-interface co
[LSW-S5700-1]user-interface console 0
[LSW-S5700-1-ui-console0]undo authentication-mode

删除con下认证模式,因当前登录con口使用了密码加密的huawei账号,所以退出当前设备,重新使用为未认证的con直接登录设备。

重新在AAA下修改huawei账号的密码。

[LSW-S5700-1-aaa]local-user huawei password cipher Xxxxxx@1234
[LSW-S5700-1-aaa]

回显显示命令生效,不再报错,问题解决。

2.

告警信息

Error: The user of this service-type is not allowed to use a reversible encryption algorithm.

处理过程

采用irreversible-cipher不可逆的加密算法对密码就行加密

[LSW-S5700-1]aaa

[LSW-S5700-1-aaa] local-user huawei password irreversible-cipher ****

根因

在V200R007版本之后,管理员用户必须使用不可逆算法来修改密码,故用cipher时会报错。


Tag:
相关文章

发表评论: