Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


show l2-learning instance



Display Layer 2 learning properties for all the configured routing instances.


This command has no options.

Required Privilege Level


Output Fields

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

Table 1: show l2-learning instance Output Fields

Field Name

Field Description

Routing Instance

Name of routing instance.

Bridging Domain

Name of bridging domain.

On MX Series routers you can use the show l2-learning instance <extensive> command option to display the Bridge Service-id information which includes the Config Service ID and the Active Service ID.


Number associated with the routing instance or bridging domain.

Logical System

Name of logical system or Default if no logical system is configured.

Routing instance flags

Status of Layer 2 learning properties for each routing instance:

  • DL—MAC learning is disabled.

  • SE—MAC accounting is enabled.

  • AD—Packets are dropped after MAC address limit is reached.

  • LH—The maximum number of MAC addresses has been learned on the routing instance. The routing instance is not able to learn any additional MAC addresses.

MAC limit

Maximum number of MAC addresses that can be learned from each interface in the routing instance or bridging domain.

Sample Output

show l2-learning instance

Release Information

(MX Series routers only) Command introduced in Junos OS Release 8.4.