The display access-user user-name-table statistics command displays statistics on users who access the network after the number of users is limited based on the user name.
Parameter |
Description |
Value |
---|---|---|
all | Displays statistics on all users. |
- |
username username | Displays statistics on users with a specified user name. |
The value is an existing user name. |
After the number of access users is limited based on the user name using the access-limit user-name max-num command, you can run the display access-user user-name-table statistics command to check related statistics including the maximum number of access users and IP and MAC addresses of access users.
Statistics about pre-connection users are not included in the statistics displayed in this command output.
# Display statistics on all users who access the network after the number of access users is limited based on the user name.
<HUAWEI> display access-user user-name-table statistics all
--------------------------------------------------------------------------------
Username Current num Access limit max num
--------------------------------------------------------------------------------
test@hw 8 8
--------------------------------------------------------------------------------
Total: 1, printed: 1
# Display detailed statistics on users with the user name test@hw who access the network after the number of access users is limited based on the user name.
<HUAWEI> display access-user user-name-table statistics username test@hw
Basic Info:
User name : test@hw
Current num : 8
Access limit max num : 8
Detail Info:
--------------------------------------------------------------------------------
UserID Username IP address MAC
--------------------------------------------------------------------------------
16016 test@hw 192.168.8.139 a4dc-bef1-0794
16017 test@hw 192.168.8.140 a4dc-bef1-0795
16018 test@hw 192.168.8.141 a4dc-bef1-0796
16019 test@hw 192.168.8.142 a4dc-bef1-0797
16020 test@hw 192.168.8.143 a4dc-bef1-0798
16021 test@hw 192.168.8.144 a4dc-bef1-0799
16022 test@hw 192.168.8.145 a4dc-bef1-079a
16023 test@hw 192.168.8.146 a4dc-bef1-079b
--------------------------------------------------------------------------------
Total: 8, printed: 8
Item |
Description |
---|---|
Basic Info | Basic information. |
User name or Username | User name. |
Current num | Number of current access users. |
Access limit max num | Maximum number of access users. |
Detail Info | Detailed information. |
UserID | User ID. |
IP address | User's IP address. |
MAC | User's MAC address. |
Total: m, printed: n | Total number (m) of entries and number (n) of displayed entries. |