07-12-2006 02:29 PM - edited 03-03-2019 04:02 AM
Does anybody happen to know if a layer 2 broadcast is being sent over a specific vlan or all vlans? For example, if a broadcast frame comes in on a port that happened to be on vlan20, will the switch flood this broadcast only to the ports that happened to be on the same vlan20?
Thanks.
07-12-2006 03:13 PM
I'm assuming you're talking about a normal 'access' port, not a trunk.
That being the case, a layer 2 broadcast coming into that port is going to be limited to the VLAN that the port is configured to be in - only VLAN 20, in your example.
There are some notable exceptions, so this may not be 100% true in a specific configuration or situation.
Consider ports in a given VLAN to be in their own physical LAN, seperate and distinct from other VLANs.
HTH
John
07-12-2006 05:48 PM
Thanks for your response. So, the switch is aware of what vlan a port belongs to and acts accordingly. For example, if I have a couple of servers, patched into ports on different vlans on a switch with layer 3 and do a "ping" from one server to the other, that switch will be aware of the different vlans and will send it to the layer 3? Thanks again...
07-12-2006 03:44 PM
Short answer - Yes.
Broadcasts in a multi-vlan switch environment are contained within their own vlan. As are multicast frames.
peter
07-12-2006 06:43 PM
Cisco's definition for a VLAN (for testing purposes anyway) is that a VLAN is a broadcast domain.
Following that definition, by default, broadcasts (and multicasts) will be limited to the VLAN in which they occur (unless the layer 3 device is otherwise configured to propagate them).
FWIW
Scott
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide