The reset access-user traffic-statistics command clears statistics on traffic of online users in a user group.
Only the S5720-EI, S5720-HI, S5730-HI, S5731-H,?S5731S-H, S5731-S, S5731S-S, S6720-HI, S5732-H, S6730-H, S6730S-H, S6730-S, S6730S-S, S6720-EI, and S6720S-EI support this command.
reset access-user traffic-statistics { user-id begin-id [ end-id ] | mac-address mac-address | ip-address ip-address [ vpn-instance vpn-instance ] }
Parameter | Description | Value |
---|---|---|
user-id begin-id [ end-id ] |
Specifies IDs of online users.
To view IDs of online users, run the display access-user command. |
The value is an integer that varies depending on the product model. |
mac-address mac-address |
Specifies the MAC address of an online user. |
The value is in H-H-H format. An H is a hexadecimal number of 1 to 4 digits. |
ip-address ip-address |
Specifies the IP address of an online user. |
The value is in dotted decimal notation. |
vpn-instance vpn-instance |
Specifies the VPN instance that an online user belongs to. |
The value must be an existing VPN instance name. |
After traffic control is configured for users in a user group using the car command, the device collects statistics on traffic of each user in the user group. You can run the reset access-user traffic-statistics command to clear statistics on traffic of online users in a user group.
After you run the reset access-user traffic-statistics command to clear traffic statistics, the cleared user traffic statistics are not included in the accounting packets sent by the device to the accounting server.