HP 5830 Series Configuration Manual page 23

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

Advertisement

Step
1.
Enter system view.
2.
Create a class and
enter class view.
3.
Configure match
criteria.
Table 2 The value range for the
Keyword and argument combination
acl [ ipv6 ] { acl-number | name acl-name }
any
dscp dscp-list
destination-mac mac-address
customer-dot1p 8021p-list
service-dot1p 8021p-list
ip-precedence ip-precedence-list
protocol protocol-name
source-mac mac-address
customer-vlan-id { vlan-id-list | vlan-id1 to
vlan-id2 }
Command
system-view
traffic classifier tcl-name
[ operator { and | or } ]
if-match match-criteria
match-criteria
argument
Description
Matches an ACL.
The acl-number argument is in the range of 2000 to 3999 for an
IPv4 ACL, 2000 to 3999 for an IPv6 ACL, and 4000 to 4999 for
an Ethernet frame header ACL.
The acl-name argument is a case-insensitive string of 1 to 63
characters that must start with an English letter, and to avoid
confusion, it cannot be all.
Matches all packets.
Matches DSCP values.
The dscp-list argument is a list of up to eight DSCP values. A DSCP
value can be a number from 0 to 63 or any keyword in
Matches a destination MAC address.
Matches the 802.1p priority of the customer network.
The 8021p-list argument is a list of up to eight 802.1p priority
values. An 802.1p priority is in the range of 0 to 7.
Matches the 802.1p priority of the service provider network.
The 8021p-list argument is a list of up to eight 802.1p priority
values. An 802.1p priority is in the range of 0 to 7.
Matches IP precedence.
The ip-precedence-list argument is a list of up to eight IP
precedence values. An IP precedence is in the range of 0 to 7.
Matches a protocol.
The protocol-name argument can be IP or IPv6.
Matches a source MAC address.
Matches the VLAN IDs of customer networks.
The vlan-id-list argument is a list of up to eight VLAN IDs. The
vlan-id1 to vlan-id2 specifies a VLAN ID range, where the
vlan-id1 must be smaller than the vlan-id2. A VLAN ID is in the
range of 1 to 4094.
18
Remarks
N/A
By default, the operator of a class is AND.
The operator of a class can be AND or OR.
AND—A packet is assigned to a class only when
the packet matches all criteria in the class.
OR—A packet is assigned to a class if it matches
any of the criteria in the class.
For more information, see the if-match command in
ACL and QoS Command Reference.
Table
7.

Advertisement

Table of Contents
loading

Table of Contents