Cisco me 3400 Guia Do Programa

Página de 1138
 
31-21
Cisco ME 3400 Ethernet Access Switch Software Configuration Guide
OL-9639-07
Chapter 31      Configuring Network Security with ACLs
Configuring IPv4 ACLs
When you enter the show ip access-lists privileged EXEC command, the match count displayed does 
not account for packets that are access controlled in hardware. Use the show access-lists hardware 
counters 
privileged EXEC command to obtain some basic hardware ACL statistics for switched and 
routed packets.
Router ACLs function as follows:
  •
The hardware controls permit and deny actions of standard and extended ACLs (input and output) 
for security access control.
  •
If log has not been specified, the flows that match a deny statement in a security ACL are dropped 
by the hardware if ip unreachables is disabled. The flows matching a permit statement are switched 
in hardware.
  •
Adding the log keyword to an ACE in a router ACL causes a copy of the packet to be sent to the 
CPU for logging only. If the ACE is a permit statement, the packet is still switched and routed 
in hardware.
Troubleshooting ACLs
If this ACL manager message appears and [chars] is the access-list name,
ACLMGR-2-NOVMR: Cannot generate hardware representation of access list [chars]
The switch has insufficient resources to create a hardware representation of the ACL. The resources 
include hardware memory and label space but not CPU memory. A lack of available logical operation 
units or specialized hardware resources causes this problem. Logical operation units are needed for a 
TCP flag match or a test other than eq (negtlt, or range) on TCP, UDP, or SCTP port numbers.
Use one of these workarounds:
  •
Modify the ACL configuration to use fewer resources.
  •
Rename the ACL with a name or number that alphanumerically precedes the ACL names or 
numbers. 
To determine the specialized hardware resources, enter the show platform layer4 acl map privileged 
EXEC command. If the switch does not have available resources, the output shows that index 0 to 
index 15 are not available.
For more information about configuring ACLs with insufficient resources, see CSCsq63926 in the Bug 
Toolkit.
For example, if you apply this ACL to an interface:
permit tcp source source-wildcard destination destination-wildcard range 5 60
permit tcp source source-wildcard destination destination-wildcard range 15 160
permit tcp source source-wildcard destination destination-wildcard range 115 1660
permit tcp source source-wildcard destination destination-wildcard
And if this message appears:
ACLMGR-2-NOVMR: Cannot generate hardware representation of access list [chars]
The flag-related operators are not available. To avoid this issue, 
  •
Move the fourth ACE before the first ACE by using ip access-list resequence global configuration 
command:
permit tcp source source-wildcard destination destination-wildcard
permit tcp source source-wildcard destination destination-wildcard range 5 60
permit tcp source source-wildcard destination destination-wildcard range 15 160
permit tcp source source-wildcard destination destination-wildcard range 115 1660