2024年8月2日 11:33:21

This commit is contained in:
Noriu 2024-08-02 11:33:20 +08:00
parent 13eb7ffb9b
commit 37c716d6ef

View File

@ -48,7 +48,7 @@
1. <Huawei>display version查看版本信息
2. <Huawei>display current-configuration查看华为网络设备的当前配置
2. <Huawei>display current-configuration查看华为网络设备的当前配置简写dis cu
- 回车翻行,空格翻页
@ -60,7 +60,7 @@
4. sysname更改设备名称需要在用户视图save保存
> [Huawei]sysname SW1 //修改设备名为SW1
> [Huawei]sysname SW1 //修改设备名为SW1简写sy SW1
>
> [SW1]display this //查看当前视图有效配置
@ -86,10 +86,9 @@
```
<Huawei>sy
[Huawei]user-interface console 0
[Huawei-ui-console0]user-interface console 0
[Huawei-ui-console0]authentication-mode password
[Huawei-ui-console0]set authentication password cipher 123456 //设置加密密码
[Huawei]user-interface console 0 //简写user-in co 0
[Huawei-ui-console0]authentication-mode password //简写auth p
[Huawei-ui-console0]set authentication password cipher 123456 //设置加密密码简写set a p c 123456
[Huawei-ui-console0]display this
#
user-interface con 0
@ -104,7 +103,6 @@
```
<Huawei>sy
[Huawei]user-interface console 0
[Huawei-ui-console0]user-interface console 0
[Huawei-ui-console0]authentication-mode password
[Huawei-ui-console0]set authentication password simple 123456 //设置明文密码
[Huawei-ui-console0]display this
@ -119,38 +117,42 @@
8. 设置交换机闲置会话时间
- [Huawei-ui-console0]idle-timeout 1 //设置闲置会话时间为1分钟
- [Huawei-ui-console0]idle-timeout 0 //永不超时
- [Huawei-ui-console0]idle-timeout 1440 //设置闲置会话时间为24小时简写i 1440
> 默认闲置会话时间10分钟
```
<Huawei>sy
[Huawei]user-interface console 0
[Huawei-ui-console0]authentication-mode password
[Huawei-ui-console0]set authentication password cipher 123456
[Huawei-ui-console0]idle-timeout 1 //设置闲置会话时间为1分钟
[Huawei-ui-console0]idle-timeout 0 //永不超时
```
9. 关闭终端提示
> <Huawei>undo terminal monitor //缩写:<Huawei>u t m
> <Huawei>undo terminal monitor //缩写u t m
10. 恢复出厂默认设置
> <Huawei>reset saved-configuration
> <Huawei>reset saved-configuration //简写res sa
```
<S1>reset saved-configuration
<S1>reset saved-configuration //恢复出厂设置
Warning: The action will delete the saved configuration in the device.
The configuration will be erased to reconfigure. Continue? [Y/N]:y
The configuration will be erased to reconfigure. Continue? [Y/N]:y //是否要恢复出厂设置选择Y
Warning: Now clearing the configuration in the device.
Info: Succeeded in clearing the configuration in the device.
<S1>reboot
<S1>reboot //重启
Info: The system is now comparing the configuration, please wait.
Warning: All the configuration will be saved to the configuration file for the n
ext startup:, Continue?[Y/N]:n
ext startup:, Continue?[Y/N]:n //提示是否保存当前配置选择N
Info: If want to reboot with saving diagnostic information, input 'N' and then e
xecute 'reboot save diagnostic-information'.
System will reboot! Continue?[Y/N]:y
System will reboot! Continue?[Y/N]:y //是否重启选择Y
```