reset car statistics interface

Function

The reset car statistics interface command clears the CAR statistics on a specified interface.

Format

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

reset car statistics interface { interface-type interface-number | interface-name } { dscp dscpvalue | 8021p 8021pvalue } inbound

Parameters

Parameter Description Value
vlan vlan-id

Specifies a VLAN ID. You must specify a VLAN ID to view CAR statistics on a Layer 2 interface.

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

vid vid

Specifies the external VLAN ID of the cleared CAR statistic packets which pass through a special interface.

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

ce-vid ce-vid

Specifies the CE VLAN ID (internal tag value) of the cleared CAR statistic packets which pass through a special interface.

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

pe-vid pe-vid

Indicates the PE VLAN ID (external tag value) of CAR statistic packets which pass through a special interface.

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

inbound

Clears CAR statistics on an interface in the inbound direction.

-

outbound

Clears CAR statistics on an interface in the outbound direction.

-

interface interface-type interface-number

Specifies the type and number of an interface.

-

dscp dscpvalue

Specifies the DSCP value.

The value is an integer that ranges from 0 to 63 .

8021p 8021pvalue

Specifies the 8021p value.

The value is an integer that ranges from 0 to 7 .

Views

User view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
qos execute

Usage Guidelines

Usage Scenario

You can run this command to clear the CAR statistics on an interface.

If you consider at a moment that the previous CAR statistics on an interface to be useless or unreliable, run the reset car statistics interface command to reset the CAR statistics on the interface.

Precautions

You can clear the CAR statistics on the sub-interface of a Layer 3 interface.

You must specify a VLAN ID to reset CAR statistics on a Layer 2 interface.

Example

# Clear the CAR statistics in the inbound direction.
<HUAWEI> reset car statistics interface GigabitEthernet0/1/0 inbound
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >