修改Console口登录密码

1、以登录用户界面的认证方式为密码认证,密码为Huawei@123为例,配置如下
 
<HUAWEI> system-view
 
[HUAWEI] user-interface console 0
 
[HUAWEI-ui-console0] authentication-mode password
 
[HUAWEI-ui-console0] set authentication password cipher Huawei@123
 
[HUAWEI-ui-console0] return
 
<HUAWEI> save
 
2、以登录用户界面的认证方式为AAA认证,用户名为admin123,密码为Huawei@123为例,配置如下:
 
<HUAWEI> system-view
 
[HUAWEI] user-interface console 0
 
[HUAWEI-ui-console0] authentication-mode aaa
 
[HUAWEI-ui-console0] quit
 
[HUAWEI] aaa
 
[HUAWEI-aaa] local-user admin123 password irreversible-cipher Huawei@123
 
[HUAWEI-aaa] local-user admin123 service-type terminal
 
[HUAWEI-aaa] return
 
<HUAWEI> save

如需转载,请注明文章出处和来源网址:http://www.divcss5.com/html/h64898.shtml

张贴在3