display car statistics interface

Function

The display car statistics interface command displays the committed access rate (CAR) statistics on an interface.

Format

display 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 }

display 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

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

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

ce-vid ce-vid

Indicates the CE VLAN ID (internal tag value) of 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

Displays CAR statistics on an interface in the inbound direction.

-

outbound

Displays CAR statistics on an interface in the outbound direction.

-

interface interface-name

Specifies the interface name.

-

interface interface-type interface-number

Specifies the interface type and interface number.

-

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

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
qos read

Usage Guidelines

Usage Scenario

To check whether CAR takes effect, run the display car statistics interface command to check the CAR statistics on an interface.

Statistics on a Layer 3 interface include statistics on its sub-interfaces.

Precautions

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

This command displays only the statistics about CAR configured using the car, multicast-suppression, broadcast-suppression, and unknown-unicast-suppression commands.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the CAR statistics in the inbound direction with specified dscp.
<HUAWEI> display car statistics interface GigabitEthernet0/1/0.1 dscp 10 inbound
interface GigabitEthernet0/1/0
   inbound
     Committed Access Rate:
   CIR 20000(Kbps), PIR 0(Kbps), CBS 20000(byte), PBS 0(byte)
   Conform Action: pass
   Yellow Action: pass
   Exceed Action: discard
      Passed: 13079100 bytes, 130791 packets
      Dropped: 41236000 bytes, 412360 packets
      Last 30 seconds passed rate: 10210 bps, 102 pps
      Last 30 seconds dropped rate: 32190 bps, 321 pps
# Display the CAR statistics in the inbound direction.
<HUAWEI> display car statistics interface GigabitEthernet0/1/0 inbound
interface GigabitEthernet0/1/0
   inbound
     Committed Access Rate:
   CIR 20000(Kbps), PIR 0(Kbps), CBS 20000(byte), PBS 0(byte)
   Conform Action: pass
   Yellow Action: pass
   Exceed Action: discard
      Passed: 13079100 bytes, 130791 packets
      Dropped: 41236000 bytes, 412360 packets
      Last 30 seconds passed rate: 10210 bps, 102 pps
      Last 30 seconds dropped rate: 32190 bps, 321 pps
Table 1 Description of the display car statistics interface command output
Item Description
dscp 1

dscp value.

inbound

Inbound.

Committed Access Rate

Indicates the CAR.

Conform Action

Indicates the conformed actions.

Yellow Action

Indicates the action taken for yellow packets.

Exceed Action

Indicates the action taken for packets whose transmission rate exceeds the CAR.

Last 30 seconds passed rate

Indicates the rate of the packets passing in the last 30 seconds.

Last 30 seconds dropped rate

Indicates the rate of the packets dropped in the last 30 seconds.

Passed

Total number of passed packets from the time when the first packet is passed to the time when the command is executed, in packets and bytes, respectively.

Dropped

Total number of discarded packets from the time when the first packet is discarded to the time when this command is executed, in the unit of packets and bytes.

GigabitEthernet0/1/0

Interface name.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >