Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

mac-pinning

Syntax

Hierarchy Level

Description

Enable MAC pinning on an interface. When you enable MAC pinning on an interface in a bridge domain or VPLS domain, MAC addresses learned over that interface cannot be relearned on any other interface in the same bridge domain or VPLS domain until the MAC address is cleared from the MAC table. If the same MAC address is learned over any other interface in the same bridge domain, it is discarded. This, effectively, controls MAC address moves and prevents creation of loops in Layer 2 bridges.

Note:

If the timeout interval for the MAC addresses is not specified by setting the mac-table-aging-time statement, the MAC addresses learned over the MAC pinning interface are pinned to the interface until the default timeout period.

Default

MAC pinning is not enabled.

Required Privilege Level

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 16.1.

Support at [edit routing-instances routing-instance-name protocols evpn] hierarchy introduced in Junos OS Release 17.2R1 on MX Series Routers with MPC and MIC interfaces.