Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

l2-learning

date_range 24-Nov-23

Syntax (MX Series, QFX Series, EX Series)

content_copy zoom_out_map
l2-learning {
    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;
}

Syntax (SRX Series)

content_copy zoom_out_map
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

content_copy zoom_out_map
[edit protocols]

Description

Configure Layer 2 address learning and forwarding properties globally.

The remaining statements are explained separately. See CLI Explorer.

Options

global-le-bridge-domain-aging-time

Specify the aging time of LE bridge-domain. The MAC address is learnt after next hop(NH) and bridge-domain(BD), also called NHBD. This aging time delays the deletion of NHBD. Configuring lesser time, in seconds, results in faster deletion of NHBD.

  • Range: 120 to 1000000 seconds

global-ctx-limit

Specify the debug context history limit. It is the limit for the number of events that are logged in the process memory for debug purposes. The value '0' to '5000000' is the number of events captured in the process memory. Each event entry takes upto 200 Bytes of memory. By default, 256000 entries are saved to log the events that happen in the Layer 2 process. You may disable the feature by setting global-ctx-limit value to '0' and the memory that is currently used for context is freed up and no further event logging happens.

  • Range: 0 to 5000000 event entries

  • Default: 256000 event entries

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.

footer-navigation