< Home

display traffic classifier

Function

The display traffic classifier command displays the traffic classifier configuration on the device.

Format

display traffic classifier user-defined [ classifier-name ]

Parameters

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.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

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

If no traffic classifier is created, the system displays the following information after this command is executed:
Info: There is no classifier exists.
If the specified traffic classifier name is incorrect, the system displays the following information after this command is executed:
Info: The classifier does not exist.

Example

# 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 
Table 1 Description of the display traffic classifier user-defined command output

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.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >