Specifications
2-9
Catalyst 4500 Se ries S wit ch C is co IO S C om mand R efer ence —Re lease I OS XE 3 .3.0 XO(1 5.1 (1)XO)
OL_28738-01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
access-list hardwar e entries
access-list hardw are entries
To designate how ACLs are programmed into the switch hardware, use the access-list hardware entries
command .
access-list hardware entries {packed | scattered}
Syntax Description
Defaults The ACLs are programme d as packed.
Command Modes Global configura tion mode
Usage Guidelines Two types of hardware resources are used whe n ACLs are programmed: entrie s and masks. If one of
these resources is consumed, no additional ACLs can be programmed into the hardware. If the masks are
consumed, but the entries are available, change the programming algorithm from packed to scattered
to make the masks available. This action allows additional ACLs to be programmed into the hardware.
The goal is to use TCAM resources more efficiently; that is, to minimize the number of masks per ACL
entries. To compare TCAM utilization when using the scattered or pack ed algorithms, use the
show platform hardware acl statistics utilization brief command. To change the algorithm from
packed to scattered, use the access-list hardware entries command.
Examples This exampl e shows how to pr ogram ACLs i nto the hardw are as packe d. After they ar e progra mmed, you
will need 89 percent of the masks to program only 49 percent of the ACL entries.
Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# access-list hardware entries packed
Switch(config)# end
Switch#
01:15:34: %SYS-5-CONFIG_I: Configured from console by console
Switch#
Switch# show platform hardware acl statistics utilization brief
Entries/Total(%) Masks/Total(%)
----------------- ---------------
Input Acl(PortAndVlan) 2016 / 4096 ( 49) 460 / 512 ( 89)
Input Acl(PortOrVlan) 6 / 4096 ( 0) 4 / 512 ( 0)
Input Qos(PortAndVlan) 0 / 4096 ( 0) 0 / 512 ( 0)
Input Qos(PortOrVlan) 0 / 4096 ( 0) 0 / 512 ( 0)
Output Acl(PortAndVlan) 0 / 4096 ( 0) 0 / 512 ( 0)
Output Acl(PortOrVlan) 0 / 4096 ( 0) 0 / 512 ( 0)
Output Qos(PortAndVlan) 0 / 4096 ( 0) 0 / 512 ( 0)
Output Qos(PortOrVlan) 0 / 4096 ( 0) 0 / 512 ( 0)
L4Ops: used 2 out of 64
packed Directs the software to use the first entry with a matching mask when selecting
an entry from the ACL TCAM for programming the ACEs in an ACL.
scattered Directs the software to use the first entry with a free mask when selecting an
entry from the ACL TCAM for programming the ACEs in an ACL.