reset qos-profile statistics

Function

The reset qos-profile statistics command clears the statistics about the QoS profile on a specified interface.

The reset qos-profile statistics command deletes statistics about a QoS profile on a specified VNI.

Format

reset qos-profile statistics interface { interface-name | interface-type interface-number } [ vlan vlan-id | pe-vid pe-vid ce-vid ce-vid | vid vid | ce-vid ce-vid | vid vid ce-vid ce-vid ] { inbound | outbound }

reset qos-profile statistics vni vni-id { inbound | outbound }

Parameters

Parameter Description Value
vlan vlan-id

Clears the statistics about the QoS profile with the specified VLAN ID.

The value is an integer that ranges from 1 to 4094.

pe-vid pe-vid

Clears the statistics about the QoS profile with the specified PE VLAN ID.

The value is an integer that ranges from 1 to 4094.

ce-vid ce-vid

Specifies the CE VLAN ID whose QoS profile statistics are to be cleared.

The value is an integer that ranges from 1 to 4094.

vid vid

Clears the statistics about the QoS profile with the external VLAN ID.

The value is an integer that ranges from 1 to 4094.

inbound

Specifies the inbound direction of an interface.

-

outbound

Specifies the outbound direction of an interface.

-

vni vni-id

Specifies a VNI ID.

The value is an integer ranging from 1 to 16777215.

interface interface-name

Specifies the interface name.

-

interface interface-type

Specifies the interface type.

-

interface interface-number

Specifies the number of an interface in the form of slot number/card number/port number.

-

Views

User view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
qos read

Usage Guidelines

Usage Scenario

The reset qos-profile statistics command can be used to clear statistics in a QoS profile, such as HQoS queues, CAR, and Layer 2 suppression information.

To delete statistics about a QoS profile on a VNI, such as statistics about HQoS queues and CAR, run the reset qos-profile statistics command.

Precautions

To clear the statistics about the QoS profile on a layer-2 interface, you must specify the VLAN ID.

To clear the statistics about the QoS profile on a QinQ interface or a GE main interface that is encapsulated in Mapping mode, you must specify the PE VLAN ID and CE VLAN ID.

To clear the statistics about the QoS profile on an EVC interface, you must specify the external VLAN ID, internal VLAN ID or the internal and external VLAN ID.

Example

# Clear the statistics about the QoS profile whose VLAN ID is 1 for the outgoing traffic on GE 0/1/0.1.
<HUAWEI> reset qos-profile statistics interface GigabitEthernet 0/1/0.1 vlan 1 outbound
# Clear the statistics about the QoS profile for the outgoing traffic on GE 0/1/0.
<HUAWEI> reset qos-profile statistics interface GigabitEthernet 0/1/0 outbound
# Delete statistics about a QoS profile on a VNI.
<HUAWEI> reset qos-profile statistics vni 8 inbound
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >