user-interface vty available-vty-threshold

Function

The user-interface vty available-vty-threshold command sets the alarm threshold for the number of VTY channels.

The undo user-interface vty available-vty-threshold command restores the default alarm threshold for the number of VTY channels.

By default,the alarm threshold for the number of VTY channels is 4.

Format

user-interface vty available-vty-threshold threshold-value

undo user-interface vty available-vty-threshold

Parameters

Parameter Description Value
threshold-value

Alarm threshold for the number of VTY channels.

The value is an integer that ranges from 0 to 21.

Views

System view

Default Level

2: Configuration level

3: Management level

Task Name and Operations

Task Name Operations
tty write

Usage Guidelines

When the number of available VTY connections is less than the configured VTY threshold, the device reports an alarm.

Example

# Set the alarm threshold for the number of VTY channels to 7.
<HUAWEI> system-view
[~HUAWEI] user-interface vty available-vty-threshold 7
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >