Usage Guidelines
The action command specifies the action that the device takes when a packet matches the conditions in an
ACL specified by a match command in the same access map entry as the action command.
This command does not require a license.
Examples
This example shows how to create a VLAN access map named vlan-map-01 and add two entries that each
have two match commands and one action command:
switch(config-access-map)# 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)# match mac address mac-acl-00f
switch(config-access-map)# vlan access-map vlan-map-01
switch(config-access-map)# match ip address ip-acl-320
switch(config-access-map)# match mac address mac-acl-00e
switch(config-access-map)# action drop
switch(config-access-map)# show vlan access-map
Vlan access-map vlan-map-01 10
match ip: ip-acl-01
match mac: mac-acl-00f
action: forward
Vlan access-map vlan-map-01 20
match ip: ip-acl-320
match mac: mac-acl-00e
action: drop
Related Commands
DescriptionCommand
Specifies an ACL for traffic filtering in a VLAN
access map.
match
Displays all VLAN access maps or a VLAN access
map.
show vlan access-map
Displays information about how a VLAN access map
is applied.
show vlan filter
Enables statistics for an access control list or VLAN
access map.
statistics
Configures a VLAN access map.vlan access-map
Applies a VLAN access map to one or more VLANs.vlan filter
Cisco Nexus 7000 Series Security Command Reference
10
A Commands
action