Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2(1) (OL-16599-01, March 2009)

Send comments to nx5000-docfeedback@cisco.com
6-147
Cisco Nexus 5000 Series Command Reference
OL-16599-01
Chapter 6 Security Commands
vlan access-map
vlan access-map
To create a new VLAN access map or to configure an existing VLAN access map, use the vlan
access-map command. To remove a VLAN access map, use the no form of this command.
vlan access-map map-name
no vlan access-map map-name
Syntax Description
Command Default None
Command Modes Configuration mode
Command History
Usage Guidelines Each VLAN access map can include one match command and one action command.
Examples This example shows how to create a VLAN access map named vlan-map-01, assign an IPv4 ACL named
ip-acl-01 to the map, specify that the switch forwards packets matching the ACL, and enable statistics
for traffic matching the map:
switch(config)# vlan access-map vlan-map-01
switch(config-access-map)# match ip address ip-acl-01
switch(config-access-map)# action forward
switch(config-access-map)# statistics
Related Commands
map-name Name of the VLAN access map that you want to create or configure.
Release Modification
4.0(0)N1(1a) This command was introduced.
Command Description
action Specifies an action for traffic filtering in a VLAN access map.
match Specifies an ACL for traffic filtering in a VLAN access map.
show vlan access-map Displays all VLAN access maps or a VLAN access map.
show vlan filter Displays information about how a VLAN access map is applied.
vlan filter Applies a VLAN access map to one or more VLANs.