Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Configuring MAC Pinning on Trunk Interfaces for Bridge Domains

A MAC move occurs when a MAC address frequently appears on a different physical interface than the one it was learned on. Frequent MAC moves indicate the presence of loops. To avoid MAC moves across interfaces in bridge domains, you can configure MAC pinning.

In this topic, we are configuring MAC pinning on a trunk interface in a bridge domain. A logical interface configured to accept any packet tagged with a VLAN ID that matches a VLAN ID specified in the domain is called a trunk interface or trunk port. When a trunk interface receives a packet tagged with a VLAN ID that matches the list of VLAN IDs specified within the bridge domain, the packet is then forwarded within the bridge domain that is configured with the matching VLAN ID.

To configure MAC pinning on trunk interfaces in bridge domains:

  1. Configure the interface as a trunk interface and specify the list of VLAN IDs.
  2. Configure the bridge domain by specifying the name of the bridge and the VLAN ID.
  3. Configure MAC pinning on the interface by including the mac-pinning statement at the [edit switch-options] hierarchy level.
  4. In configuration mode, verify the configuration.