Action - Cisco 4500M Command Reference Manual

Command reference
Hide thumbs Also See for 4500M:
Table of Contents

Advertisement

action

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
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)#
Related Commands
match
show vlan access-map
vlan access-map
Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW
2-6
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.
Chapter2
Cisco IOS Commands for the Catalyst 4500 Series Switches
78-16201-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ws-c4507r4500 series

Table of Contents