The kill user-interface command disconnects a user from a user interface.
The kill user-interface command can only be executed by users at level 3 or higher. These users can clear any other users.
Parameter | Description | Value |
---|---|---|
ui-number |
Specifies the absolute number of a user interface. |
The value is an integer ranging from 0 to 54 and 67 to 83. The value varies according to the device type. |
ui-type |
Specifies the type of a user interface. |
The value can be console or VTY. |
ui-number1 |
Specifies the relative number of a specified user interface. |
The minimum value is 0. The maximum value is the number of user interfaces that the system supports minus 1. |
Usage Scenario
If a login user does not perform any operation for a long time or needs to be prohibited from configuring the device, run the kill user-interface command to disconnect the user from the user interface. The device then logs out the user.
Precautions
The kill user-interface command does not take effect for the current user interface. For example, if the current user interface is VTY 2, the kill user-interface vty 2 command does not take effect, and an error message is displayed.
This command provides the same function as the free user-interface command.