Switch(config)#
vlan access-map SERVER1_MAP 20
Switch(config-access-map)#
action forward
Switch(config-access-map)#
exit
Apply the VLAN map to VLAN 10.
Switch(config)#
vlan filter SERVER1_MAP vlan-list 10
Configuration Examples of Router ACLs and VLAN Maps Applied to VLANs
This section gives examples of applying router ACLs and VLAN maps to a VLAN for switched, bridged,
routed, and multicast packets. Although the following illustrations show packets being forwarded to their
destination, each time the packet
’
s path crosses a line indicating a VLAN map or an ACL, it is also possible
that the packet might be dropped, rather than forwarded.
Example: ACLs and Switched Packets
This example shows how an ACL is applied on packets that are switched within a VLAN. Packets switched
within the VLAN without being routed or forwarded by fallback bridging are only subject to the VLAN map
of the input VLAN.
Figure 8: Applying ACLs on Switched Packets
Example: ACLs and Bridged Packets
This example shows how an ACL is applied on fallback-bridged packets. For bridged packets, only Layer 2
ACLs are applied to the input VLAN. Only non-IP, non-ARP packets can be fallback-bridged.
Catalyst 2960-XR Switch Security Configuration Guide, Cisco IOS Release 15.0(2)EX1
OL-29434-01
151
Configuring IPv4 ACLs
Configuration Examples of Router ACLs and VLAN Maps Applied to VLANs