< Home

user-interface maximum-vty

Function

The user-interface maximum-vty command configures the maximum number of login users.

The undo user-interface maximum-vty command restores the default maximum number of login users.

By default, the maximum number of Telnet and SSH users is 5.

Format

user-interface maximum-vty number

undo user-interface maximum-vty

Parameters

Parameter Description Value
number Specifies the maximum number of Telnet and SSH users. The value is an integer ranging from 0 to 15.

Views

System view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

To configure the maximum number of login users, run the user-interface maximum-vty command.

Precautions

  • If the maximum number that you set is smaller than the number of current online users, a device displays a configuration failure message.

  • The maximum number of login users set by the user-interface maximum-vty command is the total number of Telnet and SSH users.

  • If the maximum number of login users is set to 0, users are not allowed to log in to the device using Telnet or SSH.

Example

# Set the maximum number of Telnet users to 7.

<HUAWEI> system-view
[HUAWEI] user-interface maximum-vty 7
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >