R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101
228
Defining a criterion to match 802.1p priority values of the customer network
• You can configure multiple 802.1p priority match criteria for a class. All the defined 802.1p values
are automatically arranged in ascending order.
• You can configure up to eight 802.1p priority values in one command line. If the same 802.1p
priority value is specified multiple times, the system considers them as one. If a packet matches one
of the defined 802.1p priority values, it matches the if-match clause.
• To delete a criterion that matches 802.1p priority values, the specified 802.1p priority values in the
command must be identical with those defined in the criterion (the sequence may be different).
Defining a criterion to match IP precedence values
• You can configure multiple IP precedence match criteria for a class. The defined IP precedence
values are automatically arranged in ascending order.
• You can configure up to eight IP precedence values in one command line. If the same IP precedence
is specified multiple times, the system considers them as one. If a packet matches one of the defined
IP precedence values, it matches the if-match clause.
• To delete a criterion that matches IP precedence values, the specified IP precedence values in the
command must be identical with those defined in the criterion (the sequence may be different).
Related commands: traffic classifier.
Examples
# Define a match criterion for class class1 to match the packets with the destination MAC address
0050-ba27-bed3.
<Sysname> system-view
[Sysname] traffic classifier class1
[Sysname-classifier-class1] if-match destination-mac 0050-ba27-bed3
# Define a match criterion for class class2 to match the packets with the source MAC address
0050-ba27-bed2.
<Sysname> system-view
[Sysname] traffic classifier class2
[Sysname-classifier-class2] if-match source-mac 0050-ba27-bed2
# Define a match criterion for class class1 to match the packets with the customer network 802.1p priority
value 3.
<Sysname> system-view
[Sysname] traffic classifier class1
[Sysname-classifier-class1] if-match customer-dot1p 3
# Define a match criterion for class class1 to match ACL 3101.
<Sysname> system-view
[Sysname] traffic classifier class1
[Sysname-classifier-class1] if-match acl 3101
# Define a match criterion for class class1 to match the ACL named flow.
<Sysname> system-view
[Sysname] traffic classifier class1
[Sysname-classifier-class1] if-match acl name flow
# Define a match criterion for class class1 to match IPv6 ACL 3101.
<Sysname> system-view
[Sysname] traffic classifier class1