duplicate-mac-detection
Syntax
duplicate-mac-detection {
action (block | no-mac-suppression | shutdown);
auto-recovery-time minutes;
auto-recovery-time-seconds seconds;
detection-threshold detection-threshold;
detection-window seconds;
exclude-list exclude-list;
include-local-moves;
}
Hierarchy Level
[edit logical-systems logical-systems-name protocols evpn], [edit logical-systems logical-systems-name routing-instances routing-instance-name protocols evpn], [edit protocols evpn] [edit routing-instances routing-instance-name protocols evpn],
Description
Configure duplicate MAC address detection settings. You can configure a threshold for MAC address mobility events and the window for detecting the number of MAC address mobility events. In addition, you can configure the optional recovery time that the Juniper Networks device waits before the duplicate MAC address is unsuppressed.
Prevent loops at the forwarding plane. You can block a duplicate MAC address or shut down the duplicate MAC address's local interfaces. After you block a duplicate MAC address, you can clear it. After you shut down the interface, you can recover it.
Options
| action |
Block the duplicate MAC address. You can also shut down the duplicate MAC address's corresponding local interface.
|
| auto-recovery-time |
The length of time a device suppresses a duplicate MAC address. At the
end of this interval, MAC address updates will resume. When an auto
recovery time is not specified, duplicate MAC address updates will
continue to be suppressed. To manually clear the suppression of
duplicate MAC address, use the
|
| auto-recovery-time-seconds |
Automatically unblock duplicate MACs after a time delay (seconds)
|
| detection-threshold |
Both this statement and the
|
| detection-window |
Both this statement and the
|
| exclude-list |
MAC list to bypass MAC-duplicate-detection and loop prevention logic. |
| include-local-moves |
Track local MAC address mobility movements. |
To ensure that the mobility advertisements have sufficient time to age out, set an auto-recovery-time greater than the detection window.
Required Privilege Level
routing
Release Information
Statement introduced in Junos OS Release 17.4R1.
exclude-list statement introduced in Junos OS Release 25.2R1 and
Junos OS Evolved Release 25.2R1.