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.
Parameter | Description | Value |
---|---|---|
number | Specifies the maximum number of Telnet and SSH users. | The value is an integer ranging from 0 to 15. |
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.