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