<Huawei> //用户视图
<huawei> system-view
[ huawei ] //系统试图
[huawei]interface ethernet 0/0/1
[huawei-ethernet0/0/1] //接口视图
[huawei]ospf
[huawei-ospf-1] //协议视图
quit 或 return //返回上一层
ctrl+z //返回用户视图
1. 修改设备名:
1. [huawei]sysname HAHA
2. [HAHA]
2. 查看设备VRP版本:
1. <huawei>display version
3. 设备密码设置:
1. 使用密码登陆终端
1. <huawei>system-view
2. [huawei]user-interface console 0
3. [huawei-ui-console0]authentication-mode password
2. 使用账户和密码登录终端
1. [Huawei]aaa
2. [Huawei-aaa]local-user admin01 password cipher admin01
3. [Huawei-aaa]local-user admin01 service-type terminal
4. [Huawei-aaa]quit
5. [Huawei]user-interface console 0
6. [Huawei-ui-console0]authentication-mode aaa
转载于:https://blog.51cto.com/13555515/2060491