Vlan Access-Map - Cisco Catalyst 3750 Command Reference Manual

Hide thumbs Also See for Catalyst 3750:
Table of Contents

Advertisement

Chapter 2 Catalyst 3750 Switch Cisco IOS Commands

vlan access-map

Use the vlan access-map global configuration command on the switch stack or on a standalone switch
to create or modify a VLAN map entry for VLAN packet filtering. This entry changes the mode to the
VLAN access map configuration. Use the no form of this command to delete a VLAN map entry. Use
the vlan filter interface configuration command to apply a VLAN map to one or more VLANs.
Syntax Description
name
number
Defaults
There are no VLAN map entries and no VLAN maps applied to a VLAN.
Command Modes
Global configuration
Command History
Release
12.1(11)AX
Usage Guidelines
In global configuration mode, use this command to create or modify a VLAN map. This entry changes
the mode to VLAN access-map configuration, where you can use the match access-map configuration
command to specify the access lists for IP or non-IP traffic to match and use the action command to set
whether a match causes the packet to be forwarded or dropped.
In VLAN access map configuration mode, these commands are available:
When you do not specify an entry number (sequence number), it is added to the end of the map.
There can be only one VLAN map per VLAN and it is applied as packets are received by a VLAN.
You can use the no vlan access-map name [number] command with a sequence number to delete a single
entry.
In global configuration mode, use the vlan filter interface configuration command to apply the map to
one or more VLANs.
78-16181-03
vlan access-map name [number]
no vlan access-map name [number]
Name of the VLAN map.
(Optional) The sequence number of the map entry that you want to create or modify (0
to 65535). If you are creating a VLAN map and the sequence number is not specified,
it is automatically assigned in increments of 10, starting from 10. This number is the
sequence to insert to, or delete from, a VLAN access-map entry.
Modification
This command was introduced.
action: sets the action to be taken (forward or drop).
default: sets a command to its defaults
exit: exits from VLAN access-map configuration mode
match: sets the values to match (IP address or MAC address).
no: negates a command or set its defaults
Catalyst 3750 Switch Command Reference
vlan access-map
2-621

Advertisement

Table of Contents
loading

Table of Contents