HPE FlexNetwork HSR6800 series Command Reference Manual page 44

Comware 7 acl and qos
Hide thumbs Also See for FlexNetwork HSR6800 series:
Table of Contents

Advertisement

802.1p priority.
DSCP.
IP precedence.
Local precedence.
MPLS EXP.
If a packet matches one of the specified values, it matches the if-match command.
To delete a criterion that has multiple values, the specified values in the undo if-match
command must be identical with those specified in the if-match command. The order of the
values can be different.
When you configure the MPLS EXP match criterion, follow these additional restrictions and
guidelines:
The MPLS EXP match criterion takes effect only on MPLS packets.
For routers that forward packets in software, MPLS packets do not support IP-related match
criteria.
Examples
# Define a match criterion for traffic class class1 to match the packets with a destination MAC
address of 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 traffic class class2 to match the packets with a source MAC address of
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 traffic class class1 to match the double-tagged packets with 802.1p
priority 3 in the inner VLAN tag.
<Sysname> system-view
[Sysname] traffic classifier class1
[Sysname-classifier-class1] if-match customer-dot1p 3
# Define a match criterion for traffic class class1 to match the advanced ACL 3101.
<Sysname> system-view
[Sysname] traffic classifier class1
[Sysname-classifier-class1] if-match acl 3101
# Define a match criterion for traffic 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 traffic class class1 to match the advanced IPv6 ACL 3101.
<Sysname> system-view
[Sysname] traffic classifier class1
[Sysname-classifier-class1] if-match acl ipv6 3101
# Define a match criterion for traffic class class1 to match the IPv6 ACL named flow.
<Sysname> system-view
[Sysname] traffic classifier class1
[Sysname-classifier-class1] if-match acl ipv6 name flow
39

Advertisement

Table of Contents
loading

Table of Contents