Cisco Catalyst 3550 Command Reference Manual page 31

Multilayer switch
Hide thumbs Also See for Catalyst 3550:
Table of Contents

Advertisement

Chapter 2
Cisco IOS Commands
action
Use the action access map configuration command to set the action for the VLAN access map entry. Use
the no form of this command to set the action to the default value, which is to forward.
Syntax Description
drop
forward
Defaults
The default action is to forward packets.
Command Modes
Access-map configuration
Command History
Release
12.1(4)EA1
Usage Guidelines
You enter access-map configuration mode by using the
command.
If the action is drop, you should define the access map, including configuring any access control list
(ACL) names in match clauses, before applying the map to a VLAN, or all packets could be dropped.
In access map configuration mode, use the match access map configuration command to define the
match conditions for a VLAN map. Use the action command to set the action that occurs when a packet
matches the conditions.
The drop and forward parameters are not used in the no form of the command.
Examples
This example shows how to identify and apply a VLAN access map vmap4 to VLANs 5 and 6 that causes
the VLAN to forward an IP packet if the packet matches the conditions defined in access list al2:
Switch(config)# vlan access-map vmap4
Switch(config-access-map)# match ip address al2
Switch(config-access-map)# action forward
Switch(config-access-map)# exit
Switch(config)# vlan filter vmap4 vlan-list 5-6
You can verify your settings by entering the show vlan access-map privileged EXEC command.
78-11195-09
action {drop | forward}
no action
Drop the packet when the specified conditions are matched.
Forward the packet when the specified conditions are matched.
Modification
This command was first introduced.
vlan access-map
global configuration
Catalyst 3550 Multilayer Switch Command Reference
action
2-5

Advertisement

Table of Contents
loading

Table of Contents