exclusive-mac
Syntax
exclusive-mac virtual-mac-mac-address/mask;
Hierarchy Level
[edit protocols l2-learning global-mac-move]
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:
[edit] set protocols l2-learning global-mac-move exclusive-mac 00:00:5e:00:01:00/40
The following example excludes VRRP V3 virtual router MAC addresses, as defined in RFC 5798:
[edit] set protocols l2-learning global-mac-move exclusive-mac 00:00:5e:00:02:00/40
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.