Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Configuring MAC Pinning on Access Interfaces for Bridge Domains in a Virtual Switch

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 loops across interfaces in virtual switches, you can configure MAC pinning.

This topic describes how to configure MAC pinning on an access interface for a bridge domain in a virtual switch. A virtual switch represents a Layer 2 network as it filters and forwards traffic only at the data link layer. Each bridge domain in a virtual switch participates in Layer 2 Learning and Forwarding. When an access interface for a bridge domain receives a tagged or untagged packet, the interface’s VLAN ID is added to the packet. The packet is then forwarded within the bridge domain that is configured with the matching VLAN ID.

To configure MAC pinning on access interfaces for bridge domains in a virtual switch:

  1. Configure the interface as an access interface and specify the VLAN ID.
  2. Configure the routing instance as a virtual switch and specify the access interface.
  3. Configure the bridge domain and specify the list of VLAN IDs.
  4. Configure MAC pinning on the interface.
  5. In configuration mode, verify the configuration.