H3C S7500E Series Ethernet Switches Operation Manual

Operation Manual – QoS
H3C S7500E Series Ethernet Switches Chapter 3 QoS Policy Configuration
3-4
Form Description
service-vlan-id
vlan-id-list
Specifies to match the packets of the VLANs of the operator’s
network. The vlan-id-list argument is a list of VLAN IDs, in the
form of vlan-id to vlan-id or multiple discontinuous VLAN IDs
(separated by space). You can specify up to eight VLAN IDs
for this argument at a time. VLAN ID is in the range of 1 to
4094.
In a class configured with the operator and, the logical
relationship between the service VLAN IDs specified for the
service-vlan-id keyword is or.
source-mac
mac-address
Specifies to match the packets with a specified source MAC
address.
Note:
Suppose the logical relationship between classification rules is and. Note the following
when using the if-match command to define matching rules.
z If multiple matching rules with the acl or acl ipv6 keyword specified are defined in a
class, the actual logical relationship between these rules is or when the policy is
applied.
z If multiple matching rules with the customer-vlan-id or service-vlan-id keyword
specified are defined in a class, the actual logical relationship between these rules is
or.
II. Configuration example
1) Network requirements
Configure a class named test to match the packets with their IP precedence being 6.
2) Configuration procedure
# Enter system view.
<Sysname> system-view
# Create the class. (This operation leads you to class view.)
[Sysname] traffic classifier test
# Define the classification rule.
[Sysname-classifier-test] if-match ip-precedence 6
3.2.3 Defining a Traffic Behavior
To define a traffic behavior, you need to create a traffic behavior and then configure
attributes for it in traffic behavior view.