< Home

user-manage cut online-user

Function

The user-manage cut online-user command forcibly logs out the specified online user.

Format

user-manage cut online-user { group group-name | user user-name | ipv4 ipv4-address | ipv6 ipv6-address }

Parameters

Parameter Description Value
group group-name Specifies the group path and group name. The value must be the name of an existing user group (with the group path).
user user-name Specifies the login name of an online user. The value must be the name of an existing user.
ipv4 ipv4-address Specifies the IPv4 address of an online user. The value is in dotted decimal notation.
ipv6 ipv6-address Specifies the IPv6 address of an online user. The value is in hexadecimal notation.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

After an online user is forcibly logged out, this online user needs to initiate an authentication request next time to access network resources.

If a user account is used to log in to the PCs at different addresses, forcibly logging out the user from a PC does not affect the network access from other PCs.

Example

# Log out user test forcibly.

<sysname> system-view
[sysname] user-manage cut online-user user test

# Log out all users in the /default group forcibly.

<sysname> system-view
[sysname] user-manage cut online-user group /default

# Log out the online user at 10.2.2.2 forcibly.

<sysname> system-view
[sysname] user-manage cut online-user ipv4 10.2.2.2
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >