display traffic policy
Function
The display traffic policy command displays the traffic policy configuration on the device.
Parameters
Parameter |
Description |
Value |
---|---|---|
user-defined |
Indicates the user-defined traffic policy. |
- |
policy-name |
Specifies the name of a traffic policy. If this parameter is not specified, the configuration of all traffic policies is displayed. |
The value is a string of 1 to 31 case-sensitive characters without spaces. |
classifier classifier-name |
Specifies the name of a traffic classifier. If the name of a traffic policy is specified but this parameter is not specified, only the traffic policy configuration is displayed. |
The value is a string of 1 to 31 case-sensitive characters without spaces. |
Usage Guidelines
Usage Scenario
The display traffic policy command displays the configuration of a specified traffic policy or all traffic policies. The command output helps you check the traffic policy configuration and locate faults.
Precautions
Info: There is no policy exists.
Error: The policy does not exist.
Example
<AC6605> display traffic policy user-defined p1 classifier c1
User Defined Traffic Policy Information:
Classifier: c1
Operator: OR
Behavior: b1
Committed Access Rate:
CIR 1000 (Kbps), PIR 2000 (Kbps), CBS 125000 (byte), PBS 250000 (byte)
Color Mode: color Blind
Conform Action: discard
Yellow Action: discard
Exceed Action: discard
statistic: enable
Item |
Description |
---|---|
Classifier |
Traffic classifier in a traffic policy. To create a traffic classifier, run the traffic classifier command. |
Operator |
Logical relationship between rules in the traffic classifier. To configure logical relationship between rules in the traffic classifier, run the traffic classifier command. |
Behavior |
Traffic behavior bound to the traffic classifier. To create a traffic behavior, run the traffic behavior command. |
statistic |
Whether the traffic statistics function is enabled. To enable the traffic statistics function, run the statistic enable (traffic behavior view) command. |
Committed Access Rate |
CAR. To configure CAR, run the car (traffic behavior view) command. |
CIR 1000 (Kbps), PIR 2000 (Kbps), CBS 125000 (byte), PBS 250000 (byte) |
Parameters in the QoS CAR profile, including the CIR, PIR, CBS, and PBS. To configure CAR parameters, run the car (traffic behavior view) command. |
Color Mode |
Color mode, which can be color-aware or color-blind. To configure a color mode, run the car (traffic behavior view) command. |
Conform Action |
Action taken for the packets within the CIR. To configure an action taken for the packets within the CIR, run the car (traffic behavior view) command. |
Yellow Action |
Action taken for yellow packets. To configure an action taken for yellow packets, run the car (traffic behavior view) command. |
Exceed Action |
Action taken for the packets whose rate exceeds the CIR. To configure an action taken for the packets whose rate exceeds the CIR, run the car (traffic behavior view) command. |