H3C S6550X-HI Series Command Reference Manual page 2160

Table of Contents

Advertisement

# Define a match criterion for traffic class class1 to match the packets with VLAN ID 2, 7, or 10 in the
outer VLAN tag.
<Sysname> system-view
[Sysname] traffic classifier class1 operator or
[Sysname-classifier-class1] if-match service-vlan-id 2 7 10
# Define a match criterion for traffic class class1 to match the packets of the application 3link.
<Sysname> system-view
[Sysname] traffic classifier class1
[Sysname-classifier-class1] if-match
traffic classifier
Use
traffic classifier
existing traffic class.
Use
undo traffic classifier
Syntax
traffic classifier classifier-name [ operator { and | or } ]
undo traffic classifier classifier-name
Default
No traffic classes exist.
Views
System view
Predefined user roles
network-admin
Parameters
classifier-name
characters.
: Sets the operator to logic AND (the default) or OR for the traffic class.
operator
: Specifies the logic AND operator. The traffic class matches the packets that match all its
and
criteria.
: Specifies the logic OR operator. The traffic class matches the packets that match any of its
or
criteria.
Examples
# Create a traffic class named class1.
<Sysname> system-view
[Sysname] traffic classifier class1
[Sysname-classifier-class1]
Related commands
display traffic classifier
application
to create a traffic class and enter its view, or enter the view of an
to delete a traffic class.
: Specifies a name for the traffic class, a case-sensitive string of 1 to 31
3link
6

Advertisement

Table of Contents
loading

Table of Contents