Cisco WS-C3560E-24PD-E Command Reference Manual page 265

Catalyst 3560 series switch
Table of Contents

Advertisement

Chapter 2
Catalyst 3560 Switch Cisco IOS Commands
Examples
This example shows how to define and apply a VLAN access map vmap4 to VLANs 5 and 6 that will
cause the interface to drop an IP packet if the packet matches the conditions defined in access list al2.
Switch(config)# vlan access-map vmap4
Switch(config-access-map)# match ip address al2
Switch(config-access-map)# action drop
Switch(config-access-map)# exit
Switch(config)# vlan filter vmap4 vlan-list 5-6
You can verify your settings by entering the show vlan access-map privileged EXEC command.
Related Commands
Command
access-list
action
ip access list
mac access-list extended
show vlan access-map
vlan access-map
78-16405-05
Description
Configures a standard numbered ACL. For syntax information, select
Cisco IOS IP Command Reference, Volume 1 of 3:Addressing and
Services, Release 12.2 > IP Services Commands.
Specifies the action to be taken if the packet matches an entry in an
access control list (ACL).
Creates a named access list. For syntax information, select Cisco IOS
IP Command Reference, Volume 1 of 3:Addressing and Services,
Release 12.2 > IP Services Commands.
Creates a named MAC address access list.
Displays the VLAN access maps created on the switch.
Creates a VLAN access map.
Catalyst 3560 Switch Command Reference
match (access-map configuration)
2-233

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents