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 vpls mac-table

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show vpls mac-table
<age>
<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>

Description

Display learned virtual private LAN service (VPLS) media access control (MAC) address information.

Options

none

Display all learned VPLS MAC address information.

age

(Optional) Display age of a single mac-address.

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

Output Fields

Table 1 describes the output fields for the show vpls 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

Age

Age of a single mac-address.

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.

Base learning interface

Base learning interface of the MAC address. This field is introduced in Junos OS Release 14.2.

Learn VLAN ID/VLAN

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

VXLAN ID/VXLAN

VXLAN Network Identifier (VNI)

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

content_copy zoom_out_map
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:00:5e:00:53: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:5e:00:53:12   D        lsi.1051138          
   00:00:5e:00:53:f0   D        lsi.1051138          

show vpls mac-table (with Layer 2 Services over GRE Interfaces)

content_copy zoom_out_map
user@host> show vpls mac-table
MAC flags (S -static MAC, D -dynamic MAC, L -locally learned
           SE -Statistics enabled, NM -Non configured MAC, R -Remote PE MAC)

Routing instance : vpls_4site:1000
 Bridging domain : __vpls_4site:1000__,   MAC                 MAC      Logical
   address             flags    interface
   00:00:5e:00:53:f4   D,SE     ge-4/2/0.1000
   00:00:5e:00:53:33   D,SE     lsi.1052004
   00:00:5e:00:53:32   D,SE     lsi.1048840
   00:00:5e:00:53:14   D,SE     lsi.1052005
   00:00:5e:00:53:f7   D,SE     gr-1/2/10.10

show vpls mac-table (with VXLAN enabled)

content_copy zoom_out_map
user@host> show vpls mac-table
MAC flags (S -static MAC, D -dynamic MAC, L -locally learned
           SE -Statistics enabled, NM -Non configured MAC, R -Remote PE MAC)

Routing instance : vpls_4site:1000
 Bridging domain : __vpls_4site:1000__, VLAN : 4094,4093
  VXLAN: Id : 300, Multicast group: 233.252.0.1
   MAC                 MAC      Logical
   address             flags    interface
   00:00:5e:00:53:f4   D,SE     ge-4/2/0.1000
   00:00:5e:00:53:33   D,SE     lsi.1052004
   00:00:5e:00:53:32   D,SE     lsi.1048840
   00:00:5e:00:53:14   D,SE     lsi.1052005
   00:00:5e:00:53:f7   D,SE     vtep.1052010
   00:00:5e:00:53:3f   D,SE     vtep.1052011

show vpls mac-table age (for GE interface)

content_copy zoom_out_map
user@host> show vpls mac-table age 00:00:5e:00:53:1a instance vpls_instance_1
MAC Entry Age information
Current Age: 4 seconds

show vpls mac-table age (for AE interface)

content_copy zoom_out_map
user@host> show vpls mac-table age 000:00:5e:00:53:1a instance vpls_instance_1
MAC Entry Age information
Current Age on FPC1: 102 seconds
Current Age on FPC2: 94 seconds

show vpls mac-table count

content_copy zoom_out_map
user@host> show vpls mac-table count
0 MAC address learned in routing instance __example_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

content_copy zoom_out_map
user@host> show vpls mac-table detail
MAC address: 00:00:5e:00:53: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:5e:00:53: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

content_copy zoom_out_map
user@host> show vpls mac-table extensive

MAC address: 00:00:5e:00:53:00
  Routing instance: vpls_1
   Bridging domain: __vpls_1__, VLAN : NA
   Learning interface: lsi.1049165  
   Base learning interface: lsi.1049165  
   Layer 2 flags: in_hash,in_ifd,in_ifl,in_vlan,in_rtt,kernel,in_ifbd
   Epoch: 0                            Sequence number: 1     
   Learning mask: 0x00000001        

MAC address: 00:00:5e:00:53:01
  Routing instance: vpls_1
   Bridging domain: __vpls_1__, VLAN : NA
   Learning interface: lsi.1049165  
   Base learning interface: lsi.1049165  
   Layer 2 flags: in_hash,in_ifd,in_ifl,in_vlan,in_rtt,kernel,in_ifbd
   Epoch: 0                            Sequence number: 1     
   Learning mask: 0x00000001        

MAC address: 00:00:5e:00:53:02
  Routing instance: vpls_1
   Bridging domain: __vpls_1__, VLAN : NA
   Learning interface: lsi.1049165  
   Base learning interface: lsi.1049165  
   Layer 2 flags: in_hash,in_ifd,in_ifl,in_vlan,in_rtt,kernel,in_ifbd
   Epoch: 0                            Sequence number: 1     
   Learning mask: 0x00000001        

MAC address: 00:00:5e:00:53:03
  Routing instance: vpls_1
   Bridging domain: __vpls_1__, VLAN : NA
   Learning interface: lsi.1049165  
   Base learning interface: lsi.1049165  
   Layer 2 flags: in_hash,in_ifd,in_ifl,in_vlan,in_rtt,kernel,in_ifbd
   Epoch: 0                            Sequence number: 1     
   Learning mask: 0x00000001        

Release Information

Command introduced in Junos OS Release 8.5.

footer-navigation