Cisco Cisco 5760 Wireless LAN Controller Referências técnicas

Página de 1016
action
To set the action for the VLAN access map entry, use the action command in access-map configuration mode.
To return to the default setting, use the no form of this command.
action{drop| forward}
no action
Syntax Description
Drops the packet when the specified conditions are matched.
drop
Forwards the packet when the specified conditions are matched.
forward
Command Default
The default action is to forward packets.
Command Modes
Access-map configuration
Command History
Modification
Release
This command was introduced.
Cisco IOS XE 3.2SE
Usage Guidelines
You enter access-map configuration mode by using the vlan access-map global configuration 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.
You can verify your settings by entering the show vlan access-map privileged EXEC 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:
Controller(config)#
vlan access-map vmap4
Controller(config-access-map)#
match ip address al2
Controller(config-access-map)#
action forward
Controller(config-access-map)#
exit
Controller(config)#
vlan filter vmap4 vlan-list 5-6
   Consolidated Platform Command Reference, Cisco IOS XE Release 3SE (Cisco WLC 5700 Series)
354
OL-29471-01  
action