display qos car name

Use display qos car name to display the configuration and statistics for a global CAR action.

Syntax

display qos car name [ car-name ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

car-name: Specifies a global CAR action by its name, a case-sensitive string of 1 to 31 characters. The name must start with a letter. If you do not specify a global CAR action, this command displays the configuration and statistics for all global CAR actions, including aggregate CAR actions and hierarchical CAR actions.

Examples

# Display the configuration and statistics for all global CAR actions.

<Sysname> display qos car name
 Name: a
  Mode: aggregative
   CIR 128 (kbps), CBS 2048 (Bytes), PIR 256 (kbps), EBS 16384 (Bytes)
   Green action  : pass
   Yellow action : pass
   Red action    : discard
  Slot 0:
   Green packets : 0 (Packets), 0 (Bytes)
   Yellow packets: 0 (Packets), 0 (Bytes)
   Red packets   : 0 (Packets), 0 (Bytes)
  Slot 1:
   Green packets : 0 (Packets), 0 (Bytes)
   Yellow packets: 0 (Packets), 0 (Bytes)
   Red packets   : 0 (Packets), 0 (Bytes)
  Slot 2:
   Apply failed

 Name: b
  Mode: hierarchy
   CIR 256 (kbps), CBS: 4096 (Bytes), PIR: 512 (kbps), EBS 32256 (Bytes)
   Green action  : pass
   Yellow action : pass
   Red action    : discard
  Slot 0:
   Green packets : 0 (Packets), 0 (Bytes)
   Yellow packets: 0 (Packets), 0 (Bytes)
   Red packets   : 0 (Packets), 0 (Bytes)
  Slot 1:
   Apply failed
  Slot 2:
   Green packets : 0 (Packets), 0 (Bytes)
   Yellow packets: 0 (Packets), 0 (Bytes)
   Red packets   : 0 (Packets), 0 (Bytes)

Table 40: Command output

Field

Description

Name

Name of the global CAR action.

Mode

Type of the CAR action:

  • aggregative—Aggregate CAR.

  • hierarchy—Hierarchical CAR.

CIR CBS PIR EBS

Parameters for the CAR action.

Green action

Action to take on green packets:

  • discard—Drops the packets.

  • pass—Permits the packets to pass through.

Yellow action

Action to take on yellow packets:

  • discard—Drops the packets.

  • pass—Permits the packets to pass through.

Red action

Action to take on red packets:

  • discard—Drops the packets.

  • pass—Permits the packets to pass through.

Green packet

Statistics about green packets.

Yellow packet

Statistics about yellow packets.

Red packet

Statistics about red packets.