The display traffic classifier command displays the configurations of the traffic classifier.
Parameter | Description | Value |
---|---|---|
system-defined |
Displays information about the traffic classifier that is defined by the system. |
- |
user-defined |
Displays the traffic classifier that is defined by users. |
- |
classifier-name |
Specifies the name of a traffic classifier. It is defined through the traffic classifier command. |
The value is a string of 1 to 127 case-sensitive characters. |
Usage Scenario
You can run the display traffic classifier command to view the configurations of the traffic classifier, such as the matching rules and logic relationships between matching rules.
Precautions
When the traffic classifier name is not specified, all the system-defined or the user-defined traffic classifiers are displayed. The display traffic classifier command displays the following information:
Name of a traffic classifier
Matching rules
Relationships between matching rules
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display traffic classifier user-defined
User Defined Classifier Information:
Total: 65535 Created: 2 Free: 65533
Classifier: database
Description: database classifier
Operator: or
Rule(s) :
if-match acl 3000 precedence 1
Classifier: huawei
Description: huawei classifier
Operator: and
Rule(s) :
if-match ip-precedence 3
Item | Description |
---|---|
User Defined Classifier Information | Indicates the information about the user-defined traffic classifier. |
Classifier | Indicates the name of the traffic classifier. |
Rule(s) | Indicates the rules for traffic classification. |
Description | Describes the usage of a traffic classifier. |
Operator | Indicates the logical relationship between the rules. |
Total | Indicates the total number of traffic classes that can be configured. |
Free | Indicates the number of traffic classes that is free to configure. |
Created | Indicates the number of traffic classes that has been configured. |