最近小魏在telnet远程登录华为交换机的时候老是提示更改密码,弹出提示- Warning: The initial password poses security risks,这个是因为华为的安全策略导致的,那么我们只需要进入aaa中,删除local-aaa-user password policy administratorr这条即可,接下来小魏简单分享具体操作过程。
错误提示代码如下“
Warning: The initial password poses security risks.
The password needs to be changed. Change now? [Y/N]:
Info: The max number of VTY users is 10, and the number
of current VTY users on line is 1.
The current login time is 2020-12-06 16:54:45+00:00.”
如果你输入“N”然后回车,那么下次登陆设备依然会提示更改密码,比较烦人,那么我们直接删除密码保护安全提示即可。
说白了就是进入system-view的系统视图之后进入aaa,然后执行undo local-aaa-user password policy administratorr 命令去使能本地管理员的密码策略功能