cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2300
Views
0
Helpful
3
Replies

Layer 2 interface - block traffic

davide0089
Level 1
Level 1

Hi,

Is it possible to block outbound traffic on a layer 2 interface? While still allowing incoming traffic? If so, which commands would I use?

In essence, I want to place two ports on the same VLAN, where one port accepts traffic and the other sends traffic.

Thanks,

Davide

3 Replies 3

amabdelh
Level 1
Level 1

It can be done using this command
switchport unicast unicast suppression level
And the same for multicast and broadcast, but not sure why do you want to do that? And i believe it is not gonna work. You need to keep STP in you mind and it will block one of the ports

Sent from Cisco Technical Support iPhone App

Thanks

Hi Davide,

If I understand what you'll want to make, I recommend you read about "PRIVATE VLANS", it could be whatever you're looking for.

In this way you could separate ports in different vlans without worrying about STP.

http://en.wikipedia.org/wiki/Private_VLAN

http://blog.ine.com/2008/01/31/understanding-private-vlans/

Regards.

Review Cisco Networking products for a $25 gift card