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

    show vpls mac-table

    Syntax

    show vpls mac-table<brief | detail | extensive | summary><bridge-domain bridge-domain-name><instance instance-name><interface interface-name><logical-system (all | logical-system-name)><mac-address><vlan-id vlan-id-number>

    Release Information

    Command introduced in Junos OS Release 8.5.

    Description

    (MX960 routers only) Display learned VPLS MAC address information.

    Options

    none
    —

    Display all learned VPLS MAC address information.

    brief | detail | extensive | summary
    —

    (Optional) Display the specified level of output.

    bridge-domain bridge-domain-name
    —

    (Optional) Display learned VPLS MAC addresses for the specified bridge domain.

    instance instance-name
    —

    (Optional) Display learned VPLS MAC addresses for the specified instance.

    interface interface-name
    —

    (Optional) Display learned VPLS MAC addresses for the specified instance.

    logical-system (all | logical-system-name)
    —

    (Optional) Display learned VPLS MAC addresses for all logical systems or for the specified logical system.

    mac-address
    —

    (Optional) Display the specified learned VPLS MAC address information..

    vlan-id vlan-id-number
    —

    (Optional) Display learned VPLS MAC addresses for the specified VLAN.

    Required Privilege Level

    view

    List of Sample Output

    show vpls mac-table
    show vpls mac-table count
    show vpls mac-table detail
    show vpls mac-table extensive

    Output Fields

    Table 1 describes the output fields for the show bridge mac-table command. Output fields are listed in the approximate order in which they appear.

    Table 1: show vpls mac-table Output fields

    Field Name

    Field Description

    Routing instance

    Name of the routing instance.

    Bridging domain

    Name of the bridging domain.

    MAC address

    MAC address or addresses learned on a logical interface.

    MAC flags

    Status of MAC address learning properties for each interface:

    • S—Static MAC address configured.
    • D—Dynamic MAC address learned.
    • SE—MAC accounting is enabled.
    • NM—Nonconfigured MAC.

    Logical interface

    Name of the logical interface.

    MAC count

    Number of MAC addresses learned on a specific routing instance or interface.

    Learning interface

    Logical interface or logical Label Switched Interface (LSI) the address is learned on.

    Learn VLAN ID/VLAN

    VLAN ID of the routing instance or bridge domain in which the MAC address was learned.

    Layer 2 flags

    Debugging flags signifying that the MAC address is present in various lists.

    Epoch

    Spanning Tree Protocol epoch number identifying when the MAC address was learned. Used for debugging.

    Sequence number

    Sequence number assigned to this MAC address. Used for debugging.

    Learning mask

    Mask of Packet Forwarding Engines where this MAC address was learned. Used for debugging.

    IPC generation

    Creation time of the logical interface when this MAC address was learned. Used for debugging.

    Sample Output

    show vpls mac-table

    user@host> show vpls mac-table
    MAC flags (S -static MAC, D -dynamic MAC,
               SE -Statistics enabled, NM -Non configured MAC)
    
    Routing instance : vpls_ldp1
    VLAN : 223
       MAC                 MAC      Logical
       address             flags    interface 
       00:90:69:9c:1c:5d   D        ge-0/2/5.400         
     
    MAC flags (S -static MAC, D -dynamic MAC,
               SE -Statistics enabled, NM -Non configured MAC)
    
    Routing instance : vpls_red
    VLAN : 401
       MAC                 MAC      Logical
       address             flags    interface 
       00:00:aa:12:12:12   D        lsi.1051138          
       00:05:85:74:9f:f0   D        lsi.1051138          
    

    show vpls mac-table count

    user@host> show vpls mac-table count
    0 MAC address learned in routing instance __juniper_private1__
    
      MAC address count per interface within routing instance:
        Logical interface        MAC count
        lc-0/0/0.32769                   0
        lc-0/1/0.32769                   0
        lc-0/2/0.32769                   0
        lc-2/0/0.32769                   0
        lc-0/3/0.32769                   0
        lc-2/1/0.32769                   0
        lc-9/0/0.32769                   0
        lc-11/0/0.32769                  0
        lc-2/2/0.32769                   0
        lc-9/1/0.32769                   0
        lc-11/1/0.32769                  0
        lc-2/3/0.32769                   0
        lc-9/2/0.32769                   0
        lc-11/2/0.32769                  0
        lc-11/3/0.32769                  0
        lc-9/3/0.32769                   0
    
      MAC address count per learn VLAN within routing instance:
        Learn VLAN ID            MAC count
                    0                    0
    
    1 MAC address learned in routing instance vpls_ldp1
    
      MAC address count per interface within routing instance:
        Logical interface        MAC count
        lsi.1051137                      0
        ge-0/2/5.400                     1
    
      MAC address count per learn VLAN within routing instance:
        Learn VLAN ID            MAC count
                    0                    1
    
    1 MAC address learned in routing instance vpls_red
    
      MAC address count per interface within routing instance:
        Logical interface        MAC count
        ge-0/2/5.300                     1
     
      MAC address count per learn VLAN within routing instance:
        Learn VLAN ID            MAC count
                    0                    1
    

    show vpls mac-table detail

    user@host> show vpls mac-table detail
    MAC address: 00:90:69:9c:1c:5d
      Routing instance: vpls_ldp1
       Learning interface: ge-0/2/5.400  
       Layer 2 flags: in_ifd, in_ifl, in_vlan, kernel
       Epoch: 0                            Sequence number: 1     
       Learning mask: 0x1                  IPC generation: 0     
    
    MAC address: 00:90:69:9c:1c:5d
      Routing instance: vpls_red
       Learning interface: ge-0/2/5.300  
       Layer 2 flags: in_ifd, in_ifl, in_vlan, kernel
       Epoch: 0                            Sequence number: 1     
       Learning mask: 0x1                  IPC generation: 0     
    

    show vpls mac-table extensive

    user@host> show vpls mac-table extensive
    MAC address: 00:00:aa:12:12:12
      Routing instance: vpls_ldp1
       Learning interface: lsi.1051137   
       Layer 2 flags: in_ifd, in_ifl, in_vlan, kernel
       Epoch: 0                            Sequence number: 1     
       Learning mask: 0x1                  IPC generation: 0     
    
    MAC address: 00:05:85:74:9f:f0
      Routing instance: vpls_ldp1
       Learning interface: lsi.1051137   
       Layer 2 flags: in_ifd, in_ifl, in_vlan, kernel
       Epoch: 0                            Sequence number: 1     
       Learning mask: 0x1                  IPC generation: 0     
     
    MAC address: 00:90:69:9c:1c:5d
      Routing instance: vpls_ldp1
       Learning interface: ge-0/2/5.400  
       Layer 2 flags: in_ifd, in_ifl, in_vlan, kernel
       Epoch: 0                            Sequence number: 1     
       Learning mask: 0x1                  IPC generation: 0     
    
    MAC address: 00:00:aa:12:12:12
      Routing instance: vpls_red
       Learning interface: lsi.1051138   
       Layer 2 flags: in_ifd, in_ifl, in_vlan, kernel
       Epoch: 0                            Sequence number: 0     
       Learning mask: 0x1                  IPC generation: 0     
     
    MAC address: 00:05:85:74:9f:f0
      Routing instance: vpls_red
       Learning interface: lsi.1051138   
       Layer 2 flags: in_ifd, in_ifl, in_vlan, kernel
       Epoch: 0                            Sequence number: 0     
       Learning mask: 0x1                  IPC generation: 0     
    

    Published: 2013-03-14