< Home

reset access-user traffic-statistics

Function

The reset access-user traffic-statistics command clears statistics on traffic of users.

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.

Format

reset access-user traffic-statistics { user-id begin-id [ end-id ] | mac-address mac-address | ip-address ip-address [ vpn-instance vpn-instance ] }

Parameters

Parameter Description Value

user-id begin-id [ end-id ]

Specifies IDs of online users.

  • begin-id: indicates the ID of the start user.
  • end-id: indicates the ID of the end user. The value of end-id must be larger than that of begin-id.

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 the format of H-H-H, in which 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 name of a VPN instance that an online user belongs to.

The value must be an existing VPN instance name.

Views

User view

Default Level

3: Management level

Usage Guidelines

After traffic policing is configured in a service scheme, the device collects traffic statistics for the users assigned with the service scheme. You can run the reset access-user traffic-statistics command to clear traffic statistics of online users.

Example

# Clear statistics on traffic of the user with the IP address 10.1.1.1.

<HUAWEI> reset access-user traffic-statistics ip-address 10.1.1.1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >