Examples Of Router Acls And Vlan Maps Applied To Vlans; Acls And Switched Packets - Cisco WS-C3560-48PS-S Software Configuration Manual

Software configuration guide
Hide thumbs Also See for WS-C3560-48PS-S:
Table of Contents

Advertisement

Chapter 27
Configuring Network Security with ACLs

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.

ACLs and Switched Packets

Figure 27-6
within the VLAN without being routed or forwarded by fallback bridging are only subject to the VLAN
map of the input VLAN.
Figure 27-6 Applying ACLs on Switched Packets
Host A
(VLAN 10)
78-16156-01
To define multiple actions in an ACL (permit, deny), group each action type together to reduce the
number of entries.
Avoid including Layer 4 information in an ACL; adding this information complicates the merging
process. The best merge results are obtained if the ACLs are filtered based on IP addresses (source
and destination) and not on the full flow (source IP address, destination IP address, protocol, and
protocol ports). It is also helpful to use don't care bits in the IP address, whenever possible.
If you need to specify the full-flow mode and the ACL contains both IP ACEs and TCP/UDP/ICMP
ACEs with Layer 4 information, put the Layer 4 ACEs at the end of the list. This gives priority to
the filtering of traffic based on IP addresses.
shows how an ACL is applied on packets that are switched within a VLAN. Packets switched
VLAN 10
map
Frame
Host C
(VLAN 10)
VLAN 10
Input
Output
router
router
VLAN 20
ACL
ACL
Routing function or
fallback bridge
Packet
Catalyst 3560 Switch Software Configuration Guide
Using VLAN Maps with Router ACLs
map
VLAN 20
27-37

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents