华为eNSP简单介绍
1.华为交换机的命令行
用户视图
系统视图 [huawei]
system-view //从用户视图进入系统视图
接口视图
[Huawei]interface Ethernet 0/0/1
[Huawei-Ethernet0/0/1]
协议视图
2.视图间的转换
quit 返回上一视图
return/Ctrl+Z返回用户视图
3.配置交换机名称
system-view
[Huawei]sysname dqq
[dqq]
4.查看一些信息(在用户视图下)
display version
display current-configuration
5.为交换机设置简单密码
system-view
[dqq]user-interface console 0
[dqq-ui-console0]authentication-mode password
[dqq-ui-console0]set authentication password simple 123
[dqq-ui-console0]set authentication password cipher 456
6.使用用户名和密码登录(即:3A认证)
system-view
[dqq]user-interface console 0
[dqq-ui-console0]authentication-mode aaa
[dqq-ui-console0]aaa
[dqq-aaa]local-user qiqi password cipher 123
7.交换机的保存命令
save
8.重启交换机
reboot
9.恢复出厂设置
reset saved-configuration
Warning: The action will delete the saved configuration in the device.
The configuration will be erased to reconfigure. Continue? [Y/N]: