The display traffic classifier command displays the traffic classifier configuration on the device.
Parameter |
Description |
Value |
---|---|---|
user-defined [ classifier-name ] |
Displays the configuration of a specified traffic classifier. If the name of a traffic classifier is not specified, the configuration of all traffic classifiers is displayed. |
The value must be the name of an existing traffic classifier. |
Usage Scenario
The display traffic classifier command displays the configuration of a specified traffic classifier or all traffic classifiers. The command output helps you check the traffic classifier configuration and locate faults.
Precautions
Info: There is no classifier exists.
Info: The classifier does not exist.
# Display the configuration of all traffic classifiers on the device.
<HUAWEI> display traffic classifier user-defined User Defined Classifier Information: Classifier: c1 Operator: AND Rule(s) : if-match vlan-id 120 Classifier: c2 Operator: AND Rule(s) : if-match vlan-id 110 Classifier: c3 Operator: AND Rule(s) : if-match vlan-id 100 Total classifier number is 3
Item |
Description |
---|---|
Classifier |
Traffic classifier name. To create a traffic classifier, run the traffic classifier command. |
Operator |
Relationship between rules in the traffic classifier. To configure the relationship between rules in a traffic classifier, run the traffic classifier command. |
Rule(s) |
Rule in a traffic classifier. |
Total classifier number is |
Total number of created traffic classifiers. |