Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


show l2-learning global-information



Display Layer 2 learning process-related information for the entire device.


This command has no options.

Required Privilege Level


Output Fields

Table 1 describes the output fields for the show l2-learning global-information command. Output fields are listed in the approximate order in which they appear.

Table 1: show l2-learning global-information Output Fields

Field Name

Field Description

MAC aging interval

Configured timeout interval, in seconds, for all MAC table entries.

MAC learning

Status of MAC learning: Enabled or Disabled.

MAC statistics

Status of MAC accounting: Enabled or Disabled.

MAC limit Count

Configured maximum limit on the number of MAC addresses that can be learned.

MAC limit hit flag

Status of the learned MAC limit hit flag: Enabled (the learned MAC exceeds the global MAC limit) or Disabled (the learned MAC does not exceed the global MAC limit).

MAC packet action drop

Status of action to drop packets after the configured MAC address limit is reached: Enabled (packets are dropped) or Disabled (packets are forwarded).

Sample Output

show l2-learning global-information

Release Information

Command introduced in Junos OS Release 8.4.