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

show l2-learning instance

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show l2-learning instance

Description

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

Options

This command has no options.

Required Privilege Level

view

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.

Index

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

content_copy zoom_out_map
user@host> show l2-learning instance
Information for routing instance:

Routing Instance flags (DL -disable learning, SE -stats enabled,
                        AD -packet action drop, LH -mac limit hit)

Routing              Bridging     Index   Logical       Routing     MAC
Instance             Domain               System        flags       limit
__juniper_private1__                  1   Default                    5000
vs1                  vlan100          3   Default                    5120
vs1                  vlan200          4   Default                    5120

Release Information

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

footer-navigation