Access control list on Switch
When it comes to the Access Control List, or you configured on the router, ASA and other security devices.Today I would like to introduce to you the example of ACL Switch on the device, it is flexible and handy.
3 VLAN: (1,2,3) ip and information shown above
See the article here Access Control List
Requirements:
1. You need to configure the same VLAN ( VLAN view article )
2. After you have configured the 1. We need to ban the PC in VLAN 2 (corresponding to 2 buildings) access on the Web site ServerO), while the other traffic operating normally
++++ The configuration steps:
1. Define ACL (after the show we see)
access-list 120 deny tcp 172.16.2.0 0.0.0.255 host 192.168.1.2 eq www
access-list 120 deny tcp 172.16.3.0 0.0.0.255 host 192.168.1.2 eq www
access-list 120 permit ip any any
2. Apply to the VLAN (on behalf of the port as a router)
Switch(config)#int VLAN 1
Switch(config-if)#Ip access-group 120 out
3. Check results
Ping successfully
and browse the web without success
Views (
Lượt xem (1447)
Để lại bình luận: