Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

mac-pinning

date_range 20-Nov-23

Syntax

content_copy zoom_out_map
mac-pinning;

Hierarchy Level

content_copy zoom_out_map
[edit bridge-domains bridge-domain-name bridge-options interface interface-name],
[edit logical-systems logical-system-name bridge-domains bridge-domain-name bridge-options interface interface-name],
[edit logical-systems logical-system-name routing-instances routing-instance-name bridge-domains bridge-domain-name bridge-options interface interface-name],
[edit logical-systems logical-system-name routing-instances routing-instance-name switch-options interface interface-name],
[edit routing-instances routing-instance-name bridge-domains bridge-domain-name bridge-options interface interface-name],
[edit routing-instances routing-instance-name protocols evpn],
[edit routing-instances routing-instance-name switch-options interface interface-name],
[edit switch-options interface interface-name], 
[edit switch-options interface interface-name interface-mac-limit  limit]

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.

footer-navigation