35
QoS policy configuration commands
NOTE:
The Layer 3 Ethernet interface in this chapter refers to the Ethernet port that can perform IP routing and
inter-VLAN routing. You can set an Ethernet port as a Layer 3 Ethernet interface by using the
port
link-mode
route
command (see the
Layer 2—LAN Switching Configuration Guide).
Class configuration commands
display traffic classifier
Syntax
display traffic classifier
user-defined
[
tcl-name
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
View
Any view
Default level
1: Monitor level
Parameters
user-defined
: Displays user-defined classes.
tcl-name
: Class name, a string of 1 to 31 characters.
|
: Filters command output by specifying a regular expression. For more information about regular
expressions, see the
Fundamentals Configuration Guide
.
begin
: Displays the first line that matches the specified regular expression and all lines that follow.
exclude
: Displays all lines that do not match the specified regular expression.
include
: Displays all lines that match the specified regular expression.
regular-expression
: Specifies a regular expression, which is a case sensitive string of 1 to 256 characters.
Description
Use the
display traffic classifier
command to display class information.
If no class name is specified, the command displays information about all user-defined classes.
Examples
# Display information about all user-defined classes.
<Sysname> display traffic classifier user-defined
User Defined Classifier Information:
Classifier: USER1
Operator: AND
Rule(s) : if-match ip-precedence 5