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.
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. |
- |
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.<HUAWEI> reset qos-profile statistics interface GigabitEthernet 0/1/0.1 vlan 1 outbound
<HUAWEI> reset qos-profile statistics interface GigabitEthernet 0/1/0 outbound
<HUAWEI> reset qos-profile statistics vni 8 inbound