Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show l2-learning interface

Syntax

Description

(MX Series routers only) Display Layer 2 learning information for all the interfaces.

Options

This command has no options.

Required Privilege Level

view

Output Fields

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

Table 1: show l2-learning interfaceOutput Fields

Field Name

Field Description

Logical interface

Name of the logical interface.

Index

Index of the interface.

Routing Instance

Number of the routing instance to which the interface belongs.

Interface device

Value of the order in which the Junos OS finds and initializes the interface.

Logical interface flags

Status of Layer 2 learning properties for each interface:

  • DL—MAC learning is disabled.

  • SE—MAC accounting is enabled.

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

  • MAC limit—Maximum number of MAC addresses that can be learned from the interface.

  • MP—MAC Pinning enabled.

Sample Output

show l2-learning interface

show l2 learning-interface

Release Information

Command introduced in Junos OS Release 8.4.

Added sample output to indicate an EVPN MAC Pinned interface, introduced in Junos OS 16.2R1.