Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

show l2-learning instance

Syntax

show l2-learning instance

Release Information

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

Description

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

Options

This command has no options.

Required Privilege Level

view

List of Sample Output

show l2-learning instance

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

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

Published: 2013-03-14

Published: 2013-03-14