l2-learning
Syntax (MX Series, QFX Series, EX Series)
l2-learning {
crb-proxy-mac;
ctxt-history;
global-le-bridge-domain-aging-time;
global-mac-ip-limit number;
global-mac-ip-table-aging-time seconds;
global-mac-limit limit;
global-mac-statistics;
global-mac-table-aging-time seconds;
global-no-mac-learning;
global-mac-move;
global-ctx-limit;
platform-parameters {
no-mac-flush-on-aa-ae-down (disable | enable);
}
}
Syntax (SRX Series)
l2-learning {
global-mac-limit limit {
packet-action-drop;
}
global-mac-table-aging-time seconds;
global-mode (switching | transparent-bridge) ;
global-no-mac-learning;
}
Hierarchy Level
[edit protocols]
Description
Configure Layer 2 (L2) address learning and forwarding properties globally.
The remaining statements are explained separately. See CLI Explorer.
Options
| crb-proxy-mac | Configure proxy MAC address to be used in MAC-IP refresh. In the case of
central routing and bridging deployments, you need to configure the
On IPv4:
On IPv6:
When IRB is not configured on the leaf devices, to do ARP/ND refresh upon ARP/ND timer (Mac-IP timer) expiration, the configured MAC address is used as the source MAC address. |
| ctxt-history | Configure the number and size of files to collect for troubleshooting Layer 2 address learning issues in Ethernet VPN (VPN) networks. |
| global-le-bridge-domain-aging-time |
Specify the aging timer for the Logical Ethernet (LE) bridge-domain. The
system learns the MAC address using the next hop (NH) and the
bridge-domain (BD), which together form the NHBD. The aging timer,
specified in seconds
|
| global-ctx-limit |
Set the debug context history limit to define how many events the system
logs in process memory for debugging. You can specify a value from 0 to
5000000, representing the number of captured events. Each even consumes
up to 200 bytes of memory. By default, the system stores 256000 entries
to log Layer 2 process events. To disable this feature, set the
|
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 8.4.
Statement modified in Junos OS Release 9.5. Support for global mode added in Junos OS Release 15.1X49-D40.
global-le-bridge-domain-aging-time option introduced in Junos OS
Release 14.2R5 for the MX Series.
global-mac-ip-limit and
global-mac-ip-table-aging-time options introduced in Junos OS
Release 17.4R1 for MX Series routers and EX9200 switches.
global-ctx-limit option introduced in Junos OS Release 20.2R3.