No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Fat AP and Cloud AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
cut access-user

cut access-user

Function

The cut access-user command terminates one or multiple access user connections, also forcibly disconnecting online users.

Format

cut access-user { domain domain-name | ip-address ip-address | mac-address mac-address | service-scheme service-scheme-name | access-slot slot-id | ssid ssid-name | user-group group-number | user-id begin-number [ end-number ] | username user-name }

cut access-user access-type admin [ ftp | ssh | telnet | terminal | web ] [ username user-name ]

Parameters

Parameter

Description

Value

domain domain-name

Disconnects sessions in a specified domain.

The value must be the name of an existing domain.

ip-address ip-address

Disconnects sessions initiated by a specified IP address.

The value is in dotted decimal notation.

mac-address mac-address

Disconnects sessions initiated by a specified MAC address.

The value is in H-H-H format. An H contains 4 hexadecimal digits.

service-scheme service-scheme-name Terminates connections based on the service scheme. The value must be the name of an existing service scheme.

access-slot slot-id

Disconnects sessions on a specified LPU.

The value range depends on the model of the device.

ssid ssid-name

Disconnects sessions initiated by a service set identifier (SSID).

The SSID must already exist.

NOTE:

If the first character of the SSID name is empty, the entered SSID name must start with a quotation mark (") and end with a quotation mark ("), for example, " hello". The quotation marks at the beginning and end of the SSID name occupy two characters. If the first character of the SSID name is a quotation mark, enter the escape character (\) before the quotation mark, for example, \"hello. The escape character occupies one character.

user-group group-number

Disconnects sessions of a user-group.

The value is a string of 1 to 64 case-sensitive characters. It cannot contain spaces or the following symbols: / \ : * ? " < > | @ ' %. The value cannot be - or --.

user-id begin-number [ end-number ]

Disconnects sessions of a specified user.

The user-id must exist on the device.

username user-name

Disconnects sessions of a user with a specified user name.

The value must be the name of an existing user.

access-type

Displays information about the users using the specified authentication mode.

-

admin [ ftp | ssh | telnet | terminal | web ]

Displays information about the administrators using the specified authentication mode.

  • ftp: FTP user
  • ssh: SSH user
  • telnet: Telnet user
  • terminal: Terminal user
  • web: Web user

-

Views

AAA view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

Performing some configurations, such as AAA, on the device, requires that no users be online. You can run the cut access-user command to disconnect sessions.

Precautions

The cut access-user command interrupts all services of the user whose session is torn down.

If the character string of the user name contains spaces (for example, a b), you can run the display access-user username "a b" command to view online users.

If the character string of the user name contains spaces and quotation marks ("") simultaneously, you cannot use the user name to view online users. In this case, you can run the display access-user | include username command to view the user ID of the online user, and then run the display access-user user-id user-id command to view the user. Alternatively, you can run the cut access-user user-id user-id command to force the user to go offline.

Example

# Tear down the session initiated by the IP address 10.1.1.1.
<Huawei> system-view
[Huawei] aaa
[Huawei-aaa] cut access-user ip-address 10.1.1.1
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 203379

Downloads: 122

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next