03-09-2023 07:41 PM
Let's say we have got pure layer 2 switch, for example cisco old model 2960 switch. The ports on this switch model does not support routing mode. So, in this case whey every ports of this switch have got their own mac address? What is the purpose of that mac address?
Also, for STP bpdu communication this switch uses its system mac address.
Thanks,
Suprit
03-10-2023 12:23 AM
As part of the implementation of the Ethernet protocol every Ethernet needs a mac address.
Can you check perhaps a CDP frame sent by the switch and tell us what is the source mac?
03-10-2023 01:09 AM
Hello Rick,
Need to simulate the CDP in my lab, but i'm afraid I dont have 2960 switch, so will be doing what image I have with me.
Thanks,
Suprit
03-10-2023 01:51 AM
Hello @Richard Burts,
I just tried to capture the CDP frame and found that the source mac is the interface mac of the switch.
03-10-2023 02:19 AM - edited 03-11-2023 12:11 AM
....
03-10-2023 11:10 PM
Hello @MHM Cisco World ,
What layer 2 protocols are you talking about over here? STP, ARP, Layer2 port channel?
STP uses the system mac address and for arp it uses the host mac address to fill up its CAM table.
03-10-2023 11:23 PM - edited 03-11-2023 12:10 AM
...
03-10-2023 11:32 PM
Still, the two mac address that would be in Layer 2 frame source mac (host initiating the ARP) and destination will be all F's.
and the mac in the ARP packet will have target mac of the host initiating the ARP and the destination MAC will be all 0's.
So, my question still remains the same, why we need mac on interface or a pure layer 2 switch?
03-11-2023 12:10 AM
as you like.
03-11-2023 08:49 AM
" So, in this case whey every ports of this switch have got their own mac address? What is the purpose of that mac address?"
It's possible, there is no actual purpose. However, just as I recall when some of the 2960 series, suddenly, supported some basic routing, purpose might have been for future product enhancement.
Or, when manufacturing products, one important method to keeping production costs down, is using "common" components, whenever possible. For example, (and I don't know if this is the case) perhaps the 2960/3560/3750 series use many base/identical components. I.e. interface MACs, on a L2 switch that has no real need for them, just might be a hardware "artifact" because other more "featured" models need that function.
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