cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3100
Views
0
Helpful
2
Replies

Blocking traffic in single VLAN on port level

ajay-pawar
Level 1
Level 1

Hi ,

      We have Cisco 3750 switch . Need to block traffic within single VLAN on TCP port 1443 .

      Please help.

Thanks & Regards

Ajay

2 Replies 2

glen.grant
VIP Alumni
VIP Alumni

   Write an ACL for the layer 3 SVI  for that vlan that will block the port you are looking to block. 

Matthew Blanshard
Cisco Employee
Cisco Employee

Hello Ajay,

Sounds you a VACL would be the best option here for you.  Here's the configuration guide on VACL's:

http://tools.cisco.com/squish/fF099

Here's an example of how you would configure this:

Switch(config)# ip access-list extended no_1443
Switch(config-ext-nacl)# permit tcp any any eq 1443
Switch(config-ext-nacl)# exit

Switch(config)#ip access-list extended permit_any
Switch(config-ext-nacl)# permit ip any any
Switch(config-ext-nacl)# exit

Switch(config)# vlan access-map block_1443 10
Switch(config-access-map)# match ip address no_1443

Switch(config-access-map)# action drop

Switch(config-access-map)# exit

Switch(config)# vlan access-map block_1443 20

Switch(config-access-map)# match ip address permit_any

Switch(config-access-map)# action forward

Switch(config-access-map)# exit

Switch(config)# vlan filter block_1443

This will block all packets destined to tcp port 1443 within the vlan.  If you wanted to block tcp traffic sourced from that port you would add "permit tcp any eq 1443 any" to the access-list no_1443.

HTH,

Matt