< Home

kill user-interface

Function

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.

Format

kill user-interface { ui-number | ui-type ui-number1 }

Parameters

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.

Views

User view

Default Level

3: Management level

Usage Guidelines

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.

Example

# Disconnect user VTY3 from the device.

<HUAWEI> kill user-interface vty 3
Warning: User interface VTY3 will be freed. Continue? [Y/N]:y
Info: User interface VTY3 is free.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >