How do I force an online user to go offline

You can run the free user-interface { ui-number | ui-type ui-number1 } command to remove a user from a specified user interface, that is, disconnect the user from the device.


This command does not take effect for the current user. For example, if the user interface of the current user is VTY 2, the free user-interface vty 2 command does not take effect and the system displays an error message.

<Huawei> free user-interface 0
Warning: User interface Console1 will be freed. Continue? [Y/N]:y

Scroll to top