HP HSR6800 Command Reference Manual page 43

Acl and qos
Hide thumbs Also See for HSR6800:
Table of Contents

Advertisement

If a class that uses the AND operator has multiple if-match customer-vlan-id or if-match service-vlan-id
clauses, a packet that matches any of the clauses matches the class.
The match criteria listed below must be unique in a class that uses the AND operator. To ensure that the
class can be successfully applied to interfaces, avoid defining multiple if-match clauses for these match
criteria or inputting multiple values for any of the list arguments, such as the 8021p-list argument.
customer-dot1p 8021p-list
destination-mac mac-address
dscp dscp-list
ip-precedence ip-precedence-list
source-mac mac-address
To create multiple if-match clauses or specify multiple values for any of these list arguments, ensure that
the operator of the class is OR.
Usage guidelines
Defining an ACL-based match criterion
For a class, you can reference an ACL twice by its name and number with the if-match command,
respectively.
Defining a criterion to match a destination MAC address
You can configure multiple destination MAC address match criteria for a class.
A destination MAC address match criterion is significant only to Ethernet interfaces.
Defining a criterion to match a source MAC address
You can configure multiple source MAC address match criteria for a class.
A criterion to match a source MAC address is significant only to Ethernet interfaces.
Defining the relationships between match criteria
This subsection describes how to use both AND and OR operators to define the match
relationships between the criteria for a class.
For example, define class classA with three match criteria. The relationship between them is
criterion 1 AND criterion 2 OR criterion 3. Use the following commands:
traffic class classB operator and
if-match criterion 1
if-match criterion 2
traffic class classA operator or
if-match criterion 3
if-match class classB
You can configure multiple if-match clauses for a class.
Defining a criterion to match DSCP values
You can configure multiple DSCP match criteria for a class. All defined DSCP values are
automatically sorted in ascending order.
You can configure up to eight DSCP values in one command line. If multiple identical DSCP
values are specified, the system considers them as one. If a packet matches one of the defined
DSCP values, it matches the if-match clause.
37

Advertisement

Table of Contents
loading

Table of Contents