H3C交换机密码策略

密码策略:

[switch] password-control enable  //开启密码策略

[switch] password-control aging 7   //7天有效

[switch] password-control length 10  //长度为10

[switch] password-control composition type-number 3 type-length 1  //密码复杂度(3个字符) 

[switch] password-control complexity user-name check //密码中不能包含用户名

[switch] password-control complexity same-character check  //禁止连续3个同样的字符

[switch] password-control alert-before-expire 1  //提前1天提示修改密码

[switch] undo password-control history en        //禁止记住历史密码

[switch] password-control login-attempt 5 ex lock-time 1  //密码输入错误5次后,锁定1分钟

原文地址:https://www.cnblogs.com/xzlive/p/13229273.html