Configuring acl, Acl overview, Acl categories – H3C Technologies H3C S12500 Series Switches User Manual

Page 10: Acl numbering and naming

Advertising
background image

1

Configuring ACL

In this document, EB cards refer to the interface cards suffixed with EB, EC1 cards refer to the interface

cards suffixed with EC1, EC2 cards refer to the interface cards suffixed with EC2, and EF cards refer to

the cards suffixed with EF.

ACL overview

An access control list (ACL) is a set of rules (or permit or deny statements) for identifying traffic based on

criteria such as source IP address, destination IP address, and port number. Unless otherwise stated,

ACLs refer to both IPv4 and IPv6 ACLs throughout this document.
ACLs are primarily used for packet filtering. "

Configuring packet filtering with ACLs

" provides an

example. You can use ACLs in QoS, firewall, routing, and other feature modules for identifying traffic.

The packet drop or forwarding decisions varies with the modules that use ACLs.

ACL categories

Category

ACL number

IP version

Match criteria

Basic ACLs

2000 to 2999

IPv4

Source IPv4 address

IPv6

Source IPv6 address

Advanced ACLs

3000 to 3999

IPv4

Source IPv4 address, destination IPv4 address,
packet priority, protocols over IPv4, and other
Layer 3 and Layer 4 header fields

IPv6

Source IPv6 address, destination IPv6 address,
packet priority, protocols over IPv6, and other

Layer 3 and Layer 4 header fields

Ethernet frame
header ACLs

4000 to 4999

N/A

Layer 2 header fields, such as source and
destination MAC addresses, 802.1p priority,

and link layer protocol type

User-defined
ACLs

5000 to 5999

IPv4 and IPv6

User specified matching patterns in protocol
headers

ACL numbering and naming

Each ACL category has a unique range of ACL numbers. When creating an ACL, you must assign it a

number. In addition, you can assign the ACL a name for the ease of identification. After creating an ACL
with a name, you cannot rename it or delete its name.
For an Ethernet frame header, or user-defined ACL, the ACL number and name must be globally unique.

For an IPv4 basic or advanced ACLs, its ACL number and name must be unique among all IPv4 ACLs,

and for an IPv6 basic or advanced ACL, among all IPv6 ACLs. You can assign an IPv4 ACL the same
number and name as an IPv6 ACL.

Advertising