How to configure a VLAN Access Map

There is three steps to create VLAN Access Map

 

1. Define the access map; ACL specifies what traffic to permit

2. Configure the match statement; Access map specifies the action to take when traffic makes it through the ACL

3. Configure the action statement; VLAN filter applies the VACL to specified VLANs.

 

Ex)

Cisco_AccessMap# conf t
Cisco_AccessMap(config)# access-list 150 permit tcp any any
Cisco_AccessMap(config)# access-llst 150 permit udp any any
Cisco_AccessMap(config)#
Cisco_AccessMap(config)# vlan access-map TEST 50
Cisco_AccessMap(config-access-map)# match ip address 150
Cisco_AccessMap(config-access-map)# action forward
Cisco_AccessMap(config-access-map)# exit
Cisco_AccessMap(config)#
Cisco_AccessMap(config)# vlan filter TEST vlan-list 100; 100 is VLAN.

 

 

 

 

 

 

Leave a Reply