09-18-2009 01:23 PM - edited 03-06-2019 07:47 AM
Could someone please tell me if a mac address is getting created as a result of creating a layer 2 Vlan?
Thanks..
09-18-2009 02:05 PM
Mac address of what? A switch port?
Every switch port has a mac address.
I dont understand your question.
10-21-2009 01:17 PM
No, a MAC address is not created as a result of creating a layer 2 VLAN. A MAC address is a uniquue hadware identifier (expressed in hex format) and is present when a device comes out of the box. Each switch port has a MAC associated with it. Each host also has a MAC associated with it.
10-28-2009 08:58 AM
MAC addresses can be mapped to VLANs when using STP with PVST+. PVST+ allows the switch to create an STP instance per VLAN and allows an STP topology PER Vlan, therefore, you'll have one root bridge per VLAN and a MAC address for each root bridge on these VLANs. Can someone correct me if I'm wrong?
Sorry if this isn't the answer you're looking for, I'm new at answering questions. =]
11-03-2009 11:47 AM
Just tested this on a Cisco 3750 on my desk.
I had VLAN 1 Shutdown.
I did a show mac-address-table and there was no MAC for Vlan 1.
I unshut the VLAN 1 interface (no IP configured on it) and now there IS a mac-address entry in my table.
Understand that this is different than just adding say VLAN 10 to your vlan database or something like that.
If all you did was add a VLAN (re, not a virtual interface) to your vlan config then it will NOT create a mac-address entry.
However, if you create an interface, it will.
So the answer to your question is, it depends on what you are trying to do.
Hope that helps!
James
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