Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

exclusive-mac

Syntax

Hierarchy Level

Description

Exclude MAC addresses from the MAC move limit algorithm.

The global MAC move feature is used to track MAC addresses when they appear on a different physical interface or within a different unit of the same physical interface. When you configure the exclusive-mac virtual-mac-mac-address/mask parameter at the [edit protocols l2-learning global-mac-move] hierarchy level, specified MAC addresses are excluded and will not be tracked. In addtion, excluded MAC addresses cannot be pinned when mac-pinning is set on an interface.

This feature can be useful in OVSDB-managed topologies with VRRP servers deployed in a redundancy configuration (primary/member), and when MAC move limit is configured. Both servers could negotiate primary role, and the same MAC address could be learned under the global MAC move feature while negotiation is occurring. In such cases, excluding the MAC address of the VRRP servers by using the exclusive-mac statement prevents this “false” move from being tracked.

The following example excludes VRRP V2 virtual router MAC addresses, as defined in RFC 3768:

The following example excludes VRRP V3 virtual router MAC addresses, as defined in RFC 5798:

Options

virtual-mac-mac-address/mask

Specify a MAC address and a mask. If the mask is 48, only the exact MAC address is excluded. If the mask is 40, all the MAC addresses that have the same first 5 bytes are excluded.

Required Privilege Level

view-level—To view this statement in the configuration.

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

Release Information

Statement introduced in Junos OS Release 14.1X53-D45.