2024年8月2日 11:33:21
This commit is contained in:
parent
13eb7ffb9b
commit
37c716d6ef
@ -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
|
||||
```
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user