华为交换机路由器提升用户15级权限出错。

2024-02-16 16:04:09

华为交换机路由器提升用户15级权限出错。

Error: The level should not higher than current user's.


undo terminal monitor------关闭调试/日志/告警信息在本终端的显示

Info: Current terminal monitor is off.

sys

Enter system view, return user view with Ctrl+Z.

[Huawei]aaa-----进入3a模式

[Huawei-aaa]local-user user10 password cipher 123 -----新建user10用户 密文密码为123

Info: Add a new user.

[Huawei-aaa]local-user user10 privilege level 15-----设置user10权限为15级

Error: The level should not higher than current user's.---(错误: 级别不应高于当前用户的。)


Error: The level should not higher than current user's.

(错误: 级别不应高于当前用户的。)

分析:因为console的权限太低,默认进入系统是level 3.

需要把console 权限改成level 15级

操作如下:


sys

Enter system view, return user view with Ctrl+Z.

[Huawei]user-interface console 0

[Huawei-ui-console0]user privilege level 15

[Huawei-ui-console0]q

[Huawei]q

q



重新登入查看 console 0(命令:dis user-interface)