15-81
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 15 Configuring Access Control
Configuring ACL Statistics
Example 7
This example is a continuation from Example 6 and shows that you can recover from the failure state by
either mapping or unmapping the VACL or PACL. This example shows that detaching the MAC PACL
can release some TCAM resources, allowing the merge to succeed. A syslog is generated when the merge
is reenabled.
Console> (enable)
clear security acl map macacl1
Map deletion in progress.
Successfully cleared mapping between ACL macacl1 and port 3/1.
2003 Oct 01 20:01:04 %ACL-3-PACLMERGED:Merged Security ACLs on port(s) 3/1
Console> (enable)
show port security-acl 3/1
Port Interface Type Interface Type Interface Merge Status
config runtime runtime
----- -------------- -------------- ----------------------
3/1 merge merge (VLAN=5) active
Config:
Port ACL name Type
----- -------------------------------- ----
3/1 ipacl1 IP
Runtime:
Port ACL name Type
----- -------------------------------- ----
3/1 ipacl1 IP
dhcp-snooping:
Port Trust Source-Guard Source-Guarded IP Addresses
----- ----------- ------------ ---------------------------
3/1 untrusted disabled
Console> (enable)
Configuring ACL Statistics
These sections describe how to configure the ACL statistics:
•
ACL Statistics Overview, page 15-81
•
Configuring ACL Statistics from the CLI, page 15-82
ACL Statistics Overview
When you select the
statistics
keyword with the
set security acl
command set, the statistics are stored
for the ACEs or the ACLs (VACLs and PACLs). The ACL statistics are disabled by default and can be
enabled on a per-ACL, per-VLAN, or per-ACE basis.
Before an ACL is programmed in the TCAM, it is passed to the ACL compiler. The ACL compiler
optimizes the ACL in terms of the number of ACEs and promotes mask sharing, where possible, to
reduce the number of TCAM masks used. When there are multiple features/policies configured through
the ACLs on an interface, the ACLs are merged and the resultant ACL is optimized. The resultant ACL
is logically equivalent to the original ACL(s).