interface-mac-limit (VPLS)
Syntax
interface-mac-limit limit { packet-action drop; }
Hierarchy Level
[edit logical-systems logical-system-name routing-instances routing-instance-name protocols vpls site site-name interfaces interface-name], [edit routing-instances routing-instance-name protocols evpn], [edit routing-instances routing-instance-name protocols evpn interface interface-name], [edit routing-instances routing-instance-name protocols vpls site site-name interfaces interface-name]
Description
Specify the maximum number of media access control (MAC) addresses that can be learned by the EVPN or VPLS routing instance. You can configure the same limit for all interfaces configured for a routing instance. You can also configure a limit for a specific interface.
Starting with Junos OS Release 12.3R4, if you do not configure
the parameter to limit the number of MAC addresses to be learned by
a VPLS instance, the default value is not effective. Instead, if you
do not include the interface-mac-limit
option at the [edit logical-systems logical-system-name routing-instances routing-instance-name protocols vpls site site-name interfaces interface-name],
hierarchy
level, this setting is not present in the configuration with the default
value of 1024 addresses. If you upgrade a router running a Junos OS
release earlier than Release 12.3R4 to Release 12.3R4 or later, you
must configure the interface-mac-limit
option with a valid
value for it to be saved in the configuration.
When you change the number of stored MAC addresses that a device can learned remotely over an ESI interface, the limit does not immediately take effect. To ensure that you are using the configured MAC address limit immediately, apply the following clear MAC address table command on the multihomed PE devices before you change the number of stored MAC addresses.
-
On the MX series routers, use clear bridge mac-table.
-
On the ACX series routers, EX series and QFX series switches, use clear ethernet-switching table.
Options
limit
—Number
of MAC addresses that can be learned from each interface.
Range: 1 through 131,071 MAC addresses
Note:For M120 devices only, the range is 16 through 65,536 MAC addresses.
Default: 1024 addresses
The remaining statement is explained separately. Search for a statement in CLI Explorer or click a linked statement in the Syntax section for details.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Release Information
Statement introduced before Junos OS Release 7.4.
Support for EVPNs introduced in Junos OS Release 13.2 on MX 3D Series routers.
Support for EVPNs introduced in Junos OS Release 14.2 on EX Series switches.