Command Line Interface
724 1553-KDU 137 365 Uen D 2006-06-16
Command Mode
Access Map Configuration
Command Usage
• For each VLAN access-map entry, use only one action command to
specify whether to drop or forward matching packets. If more than one
action command is entered, only the later one is used.
• If an access map is created without specifying a match or action
command, or only specifying the match command without an action
command, the system default will assume a forward action for this entry.
Example
The following command creates a VLAN access-map called vlanMAP1, sets the
match criteria for an IP ACL called ipACL1, sets the action for forward matching
packets, and then binds the VLAN ACL to VLANs 2 and 3.
Related Commands
vlan access-map (section 7.8.18 on page 720)
match (section 7.8.19 on page 722)
show vlan access map (section 7.8.21 on page 725)
vlan filter (section 7.8.25 on page 731)
Console(config)#vlan access-map vlanMAP1
Console(config-access-map)#match ip address ipACL1
Console(config-access-map)#action forward
Console(config-access-map)#exit
Console(config)#vlan filter vlanMAP1 vlan-lists 2-3
Console(config)#