-
show bridge mac-table
-
<brief | count | detail | extensive>
-
<bridge-domain (all | bridge-domain-name)>
-
<global-count>
-
<interface interface-name>
-
<mac-address>
-
<vlan-id (all-vlan | vlan-id)>
Command introduced in JUNOS Release 8.4.
(MX-series routers only) Display Layer 2 MAC address information.
none — Display all learned Layer 2 MAC address information.
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.
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.
view
Table 160 describes the output fields for the show bridge mac-table command. Output fields are listed in the approximate order in which they appear.
Table 160: show bridge mac-table Output fields
user@host> show bridge mac-table
MAC flags (S -static MAC, D -dynamic MAC,
SE -Statistics enabled, NM -Non configured MAC)
Routing instance : vs1
Bridging domain : vlan100, VLAN : 100
Learning MAC MAC Logical
VLAN address flags interface
00:00:00:19:1c:db D ge-11/0/3.0
00:00:00:59:3a:2f D xe-10/2/0.100
user@host> show bridge mac-table brief
MAC flags (S -static MAC, D -dynamic MAC,
SE -Statistics enabled, NM -Non configured MAC)
Routing instance : vs1
Bridging domain : vlan100, VLAN : 100
Learning MAC MAC Logical
VLAN address flags interface
00:00:00:19:1c:db D ge-11/0/3.0
00:00:00:59:3a:2f D xe-10/2/0.100
user@host> show bridge mac-table count
2 MAC address learned in routing instance vs1 bridge domain vlan100
MAC address count per interface within routing instance:
Logical interface MAC count
ge-11/0/3.0 1
ge-11/1/4.100 0
ge-11/1/1.100 0
ge-11/1/0.100 0
xe-10/2/0.100 1
xe-10/0/0.100 0
MAC address count per learn VLAN within routing instance:
Learn VLAN ID MAC count
0 2
0 MAC address learned in routing instance vs1 bridge domain vlan200
MAC address count per interface within routing instance:
Logical interface MAC count
ge-11/1/0.200 0
ge-11/1/1.200 0
ge-11/1/4.200 0
xe-10/0/0.200 0
xe-10/2/0.200 0
MAC address count per learn VLAN within routing instance:
Learn VLAN ID MAC count
0 0
user@host> show bridge mac-table detail
MAC address: 00:00:00:19:1c:db Routing instance: vs1 Bridging domain: vlan100 Learning interface: ge-11/0/3.0 Learning VLAN: 0 Layer 2 flags: in_ifd, in_ifl, in_vlan, kernel Epoch: 4 Sequence number: 0 Learning mask: 0x800 IPC generation: 0 MAC address: 00:00:00:59:3a:2f Routing instance: vs1 Bridging domain: vlan100 Learning interface: xe-10/2/0.100 Learning VLAN: 0 Layer 2 flags: in_ifd, in_ifl, in_vlan, kernel Epoch: 7 Sequence number: 0 Learning mask: 0x400 IPC generation: 0