Action - Cisco Nexus 5500 Series Command Reference Manual

Nx-os security command reference
Hide thumbs Also See for Nexus 5500 Series:
Table of Contents

Advertisement

Chapter
A Commands

action

To specify what the switch does when a packet matches a permit command in a VLAN access control
list (VACL), use the action command. To remove an action command, use the no form of this command.
Syntax Description
drop
forward
Command Default
None
Command Modes
VLAN access-map configuration mode
Command History
Release
5.2(1)N1(1)
Usage Guidelines
The action command specifies the action that the device takes when a packet matches the conditions in
the ACL specified by the match 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
Command
match
show vlan access-map
show vlan filter
statistics
vlan access-map
vlan filter
OL-27883-02
action {drop forward}
no action {drop forward}
Specifies that the switch drops the packet.
Specifies that the switch forwards the packet to its destination port.
Modification
This command was introduced.
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.
Cisco Nexus 5500 Series NX-OS Security Command Reference
action
19

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents