33-19
Software Configuration Guide—Release 12.2(25)SG
OL-7659-03
Chapter33 Configuring Network Securi ty with ACLs
Displaying VLAN Access Map Information
Displaying VLAN Access Map Information
To display information about VLAN access maps or VLAN filters, perform one of these tasks.
This is a sample output of the show vlan access-ma p command:
Switch# show vlan access-map
Vlan access-map "map_1" 10
Match clauses:
ip address: ip1
Action:
drop
Vlan access-map "map_1" 20
Match clauses:
mac address: mac1
Action:
forward
Vlan access-map "map_1" 30
Match clauses:
Action:
drop
Note Sequence 30 does not have a match clause. All packets (IP as well as non- IP) will be matched against it
and dropped.
This is a sample output of the show vlan filter comman d:
Switch# show vlan filter
VLAN Map map_1 is filtering VLANs:
20-22
Using VLAN Maps with Router ACLs
If the VLAN map has a match clause for a packet type (IP or MAC) and the packet does not match the
type, the default is to drop the packet. If there is no match clause in the VLAN map, and no action is
specified, the packet is forwarded if it does not match any VLAN map entry.
Note You cannot combine VLAN maps or input router ACLs with port ACLs on a switch.
Command Purpose
Switch# show vlan access-map [
mapname
]Show information about all VLAN access-maps or the
specified access map.
Switch# show vlan filter [access-map
name |
vlan
vlan-id
]
Show information about all VLAN filters or about a specified
VLAN or VLAN access map.