Cisco Nexus 7000 Series Security Command Reference - Cisco Nexus 7000 Series Command Reference Manual

Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

action
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
Vlan access-map vlan-map-01 20
Related Commands
Command
match
show vlan access-map
show vlan filter
statistics
vlan access-map
vlan filter

Cisco Nexus 7000 Series Security Command Reference

10
match ip: ip-acl-01
match mac: mac-acl-00f
action: forward
match ip: ip-acl-320
match mac: mac-acl-00e
action: drop
Description
Specifies an ACL for traffic filtering in a VLAN
access map.
Displays all VLAN access maps or a VLAN access
map.
Displays information about how a VLAN access map
is applied.
Enables statistics for an access control list or VLAN
access map.
Configures a VLAN access map.
Applies a VLAN access map to one or more VLANs.
A Commands

Advertisement

Table of Contents
loading

Table of Contents