2024年8月2日 11:37:59
This commit is contained in:
parent
37c716d6ef
commit
6ba9509243
@ -85,7 +85,7 @@
|
|||||||
eg. 加密密码
|
eg. 加密密码
|
||||||
|
|
||||||
```
|
```
|
||||||
<Huawei>sy
|
<Huawei>system-view
|
||||||
[Huawei]user-interface console 0 //简写:user-in co 0
|
[Huawei]user-interface console 0 //简写:user-in co 0
|
||||||
[Huawei-ui-console0]authentication-mode password //简写:auth p
|
[Huawei-ui-console0]authentication-mode password //简写:auth p
|
||||||
[Huawei-ui-console0]set authentication password cipher 123456 //设置加密密码,简写:set a p c 123456
|
[Huawei-ui-console0]set authentication password cipher 123456 //设置加密密码,简写:set a p c 123456
|
||||||
@ -96,15 +96,21 @@
|
|||||||
set authentication password cipher 8s~f3m^nI@EBi%T]n/.IF3G#
|
set authentication password cipher 8s~f3m^nI@EBi%T]n/.IF3G#
|
||||||
user-interface vty 0 4
|
user-interface vty 0 4
|
||||||
#
|
#
|
||||||
|
|
||||||
|
简写:
|
||||||
|
<Huawei>sy
|
||||||
|
[Huawei]user-in co 0
|
||||||
|
[Huawei-ui-console0]auth p
|
||||||
|
[Huawei-ui-console0]set a p c 123456
|
||||||
```
|
```
|
||||||
|
|
||||||
eg. 明文密码
|
eg. 明文密码
|
||||||
|
|
||||||
```
|
```
|
||||||
<Huawei>sy
|
<Huawei>system-view
|
||||||
[Huawei]user-interface console 0
|
[Huawei]user-interface console 0 //简写:user-in co 0
|
||||||
[Huawei-ui-console0]authentication-mode password
|
[Huawei-ui-console0]authentication-mode password //简写:auth p
|
||||||
[Huawei-ui-console0]set authentication password simple 123456 //设置明文密码
|
[Huawei-ui-console0]set authentication password simple 123456 //设置明文密码,简写:set a p s 123456
|
||||||
[Huawei-ui-console0]display this
|
[Huawei-ui-console0]display this
|
||||||
#
|
#
|
||||||
user-interface con 0
|
user-interface con 0
|
||||||
@ -112,6 +118,12 @@
|
|||||||
set authentication password simple 123456
|
set authentication password simple 123456
|
||||||
user-interface vty 0 4
|
user-interface vty 0 4
|
||||||
#
|
#
|
||||||
|
|
||||||
|
简写:
|
||||||
|
<Huawei>sy
|
||||||
|
[Huawei]user-in co 0
|
||||||
|
[Huawei-ui-console0]auth p
|
||||||
|
[Huawei-ui-console0]set a p s 123456
|
||||||
```
|
```
|
||||||
|
|
||||||
8. 设置交换机闲置会话时间
|
8. 设置交换机闲置会话时间
|
||||||
@ -125,11 +137,18 @@
|
|||||||
> 默认闲置会话时间10分钟
|
> 默认闲置会话时间10分钟
|
||||||
|
|
||||||
```
|
```
|
||||||
<Huawei>sy
|
<Huawei>system-view
|
||||||
[Huawei]user-interface console 0
|
[Huawei]user-interface console 0
|
||||||
[Huawei-ui-console0]authentication-mode password
|
[Huawei-ui-console0]authentication-mode password
|
||||||
[Huawei-ui-console0]set authentication password cipher 123456
|
[Huawei-ui-console0]set authentication password cipher 123456
|
||||||
[Huawei-ui-console0]idle-timeout 1 //设置闲置会话时间为1分钟
|
[Huawei-ui-console0]idle-timeout 1440 //设置闲置会话时间为24小时
|
||||||
|
|
||||||
|
简写:
|
||||||
|
<Huawei>sy
|
||||||
|
[Huawei]user-in co 0
|
||||||
|
[Huawei-ui-console0]auth p
|
||||||
|
[Huawei-ui-console0]set a p c 123456
|
||||||
|
[Huawei-ui-console0]i 1440
|
||||||
```
|
```
|
||||||
|
|
||||||
9. 关闭终端提示
|
9. 关闭终端提示
|
||||||
|
Loading…
Reference in New Issue
Block a user