Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Layer 2 interface - block traffic

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

Everyone's tags (3)
3 REPLIES
New Member

Re: Layer 2 interface - block traffic

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

New Member

Layer 2 interface - block traffic

Thanks

Layer 2 interface - block traffic

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.

553
Views
0
Helpful
3
Replies
CreatePlease login to create content