华为S8016密码设定(新命令行)
1、在系统视图进入用户接口
[S8016]user-interface vty 0 4
2、设置登陆方式(共有四种方式)
[S8016-ui-vty0-4]authentication-mode ?
local Authentication use local users table(用户名/密码认证)
none Login without checking (不认证)
password Authentication use password of user terminal interface(通过密码认证)
scheme Authentication use AAA authorization authentication table
1)采用通过密码认证方式的配置
[S8016-ui-vty0-4]set authentication password ?
cipher Display the current password with cipher text加密方式
simple Display the current password with plain text非加密方式
[S8016-ui-vty0-4]set authentication password cipher huawei
2)采用通过用户名/密码认证方式的配置
[S8016]local-user 8016 service-type shell password simple Huawei
3、设置分级密码(必须要设置)
[S8016]super password level 1 cipher BHaE\``64J+<"T%M0S/LRA!!
[S8016]super password level 2 cipher 4SL&788TB_"Za8Z`*)[+71!!
[S8016]super password level 3 cipher :I1*+``*((^HF=JT-WW2L1!!
设置完分级密码类似于以前enable权限的切换(通过super命令切换)