
型号HUAWEI (NE40E-X8)aaa local-user 用户名 password irreversible-cipher 密码 ##采用irreversible-cipher不可逆的加密算法对密码进行加密 local-user 用户名 level 15 local-user 用户名 service-type ssh local-user 用户名 state block fail-times 5 interval 10 输错5次锁10分钟 ssh user 用户名 ssh user 用户名 authentication-type password ssh user 用户名 service-type stelnet stelnet ipv4 server enable commit ##华为设备中commit命令用于提交配置。在两阶段生效模式中如果用户进行了配置修改但未提交时系统提示符中的~”将变为提示用户有未提交的配置。当用户通过commit完成配置提交后重新变为“~”型号中兴 (M6000)!system-user enable secret level 18 5 密码 ###enable 密码 system-user authentication-template 1 bind aaa-authentication-template 2001 $ user-authen-restriction fail-time 5 lock-minute 10 输错5次锁10min user-name 用户名 bind authentication-template 1 password encrypted 密码 $ !aaa aaa-authentication-template 2001 aaa-authentication-type local $ !/aaa-------------------------------------------------------------------------------------------型号H3C (msr3640)aaa local-user 用户名 class manage password cipher 密码 service-type terminal authentication-attribute user-role level-15 authentication-attribute user-role network-operator ssh server enable ssh user 用户名 service-type stelnet authentication-type password---------------------------------------------------------------------------------------------------------------------------型号迈普 NSR7300Xenable conf t enable password 0 密码 local-user 用户名 class manager service-type ssh privilege 15 password 0 密码 exit domain system aaa authentication login local aaa authorization login local exit ip ssh server line vty 0 15 login aaa exit //保存 end wr yes