Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show bridge mac-table

Syntax

Description

(MX Series routers only) Display Layer 2 MAC address information.

Options

none

Display all learned Layer 2 MAC address information.

age

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

brief | count | detail | extensive

(Optional) Display the specified level of output.

bridge-domain (all | bridge-domain-name)

(Optional) Display learned Layer 2 MAC addresses for all bridging domains or for the specified bridging domain.

global-count

(Optional) Display the total number of learned Layer 2 MAC addresses on the system.

instance instance-name

(Optional) Display learned Layer 2 MAC addresses for the specified routing instance.

interface interface-name

(Optional) Display learned Layer 2 MAC addresses for the specified interface.

mac-address

(Optional) Display the specified learned Layer 2 MAC address information.

vlan-id (all-vlan | vlan-id)

(Optional) Display learned Layer 2 MAC addresses for all VLANs or for the specified VLAN.

Additional Information

When Layer 2 protocol tunneling is enabled, the tunneling MAC address 01:00:0c:cd:cd:d0 is installed in the MAC table. When the Cisco Discovery Protocol (CDP), Spanning Tree Protocol (STP), or VLAN Trunk Protocol (VTP) is configured for Layer 2 protocol tunneling on an interface, the corresponding protocol MAC address is installed in the MAC table.

Required Privilege Level

view

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 bridge 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 is configured.

  • D—Dynamic MAC address is configured.

  • L—Locally learned MAC address is configured.

  • C—Control MAC address is configured.

  • SE—MAC accounting is enabled.

  • NM—Non-configured MAC.

  • R—Remote PE MAC address is configured.

  • P—MAC Pinned interface is configured

Logical interface

Name of the logical interface.

MAC count

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

Learning interface

Name of the logical interface on which the MAC address was learned.

Learning 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 the 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 bridge mac-table

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

show bridge mac-table (with VXLAN enabled)

show bridge mac-table age (for GE interface)

show bridge mac-table age (for AE interface)

show bridge mac-table count

show bridge mac-table detail

show bridge mac-table instance pbb-evpn

show bridge mac-table

Release Information

Command introduced in Junos OS Release 8.4.

Support for PBB-EVPN instance added in Junos OS Release 16.1

MAC Flag P to indicate a MAC Pinned interface introduced in Junos OS 16.2