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

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

L2 switch MAC learning procedure


Wondering if ethernet frames with destination MAC broadcast are used in the MAC learning procedure within a L2 switch. For example I have heard that ARP requests (having broadcast destination MAC) are not used to populate the table containg the MAC address associated to a given port. Is that true? Actually I have not found anything in IEEE 802.1 on this regard.




Re: L2 switch MAC learning procedure

Even i could not find anything such !!

Actually MAC-ADDRESS-LEARNING process must not bother about ARP broadcast address.

It just has to see the source MAC address of the frame & add it into mac-address-table.

New Member

Re: L2 switch MAC learning procedure

Something came up locally that completely surprised me. An ARP response is layer 3 concept, as in there is a mac-address in the payload that does not have to match the sending mac-address.

ARP was developed to support more than just IP, so the message contains a protocol field.

To more directly answer your question, switches only learn based on what source mac-address they see coming from what port. A destination of broadcast still has a source of the actual sender so the switch will learn from that frame.

A frame that contains an ARP will have a source address and the switch will learn that source mac, HOWEVER this can actually be different information than what is contained in the ARP reply. It's a little devious but it serves a purpose in some setups like GLBP.

Take a look at the wiki, for more detailed info

Hope that helps you out.


New Member

Re: L2 switch MAC learning procedure

The layer 2 switch learning process is very simple. If a switch generates a frame with any unknown unicast or even a broadcast address, the switch only keeps the source port and MAC address info in the switching table. Now try relating this logic with your statement about ARP and you will get your answer.

CreatePlease to create content