
Configuration Commands
171
Access Control configuration
Use these commands to create Access Control Lists (ACLs) and ACL Groups. ACLs define matching criteria
used for IP filtering and Quality of Service functions.
Access Control List configuration
These commands allow you to define filtering criteria for each Access Control List (ACL). The following
table describes the basic ACL Configuration commands.
Table 155 ACL Configuration commands
Command Description
[no] access-control list <1-
384> egress-port <port
number>
Configures the ACL to function on egress packets.
The egress port ACL will not match a Layer 2 broadcast or multicast
packet. The egress port ACL will not match packets if the destination port
is a trunk.
Command mode: Global configuration
access-control list <1-384>
action {permit|deny|set-
priority <0-7>}
Configures a filter action for packets that match the ACL definitions. You
can choose to permit (pass) or deny (drop) packets, or set the Class of
Service queue that handles the packets.
Command mode: Global configuration
access-control list <1-384>
statistics
Enables or disables the statistics collection for the Access Control List.
Command mode: Global configuration
default access-control list
<1-384>
Resets the ACL parameters to their default values.
Command mode: Global configuration
show access-control list <1-
384>
Displays the current ACL parameters.
Command mode: All except User EXEC
ACL Ethernet Filter configuration
These commands allow you to define Ethernet matching criteria for an ACL. The following table describes
the Ethernet Filter Configuration commands.
Table 156 Ethernet Filter Configuration commands
Command Description
access-control list <1-384> ethernet
source-mac-address <MAC address>
{<MAC mask>}
Defines the source MAC address and MAC mask for this ACL.
For example:
00:60:cf:40:56:00 ff:ff:ff:ff:ff:fc
Command mode: Global configuration
access-control list <1-384> ethernet
destination-mac-address <MAC address>
{<MAC mask>}
Defines the destination MAC address and MAC mask for this
ACL. For example:
00:60:cf:40:56:00 ff:ff:ff:ff:ff:fc
Command mode: Global configuration
access-control list <1-384> ethernet
vlan <1-4095> <mask>
Defines a VLAN number and mask for this ACL.
Command mode: Global configuration