Action - Cisco Catalyst 4500 Series Command Reference Manual

Cisco ios command reference
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 2
Cisco IOS Commands for the Catalyst 4500 Series Switches

action

To specify an action to be taken when a match occurs in a VACL, use the action command. To remove
an action clause, use the no form of this command.
Syntax Description
drop
forward
Defaults
This command has no default settings.
Command Modes
VLAN access-map mode
Command History
Release
12.1(12c)EW
Usage Guidelines
In a VLAN access map, if at least one ACL is configured for a packet type (IP or MAC), the default
action for the packet type is drop (deny).
If an ACL is not configured for a packet type, the default action for the packet type is forward (permit).
If an ACL for a packet type is configured and the ACL is empty or undefined, the configured action will
be applied to the packet type.
Examples
This example shows how to define a drop action:
Switch(config-access-map)# action drop
Switch(config-access-map)#
This example shows how to define a forward action:
Switch(config-access-map)# action forward
Switch(config-access-map)#
Syntax Description
Command
match
show vlan access-map
vlan access-map
OL-25342 -01
action {drop | forward}
no action {drop | forward}
Sets the action to drop packets.
Sets the action to forward packets to their destination.
Modification
Support for this command was introduced on the Catalyst 4500 series switch.
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.3.0SG and IOS 15.1(1)SG)
Description
Specifies a match clause by selecting one or more ACLs for a
VLAN access-map sequence.
Displays the contents of a VLAN access map.
Enters VLAN access-map command mode to create a VLAN
access map.
action
2-13

Advertisement

Table of Contents
loading

Table of Contents