cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2532
Views
10
Helpful
5
Replies
Beginner

Why disable mac address learning ??

Hi,

Can anyone make me clear, what are the normal scenarios needed to disable mac address learning on a particular port or on particular vlan ?

Thanks..

5 REPLIES 5
VIP Advisor

You would do this if you

You would do this if you enjoy pain and spending hours performing simple jobs.

Cisco Employee

Hi Mithun,

Hi Mithun,

LAN switches use forwarding tables (Layer 2 (L2) tables, Content Addressable Memory (CAM) tables) to direct traffic to specific ports based on the VLAN number and the destination MAC address of the frame. When there is no entry corresponding to the frame's destination MAC address in the incoming VLAN, the (unicast) frame will be sent to all forwarding ports within the respective VLAN, which causes flooding.

The very cause of flooding is that destination MAC address of the packet is not in the L2 forwarding table of the switch. In this case the packet will be flooded out of all forwarding ports in its VLAN (except the port it was received on).

So to overcome the large amounts of flooded traffic might saturate low-bandwidth links causing network performance issues or complete connectivity outage to devices connected across such low-bandwidth links.

Another common issue caused by flooding is Spanning-Tree Protocol (STP) Topology Change Notification (TCN). TCN is designed to correct forwarding tables after the forwarding topology has changed. This is necessary to avoid a connectivity outage, as after a topology change some destinations previously accessible via particular ports might become accessible via different ports. TCNs are triggered by a port that is transitioning to or from the forwarding state. After the TCN, even if the particular destination MAC address has aged out, flooding should not happen for long in most cases since the address will be relearned.

Hope this helps you to understand.

Thanks,

Jayesh

Re: Hi Mithun,

JSAH,
Can you have another look at the question asked. For what reason or reasons would you disable mac address learning?
You have made a good case as to why it is important to use mac address learning.
The question is why on earth would you disable it - on purpose?
Thanks.

Hi Jsah

I think maybe you misunderstood the question.  You made a great case for why it is important to use mac address learning.

The question asked however is why on earth would anyone disable mac address learning on purpose?

Highlighted
Beginner

Re: Hi Jsah

to my understand, prior to disable mac address learning we should statically assign a mac addr to the interface, once done no other mac address will be learnt on that interface thus improve the network security.

CreatePlease to create content
Content for Community-Ad
July's Community Spotlight Awards
This widget could not be displayed.