ensp查看历史配置命令_华为eNSP中交换机命令行简单介绍

华为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]:

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值