Chapter 23 Configuring Network Security
Configuring VLAN ACLs
•VLAN Access Map Configuration and Verification Examples, page
•Configuring a Capture Port, page
VACL Configuration Overview
VACLs use standard and extended Cisco IOS IP and IPX ACLs, and
VLAN access maps can be applied to VLANs or, with releases 12.1(13)E or later, to WAN interfaces for VACL capture. VACLs attached to WAN interfaces support only standard and extended Cisco IOS IP ACLs for VACL capture.
Each VLAN access map can consist of one or more map sequences, each sequence with a match clause and an action clause. The match clause specifies IP, IPX, or MAC ACLs for traffic filtering and the action clause specifies the action to be taken when a match occurs. When a flow matches a permit ACL entry, the associated action is taken and the flow is not checked against the remaining sequences. When a flow matches a deny ACL entry, it will be checked against the next ACL in the same sequence or the next sequence. If a flow does not match any ACL entry and at least one ACL is configured for that packet type, the packet is denied.
To use
The following caveats apply to ACLs when used with VACLs:
•Packets that require logging on the outbound ACLs are not logged if they are denied by a VACL.
•VACLs are applied on packets before NAT translation. If the translated flow is not subject to access control, the flow might be subject to access control after the translation because of the VACL configuration.
The action clause in a VACL can be forward, drop, capture, or redirect. Traffic can also be logged. VACLs applied to WAN interfaces do not support the redirect or log actions.
Note VACLs have an implicit deny at the end of the map; a packet is denied if it does not match any ACL entry, and at least one ACL is configured for the packet type.
Note If an empty or undefined ACL is specified in a VACL, any packets will match the ACL and the associated action is taken.
Defining a VLAN Access Map
To define a VLAN access map, perform this task:
| Command | Purpose | |||
|
|
| |||
| Router(config)# vlan | Defines the VLAN access map. Optionally, you can specify | |||
|
|
|
| the VLAN access map sequence number. | |
| Router(config)# no vlan | Deletes a map sequence from the VLAN access map. | |||
| Router(config)# no vlan | Deletes the VLAN access map. | |||
|
|
|
|
| |
|
|
| Cisco 7600 Series Router Cisco IOS Software Configuration | ||
|
|
| |||
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|