15-46
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 15 Configuring Access Control
Configuring VACLs
•
Note these guidelines for using the redirect option:
–
The redirected packets can only go out a port that supports the VLAN that the traffic is in.
–
The redirect option only involves taking the packets and sending them out the redirect port;
there is no routing involved.
–
If the packets are coming in from many VLANs, the redirect port should have those VLANs in
the forwarding state. You might have to configure the redirect port as a trunk to allow multiple
VLANs to go out of the port.
–
Put caches in promiscuous mode so they can receive traffic that is not routed.
–
Use the redirect option to do some basic VLAN-based load balancing by redirecting the traffic
to multiple ports. Each port transmits only those packets that belong to the VLANs that are
forwarding on the port.
VACL Configuration Summary
To create a VACL and map it to a VLAN, perform these steps:
Step 1
Enter the
set security acl ip
command to create a VACL and add ACEs.
Step 2
Enter the
commit
command to commit the VACL and its associated ACEs to NVRAM.
Step 3
Enter the
set security acl map
command to map the VACL to a VLAN.
Note
An IP VACL is used in this description; you can configure IPX and non-IP version 4/non-IPX
VACLs using the same basic steps.
Note
The VACLs have an implicit deny feature at the end of the list; a packet is denied if it does not
match any VACL ACE.
Configuring VACLs from the CLI
This section describes how to create and activate the VACLs on the Catalyst 6500 series switches. These
tasks are listed in the order that they should be performed.
This section describes the following tasks:
•
Specifying the ACL-Merge Algorithm, page 15-47
•
Creating an IP VACL and Adding ACEs, page 15-48
•
Creating an IPX VACL and Adding ACEs, page 15-50
•
Creating a Non-IP Version 4/Non-IPX VACL (MAC VACL) and Adding ACEs, page 15-52
•
Committing ACLs, page 15-53
•
Mapping a VACL to a VLAN, page 15-53
•
Displaying the Contents of a VACL, page 15-54