华为CE8865交换机, 版本信息如下:
云彬系统
bash
Huawei Versatile Routing Platform Software
YunShan OS, Version 1.24.0.1 (CE8800 V300R024C00SPC500)
Copyright (C) 2021-2024 Huawei Technologies Co., Ltd.
HUAWEI CE8865-4C uptime is 73 days, 5 hours, 15 minute
每次登录提示密码即将过期
bash
Warning: The password will expire in 17 days.
The password needs to be changed, Continue? [Y/N]:n
如何关闭密码过期
命令:
在aaa视图下进入 password policy界面, 配置密码过期为0
bash
aaa
local-aaa-user password policy administrator
password expire 0
默认选项为0-999天
即:最多为999天,如果设置0 , 表示永不过期
bash
[8865-aaa-lupp-admin]password expire ?
INTEGER<0-999> Set the days of password expire, the default is 90
不要忘记,最后要 commit才能生效