15-21
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 15 Configuring Access Control
Using VACLs with Cisco IOS ACLs
6 deny ip any 0.0.0.255 255.255.255.0
7 permit tcp any range 0 65534 any range 0 65534
8 permit udp any range 0 65534 any range 0 65534
9 permit icmp any any
10 permit ip any any
******** Cisco IOS ACL **********
1 deny ip any host 239.255.255.255
2 permit ip any any
******** MERGE **********
has 329 entries
Example 4
This example shows that the VACL does not follow the recommended guidelines (three different actions
are specified), and the resultant merge significantly increases the number of ACEs:
******** VACL ***********
1 redirect 4/25 tcp host 192.168.1.67 host 255.255.255.255
2 redirect 4/25 udp host 192.168.1.67 host 255.255.255.255
3 deny tcp any any lt 30
4 deny udp any any lt 30
5 permit ip any any
******* Cisco IOS ACL ***********
1 deny ip any host 239.255.255.255
2 permit ip any any
******* MERGE **********
has 142 entries
Example 5
This example shows that if you modify the VACL in
Example 4
and specify only two different actions,
the merge results are significantly improved:
******** VACL ***********
1 redirect 4/25 tcp host 192.168.1.67 host 255.255.255.255
2 redirect 4/25 udp host 192.168.1.67 host 255.255.255.255
3 permit ip any any
******* Cisco IOS ACL ***********
1 deny ip any host 239.255.255.255
2 permit ip any any
******* MERGE **********
has 4 entries
Estimating Merge Results with Supervisor Engine Software Releases 7.1(1) or Later Releases
In supervisor engine software releases prior to software release 7.1(1), the following formula is true for
software release 7.1(1) and later releases: The size of ACL C = (size of ACL A) x (size of ACL B) x (2).
Note
In software releases prior to release 7.1(1), the formula is used as a guideline but the number of entries
could go beyond the predicted range. In software release 7.1(1) and later releases, with the new ACL
merge algorithm, the formula is accurate for all cases. If Layer 4 port information is specified, the upper
limit could be higher even with the new algorithm. See the
“Layer 4 Operations Configuration
Guidelines” section on page 15-23
for detailed information.
Two ACL-merge algorithms are available
—
the binary decision diagram (BDD) and the order dependent
merge (ODM). ODM is the enhanced algorithm that was introduced in software release 7.1(1). The BDD
algorithm was used in releases prior to software release 7.1(1). See the
“Specifying the ACL-Merge
Algorithm” section on page 15-47
for detailed software configuration information.