Configuring MAC Address limit
You can configure the MAC Address limit by enabling the set protocols l2-learning
global-no-hw-mac-learning CLI command.
The following is an example to configure and enable MAC address limit:
[edit protocols]
l2-learning {
global-no-hw-mac-learning;
}
Configuring MAC Address Limits for VLANs
To configure a limit for the number of MAC addresses learned from each logical interface
in a VLAN, include the interface-mac-limit limit statement at the [edit vlans vlan-name]
hierarchy level. To limit the MAC addresses on a specific logical interface of the VLAN,
include the interface-mac-limit limit statement at the [edit vlans vlan-name interface
interface-name] hierarchy level.
The following is an example to configure a limit for the number of MAC addresses learned
on a logical interface in a VLAN:
[edit vlans]
vlan10 {
interface ge-0/0/3.1;
interface ge-0/0/1.5;
switch-options {
interface-mac-limit {
10;
}
}
interface ge-0/0/1.5 {
interface-mac-limit {
20;
}
}
}
Configuring MAC Address Limits for VPLS
To configure a limit for the number of MAC addresses learned from each logical interface
in VPLS routing instance, include the interface-mac-limit limit statement at the [edit
routing-instances routing-instance-name protocols vpls] hierarchy level. To limit the MAC
addresses on a specific logical interface of the VPLS instance, include the
interface-mac-limit limit statement at the [edit routing-instances routing-instance-name
protocols vpls interface interface-name] hierarchy level
The following is an example to configure a limit for the number of MAC addresses learned
on a logical interface in VPLS routing instance:
[routing-instance]
v1 {
protocols {
Copyright © 2017, Juniper Networks, Inc.768
ACX Series Universal Access Router Configuration Guide