本地登录

本地管理:

  1.1 密码登录

<Huawei>system-view         //进入系统视图
Enter system view, return user view with Ctrl+Z.    
[Huawei]sysname AR1    //设备命名
[AR1]user-interface console 0      //进入本地管理Console配置口
[AR1-ui-console0]authentication-mode password      //设置密码登录模式
Please configure the login password (maximum length 16):huawei@123    //设置密码
[AR1-ui-console0]user privilege level 3    //设置用户等级

测试:
<AR1>q
  Configuration console exit, please press any key to log on
Login authentication
Password:huawei@123        //密码不会回显  
<AR1>
[AR1-ui-console0]set authentication password cipher huawei  //重设密码

  1.2  用户密码登录

[AR1]aaa    //进入aaa视图
[AR1-aaa]local-user tieniu password cipher tieniu  //创建用户密码
Info: Add a new user.    
[AR1-aaa]local-user tieniu privilege level 3    //设置用户登录等级,不同等级权限不同
[AR1]user-interface console 0         
[AR1-ui-console0]authentication-mode aaa   

 

posted @ 2023-09-27 22:42  DickensCC  阅读(29)  评论(0)    收藏  举报