Configure VLAN access control list...
What is VLAN Access Control Lists (VACL) used for?
VLAN Access Control Lists (VACL) can be used to filter traffic within the same vlanScenario
Suppose a host is connected to VLAN 2 and we are required to drop all telnet traffic within VLAN 2.Configuration
Make an access list to match telnet trafficRouter(config)#access-list 101 permit tcp any any eq telnet
Drop telnet traffic and forward all other traffic
Router(config)#vlan access-map VACL_ACL 10 Router(config-access-map)#match ip address 101 Router(config-access-map)#action drop Router(config-access-map)#exit Router(config)#vlan access-map VACL_ACL 20 Router(config-access-map)#action forward Router(config-access-map)#exit Router(config)#
Router(config)#vlan filter VACL_ACL vlan-list 2
Comments
Post a Comment