The display traffic policy user-defined command displays the user-defined traffic policy configuration.
Parameter |
Description |
Value |
---|---|---|
policy-name |
Displays the configuration of a specified user-defined traffic policy. If this parameter is not specified, the configuration of all user-defined traffic policies is displayed. |
The value must be the name of an existing traffic policy. |
classifier classifier-name |
Displays the configuration of a traffic behavior bound to a specified traffic classifier in a traffic policy. If this parameter is not specified, the traffic policy configuration is displayed. |
The value must be the name of an existing traffic classifier. |
Usage Scenario
The display traffic policy user-defined 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.
Info: The policy does not exist.
# Display the user-defined traffic policy configuration.
<HUAWEI> display traffic policy user-defined
User Defined Traffic Policy Information:
Policy: p1
Classifier: c1
Operator: AND
Behavior: tb1
Remark:
Remark 8021p 0
Committed Access Rate:
CIR 10000 (Kbps), CBS 1250000 (Byte)
PIR 10000 (Kbps), PBS 1250000 (Byte)
Green Action : pass
Yellow Action : pass
Red Action : discard
Total policy number is 1
Item |
Description |
---|---|
User Defined Traffic Policy Information |
User-defined traffic policy configuration. |
Policy |
Traffic policy name. To create a traffic policy, run the traffic policy command. |
Classifier |
Traffic classifier in a traffic policy. To create a traffic classifier, run the traffic classifier command. |
Operator |
Relationship between rules in the traffic classifier. To create a traffic classifier, run the traffic classifier command. |
Behavior |
Traffic behavior associated with the traffic classifier in the traffic policy. To create a traffic behavior, run the traffic behavior command. |
Committed Access Rate |
CAR. To configure the CAR, run the car (traffic behavior view) command. |
Green Action |
Action taken for green packets. To configure an action taken for green packets, 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. |
Red Action |
Action taken for red packets. To configure an action taken for red packets, run the car (traffic behavior view) command. |
Remark |
Re-marking action. To configure re-marking, run the remark command. |
Total policy number is |
Total number of created traffic policies. |