Chapter 23 Configuring Network Security

Configuring VLAN ACLs

Command

Purpose

 

 

Router(config)# mac-address-table static mac_address

Blocks all traffic to or from the configured MAC address in

vlan vlan_ID drop

the specified VLAN.

Router(config)# no mac-address-table static

Clears MAC address-based blocking.

mac_address vlan vlan_ID

 

 

 

This example shows how to block all traffic to or from MAC address 0050.3e8d.6400 in VLAN 12:

Router# configure terminal

Router(config)# mac-address-table static 0050.3e8d.6400 vlan 12 drop

Configuring VLAN ACLs

Note Releases 12.1(11b)E or later supports VLAN ACLs (VACLs).

The following sections describe VACLs:

Understanding VACLs, page 23-8

Configuring VACLs, page 23-11

Configuring VACL Logging, page 23-17

Understanding VACLs

These sections describe VACLs:

VACL Overview, page 23-8

Bridged Packets, page 23-9

Routed Packets, page 23-10

Multicast Packets, page 23-11

VACL Overview

VACLs can provide access control for all packets that are bridged within a VLAN or that are routed into or out of a VLAN or, with releases 12.1(13)E or later, a WAN interface for VACL capture. Unlike regular Cisco IOS standard or extended ACLs that are configured on router interfaces only and are applied on routed packets only, VACLs apply to all packets and can be applied to any VLAN or WAN interface. VACLS are processed in hardware. VACLs use Cisco IOS ACLs. VACLs ignore any Cisco IOS ACL fields that are not supported in hardware.

You can configure VACLs for IP, IPX, and MAC-Layer traffic. VACLs applied to WAN interfaces support only IP traffic for VACL capture.

When you configure a VACL and apply it to a VLAN, all packets entering the VLAN are checked against this VACL. If you apply a VACL to the VLAN and an ACL to a routed interface in the VLAN, a packet coming in to the VLAN is first checked against the VACL and, if permitted, is then checked against the input ACL before it is handled by the routed interface. When the packet is routed to another VLAN, it

Cisco 7600 Series Router Cisco IOS Software Configuration Guide—12.1E

23-8

78-14064-04

 

 

Page 8
Image 8
Cisco Systems 7600 SERIES manual Configuring Vlan ACLs, Understanding VACLs, Vacl Overview, 23-8