Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?



Syntax (MX Series, QFX Series, EX Series)

Syntax (SRX Series)

Hierarchy Level


Configure Layer 2 address learning and forwarding properties globally.

The remaining statements are explained separately. See CLI Explorer.



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


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.