cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
624
Views
3
Helpful
4
Replies

Block an IP in the same Vlan

Shibu1978
Level 1
Level 1

Dear All,

How can i block a single IP with in a VLAN. this ip should not be able to access any other ips in the same vlan as well as other vlan in the network.

i have cisco WS-C3560G-48TS switch with me. please help me to do the same

Thanks

4 Replies 4

arunsing
Level 1
Level 1

I think you can create an inbound access-list and apply it to the vlan.

access-list 101 deny ip host any

access-list 101 permit ip any any

I am assumming that you are using the switch as an L3 switch

iyde
Level 4
Level 4

Try looking into the Private VLAN feature.

The ACL method mentioned will not block trafic within the same VLAN.

HTH.

mahmoodmkl
Level 7
Level 7

Hi

U need to use vlan-maps to achieve it.

Thanks

Mahmood

cisco_lad2004
Level 5
Level 5

As Ingolf mentionned, you need PVLAN to tale care of L2 blocking combined with an ACL for L3 blocking.

HTH

Sam

Review Cisco Networking products for a $25 gift card