< Home

reset traffic-user-queue statistics

Function

The reset traffic-user-queue statistics command clears traffic statistics on subscriber queues.

Format

reset traffic-user-queue statistics interface interface-type interface-number outbound acl { bas-acl | adv-acl } [ acl { l2-acl | name acl-name } ]

reset traffic-user-queue statistics interface interface-type interface-number outbound acl l2-acl [ acl { bas-acl | adv-acl | name acl-name } ]

reset traffic-user-queue statistics interface interface-type interface-number outbound acl name acl-name [ acl { bas-acl | adv-acl | l2-acl | name acl-name } ]

reset traffic-user-queue statistics interface interface-type interface-number outbound acl ipv6 { bas-acl | adv-acl | name acl-name }

Parameters

Parameter

Description

Value

interface interface-type interface-number

Clears traffic statistics on subscriber queues on a specified interface.

  • interface-type specifies the interface type.

  • interface-number specifies the interface number.

-

outbound

Clears traffic statistics on subscriber queues in the outbound direction on an interface.

-

acl

Clears traffic statistics on subscriber queues based on IPv4 ACLs.

-

ipv6

Clears traffic statistics on subscriber queues based on IPv6 ACLs.

-

bas-acl

Clears traffic statistics on subscriber queues based on basic ACLs.

The value is an integer that ranges from 2000 to 2999.

adv-acl

Clears traffic statistics on subscriber queues based on advanced ACLs.

The value is an integer that ranges from 3000 to 3999.

l2-acl

Clears traffic statistics on subscriber queues based on Layer 2 ACLs.

The value is an integer that ranges from 4000 to 4999.

name acl-name

Clears traffic statistics on subscriber queues based on named ACLs. acl-name specifies the name of the ACL.

The value must be the name of an existing ACL.

Views

User view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Before re-collecting traffic statistics on subscriber queues in a given period of time, run this command to clear existing traffic statistics on subscriber queues.

Precautions

The cleared traffic statistics on subscriber queues cannot be restored. Exercise caution when you run this command.

Example

# Clear traffic statistics on subscriber queues based on ACL 3009 in the outbound direction on GE0/0/1.

<HUAWEI> system-view
[HUAWEI] acl 3009
[HUAWEI-acl-adv-3009] rule 1 permit ip
[HUAWEI-acl-adv-3009] quit
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] traffic-user-queue outbound acl 3009 pir 2000
[HUAWEI-GigabitEthernet0/0/1] return
<HUAWEI> reset traffic-user-queue statistics interface gigabitethernet 0/0/1 outbound acl 3009 
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >