< Home

undo onlineuser

Function

The undo onlineuser command forces users to log out.

Format

undo onlineuser [ user-name { ldap | local | radius | cert-anonymous | ad | hwtacacs } ]

Parameters

Parameter Description Value
user-name Specifies a user name. If the user name does not contain any space, the length is 1 to 128 case-insensitive characters; if the user name contains spaces, the length is 3 to 130 case-insensitive characters and you must enclose the name with double quotation marks, for example, "user for test".
ad Indicates users in AD authentication mode. -
cert-anonymous Indicates users in certificate-anonymous authentication mode. -
ldap Indicates users in LDAP authentication mode. -
radius Indicates users in RADIUS authentication mode. -
local Indicates users in local authentication mode. -
hwtacacs Indicates users in HWTACACS authentication mode. -

Views

Virtual gateway basic view

Default Level

2: Configuration level

Usage Guidelines

None.

Example

# Log out user1 in local authentication mode.

<sysname> system-view
[sysname] v-gateway gateway
[sysname-gateway] basic
[sysname-gateway-basic] undo onlineuser user1 local
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >