Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    show l2-learning interface

    Syntax

    show l2-learning interface

    Release Information

    Command introduced in Junos OS Release 8.4.

    Description

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

    Options

    This command has no options.

    Required Privilege Level

    view

    List of Sample Output

    show l2-learning interface

    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.

    Sample Output

    show l2-learning interface

    user@host> showl2-learning interface
    Information for interface family:
    
    Logical Interface flags (DL -disable learning, SE -stats enabled,
                             AD -packet action drop, LH -mac limit hit)
    
    Logical           Index  Routing   Interface   Logical              MAC
    interface                instance  device      Interface flags      limit
    ge-11/0/3.0          79         3        136                         1024
    ge-11/1/4.100        84         3        150                         1024
    ge-11/1/1.100        86         3        147                         1024
    ge-11/1/0.100        87         3        146                         1024
    xe-10/2/0.100        88         3        144                         1024
    xe-10/0/0.100        89         3        129                         1024
    ge-11/1/0.200        90         4        146                         1024
    ge-11/1/1.200        91         4        147                         1024
    ge-11/1/4.200        92         4        150                         1024
    xe-10/0/0.200        93         4        129                         1024
    xe-10/2/0.200        94         4        144                         1024

    Published: 2013-03-14