reset user-queue statistics

Function

The reset user-queue statistics command clears the statistics about SQs on a specified interface.

Format

reset user-queue statistics interface { interface-name | interface-type interface-number } { inbound | outbound } [ [ policy policy-name ] classifier classifier-name ]

reset user-queue statistics interface { interface-name | interface-type interface-number } { pe-vid pe-vid ce-vid ce-vid | vlan vlan-id } { inbound | outbound } [ policy policy-name ] classifier classifier-name

reset user-queue statistics bridge-domain bd-id { inbound | outbound } [ policy policy-name ] classifier classifier-name

Parameters

Parameter Description Value
interface-name

Specifies the name of an interface.

-

inbound

Specifies the inbound direction.

-

outbound

Specifies the outbound direction.

-

policy policy-name

Specifies the name of a traffic policy.

The value is a string of 1 to 127 case-sensitive characters.

classifier classifier-name

Specifies the name of a traffic classier.

The value is a string of 1 to 127 case-sensitive characters.

interface interface-type interface-number

Specifies the type and number of an interface. An interface number consists of a slot number, card number, and port number.

-

pe-vid pe-vid

Specifies to clear statistics about user queues in a specified QinQ group.

The value is an integer in the range 1 to 4094.

ce-vid ce-vid

Specifies to clear statistics about user queues in a specified QinQ group.

The value is an integer in the range 1 to 4094.

bridge-domain bd-id

Specifies the id of bridge domain.

The value is an integer ranging from 1 to 16777215.

Views

User view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
qos read

Usage Guidelines

Usage Scenario

SQs can be configured on a sub-interface; therefore, the reset user-queue statistics command can clear the statistics about SQs on either a physical interface or a sub-interface.

After you run this command, values of all statistic items become 0.

If the user queue statistics is cleared in an interface by this command, the class queue statistics reduce as well.

Example

# Clear the statistics about the downstream SQs on GigabitEthernet 0/1/0.
<HUAWEI> reset user-queue statistics interface GigabitEthernet 0/1/0 outbound
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >