show ethernet-switching table
List of Syntax
Syntax (QFX Series, QFabric, NFX Series and EX4600)Syntax (EX Series)
Syntax (EX Series, MX Series and QFX Series)
Syntax (SRX Series)
Syntax (QFX Series, QFabric, NFX Series and EX4600)
Syntax (EX Series)
Syntax (EX Series, MX Series and QFX Series)
Syntax (SRX Series)
Release Information
Command introduced in Junos OS Release 9.0 for EX Series switches.
Command introduced in Junos OS Release 9.5 for SRX Series.
Options summary, management-vlan, and vlan vlan-name introduced in Junos OS Release 9.6 for EX Series switches.
Option sort-by and field name tag introduced in Junos OS Release 10.1 for EX Series switches.
Command introduced in Junos OS Release 11.1 for the QFX Series.
Output for private VLANs introduced in Junos OS Release 12.1 for the QFX Series.
Option persistent-mac introduced in Junos OS Release 11.4 for EX Series switches.
Command introduced in Junos OS Release 12.3R2.
Command introduced in Junos OS Release 12.3R2 for EX Series switches.
Options logical-system, persistent-learning, and summary introduced in Junos OS Release 13.2X50-D10 (ELS).
Output for shared VXLAN load balancing next hop (SVLBNH) and VXLAN encapsulated next hop (VENH) introduced in Junos OS Release 20.3R1 for QFX Series switches.
Output for pseudo VTEP logical interfaces introduced in Junos OS Release 20.3R1 for QFX Series switches.
Description
Displays the Ethernet switching table.
(MX Series routers,EX Series switches only) Displays Layer 2 MAC address information.
Options
For QFX Series, QFabric, NFX Series and EX4600:
For EX Series, MX Series and QFX Series:
For SRX Series:
none—(Optional) Display brief information about the Ethernet switching table.
brief | detail | extensive—(Optional) Display the specified level of output.
interface-name—(Optional) Display the Ethernet switching table for a specific interface.
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
Related Documentation
List of Sample Output
show ethernet-switching table (Enhanced Layer 2 Software on QFX Series, QFabric, NFX Series and EX460)show ethernet-switching table (QFX Series switches, SVLBNH/VENH field)
show ethernet-switching table (QFX Series, QFabric, NFX Series and EX460)(QFX5100, QFX5110, QFX5120, QFX5200, QFX5210, QFX10002, QFX10002-60C, and QFX10016)
show ethernet-switching table (Private VLANs on QFX Series, QFabric, NFX Series and EX460)
show ethernet-switching table brief (QFX Series, QFabric, NFX Series and EX460)
show ethernet-switching table detail (QFX Series, QFabric, NFX Series and EX460)
show ethernet-switching table extensive (QFX Series, QFabric, NFX Series and EX460)
show ethernet-switching table interface (QFX Series, QFabric, NFX Series and EX460)
show ethernet-switching table (EX Series switches)
show ethernet-switching table brief (EX Series switches)
show ethernet-switching table detail (EX Series switches)
show ethernet-switching table extensive (EX Series switches)
show ethernet-switching table persistent-mac (EX Series switches)
show ethernet-switching table persistent-mac interface ge-0/0/16.0 (EX Series switches)
show ethernet-switching table (EX Series, MX Series and QFX Series)
show ethernet-switching table brief
show ethernet-switching table count
show ethernet-switching table extensive
show ethernet-switching table detail (SRX Series)
show ethernet-switching table extensive (SRX Series)
show ethernet-switching table interface ge-0/0/1 (SRX Series)
show ethernet-switching table vlan-name v100 (QFX Series)
Output Fields
For QFX Series, QFabric, NFX Series and EX4600:
The following table lists the output fields for the show ethernet-switching table command on QFX Series, QFabric, NFX Series and EX4600. Output fields are listed in the approximate order in which they appear.
Table 1: show ethernet-switching table Output Fields on QFX, NFX Series and EX4600
Field Name | Field Description | Level of Output |
---|---|---|
VLAN | Name of a VLAN. | All levels |
MAC address | MAC address associated with the VLAN. | All levels |
Type | Type of MAC address:
| All levels |
Age | Time remaining before the entry ages out and is removed from the Ethernet switching table. | All levels |
Interfaces | Interface associated with learned MAC addresses or with the All-members option (flood entry). | All levels |
Learned | For learned entries, the time at which the entry was added to the Ethernet switching table. | detail, extensive |
For EX Series switches:
The following table lists the output fields for the show ethernet-switching table command on EX Series switches. Output fields are listed in the approximate order in which they appear.
Table 2: show ethernet-switching table Output Fields on EX Series Switches
Field Name | Field Description | Level of Output |
---|---|---|
VLAN | The name of a VLAN. | All levels |
Tag | The VLAN ID tag name or number. | extensive |
MAC or MAC address | The MAC address associated with the VLAN. | All levels |
Type | The type of MAC address. Values are:
| All levels except persistent-mac |
Type | The type of MAC address. Values are:
| persistent-mac |
Age | The time remaining before the entry ages out and is removed from the Ethernet switching table. | All levels |
Interfaces | Interface associated with learned MAC addresses or All-members (flood entry). | All levels |
Learned | For learned entries, the time which the entry was added to the Ethernet switching table. | detail, extensive |
Nexthop index | The next-hop index number. | detail, extensive |
persistent-mac | installed indicates MAC addresses that are in the Ethernet switching table and uninstalled indicates MAC addresses that could not be installed in the table or were uninstalled in an interface-down event (and will be reinstalled in the table when the interface comes back up). |
For EX Series, MX Series and QFX Series:
The table describes the output fields for the show ethernet-switching table command on EX Series, MX Series and QFX Series. Output fields are listed in the approximate order in which they appear.
Table 3: show ethernet-switching table Output fields on EX, MX and QFX Series
Field Name | Field Description |
---|---|
Routing instance | Name of the routing instance. |
VLAN name | Name of the VLAN. |
MAC address | MAC address or addresses learned on a logical interface. |
MAC flags | Status of MAC address learning properties for each interface:
|
Age | This field is not supported. |
Logical interface | Name of the logical interface. Name of the VTEP logical interface learned over remote VTEP. |
SVLBNH/VENH Index | Note: This field appears on QFX5XXX switches that support dynamic load balancing in an EVPN-VXLAN network. Next-hop index number associated with the MAC address of a multihomed remote device in an EVPN-VXLAN network. This index number appears when the Logical Interface column displays esi.nnnn. The index number can be an SVLBNH, a VENH, or a remote virtual tunnel endpoint (VTEP). To get more information about SVLBNHs, VENHs, and remote VTEPs, see show ethernet-switching vxlan-tunnel-end-point svlbnh. |
Active source | IP address or Ethernet segment identifier (ESI) of remote entity on which MAC address is learned. |
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 VLAN 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-protocolepoch 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. |
For SRX Series:
Table 4 lists the output fields for the show ethernet-switching table command. Output fields are listed in the approximate order in which they appear.
Table 4: show ethernet-switching table Output Fields on SRX Series
Field Name | Field Description |
---|---|
VLAN | The name of a VLAN. |
MAC address | The MAC address associated with the VLAN. |
Type | The type of MAC address. Values are:
|
Age | The time remaining before the entry ages out and is removed from the Ethernet switching table. |
Interfaces | Interface associated with learned MAC addresses or All-members (flood entry). |
Learned | For learned entries, the time which the entry was added to the Ethernet switching table. |
Sample Output
show ethernet-switching table (Enhanced Layer 2 Software on QFX Series, QFabric, NFX Series and EX460)
user@switch> show ethernet-switching table
MAC flags (S - static MAC, D - dynamic MAC, L - locally learned, P - Persistent static SE - statistics enabled, NM - non configured MAC, R - remote PE MAC, O - ovsdb MAC) Ethernet switching table : 2 entries, 2 learned Routing instance : default-switch Vlan MAC MAC Age Logical name address flags interface vlan1 b0:c6:9a:ca:3c:01 D - ae1.0 vlan1 b0:c6:9a:ca:3c:03 D - ae1.0 MAC flags (S - static MAC, D - dynamic MAC, L - locally learned, P - Persistent static SE - statistics enabled, NM - non configured MAC, R - remote PE MAC, O - ovsdb MAC) Ethernet switching table : 2 entries, 2 learned Routing instance : default-switch Vlan MAC MAC Age Logical name address flags interface vlan10 b0:c6:9a:ca:3c:01 D - ae1.0 vlan10 b0:c6:9a:ca:3c:03 D - ae1.0 MAC flags (S - static MAC, D - dynamic MAC, L - locally learned, P - Persistent static SE - statistics enabled, NM - non configured MAC, R - remote PE MAC, O - ovsdb MAC) Ethernet switching table : 2 entries, 2 learned Routing instance : default-switch Vlan MAC MAC Age Logical name address flags interface vlan2 b0:c6:9a:ca:3c:01 D - ae1.0 vlan2 b0:c6:9a:ca:3c:03 D - ae1.0 MAC flags (S - static MAC, D - dynamic MAC, L - locally learned, P - Persistent static SE - statistics enabled, NM - non configured MAC, R - remote PE MAC, O - ovsdb MAC) Ethernet switching table : 2 entries, 2 learned Routing instance : default-switch Vlan MAC MAC Age Logical name address flags interface vlan3 b0:c6:9a:ca:3c:01 D - ae1.0 vlan3 b0:c6:9a:ca:3c:03 D - ae1.0 MAC flags (S - static MAC, D - dynamic MAC, L - locally learned, P - Persistent static SE - statistics enabled, NM - non configured MAC, R - remote PE MAC, O - ovsdb MAC) Ethernet switching table : 2 entries, 2 learned Routing instance : default-switch Vlan MAC MAC Age Logical name address flags interface vlan4 b0:c6:9a:ca:3c:01 D - ae1.0 vlan4 b0:c6:9a:ca:3c:03 D - ae1.0
show ethernet-switching table (QFX Series switches, SVLBNH/VENH field)
user@switch> show ethernet-switching table
MAC flags (S - static MAC, D - dynamic MAC, L - locally learned, P - Persistent static SE - statistics enabled, NM - non configured MAC, R - remote PE MAC, O - ovsdb MAC) Ethernet switching table : 16 entries, 16 learned Routing instance : default-switch Vlan MAC MAC Logical SVLBNH/ Active name address flags interface VENH Index source vlanBLACK 00:00:5e:00:53:01 DR esi.1773 1782 05:00:00:02:9a:00:00:00:68:00 vlanBLACK 00:00:5e:00:53:02 DR esi.1773 1782 05:00:00:02:9a:00:00:00:68:00 vlanBLACK 00:00:5e:00:53:80 D vtep.32772 10.0.0.1 vlanBLACK 00:00:5e:00:53:00 D vtep.32769 10.0.1.1 vlanBLUE 00:00:5e:00:53:01 DR esi.1772 1782 05:00:00:02:9a:00:00:00:66:00 vlanBLUE 00:00:5e:00:53:02 DR esi.1772 1782 05:00:00:02:9a:00:00:00:66:00 vlanBLUE 00:00:5e:00:53:80 D vtep.32772 10.0.0.1 vlanBLUE 00:00:5e:00:53:00 D vtep.32769 10.0.1.1 vlanGREEN 00:00:5e:00:53:01 DR esi.1774 1782 05:00:00:02:9a:00:00:00:67:00 vlanGREEN 00:00:5e:00:53:02 DR esi.1774 1782 05:00:00:02:9a:00:00:00:67:00 vlanGREEN 00:00:5e:00:53:80 D vtep.32772 10.0.0.1 vlanGREEN 00:00:5e:00:53:00 D vtep.32769 10.0.1.1 vlanRED 00:00:5e:00:53:01 DR esi.1771 1782 05:00:00:02:9a:00:00:00:65:00 vlanRED 00:00:5e:00:53:02 DR esi.1771 1782 05:00:00:02:9a:00:00:00:65:00 vlanRED 00:00:5e:00:53:80 D vtep.32772 10.0.0.1
show ethernet-switching table (QFX Series, QFabric, NFX Series and EX460)(QFX5100, QFX5110, QFX5120, QFX5200, QFX5210, QFX10002, QFX10002-60C, and QFX10016)
user@switch> show ethernet-switching table
Ethernet-switching table: 57 entries, 17 learned VLAN MAC address Type Age Interfaces F2 * Flood - All-members F2 00:00:05:00:00:03 Learn 0 xe-0/0/44.0 F2 00:19:e2:50:7d:e0 Static - Router Linux * Flood - All-members Linux 00:19:e2:50:7d:e0 Static - Router Linux 00:30:48:90:54:89 Learn 0 xe-0/0/47.0 T1 * Flood - All-members T1 00:00:05:00:00:01 Learn 0 xe-0/0/46.0 T1 00:00:5e:00:01:00 Static - Router T1 00:19:e2:50:63:e0 Learn 0 xe-0/0/46.0 T1 00:19:e2:50:7d:e0 Static - Router T10 * Flood - All-members T10 00:00:5e:00:01:09 Static - Router T10 00:19:e2:50:63:e0 Learn 0 xe-0/0/46.0 T10 00:19:e2:50:7d:e0 Static - Router T111 * Flood - All-members T111 00:19:e2:50:63:e0 Learn 0 xe-0/0/15.0 T111 00:19:e2:50:7d:e0 Static - Router T111 00:19:e2:50:ac:00 Learn 0 xe-0/0/15.0 T2 * Flood - All-members T2 00:00:5e:00:01:01 Static - Router T2 00:19:e2:50:63:e0 Learn 0 xe-0/0/46.0 T2 00:19:e2:50:7d:e0 Static - Router T3 * Flood - All-members T3 00:00:5e:00:01:02 Static - Router T3 00:19:e2:50:63:e0 Learn 0 xe-0/0/46.0 T3 00:19:e2:50:7d:e0 Static - Router T4 * Flood - All-members T4 00:00:5e:00:01:03 Static - Router T4 00:19:e2:50:63:e0 Learn 0 xe-0/0/46.0 [output truncated]
show ethernet-switching table (Private VLANs on QFX Series, QFabric, NFX Series and EX460)
user@switch> show ethernet-switching table
Ethernet-switching table: 10 entries, 3 learned VLAN MAC address Type Age Interfaces pvlan * Flood - All-members pvlan 00:10:94:00:00:02 Replicated - xe-0/0/28.0 pvlan 00:10:94:00:00:35 Replicated - xe-0/0/46.0 pvlan 00:10:94:00:00:46 Replicated - xe-0/0/4.0 c2 * Flood - All-members c2 00:10:94:00:00:02 Learn 0 xe-0/0/28.0 c1 * Flood - All-members c1 00:10:94:00:00:46 Learn 0 xe-0/0/4.0 __pvlan_pvlan_xe-0/0/46.0__ * Flood - All-members __pvlan_pvlan_xe-0/0/46.0__ 00:10:94:00:00:35 Learn 0 xe-0/0/46.0
show ethernet-switching table brief (QFX Series, QFabric, NFX Series and EX460)
user@switch> show ethernet-switching table brief
Ethernet-switching table: 57 entries, 17 learned VLAN MAC address Type Age Interfaces F2 * Flood - All-members F2 00:00:05:00:00:03 Learn 0 xe-0/0/44.0 F2 00:19:e2:50:7d:e0 Static - Router Linux * Flood - All-members Linux 00:19:e2:50:7d:e0 Static - Router Linux 00:30:48:90:54:89 Learn 0 xe-0/0/47.0 T1 * Flood - All-members T1 00:00:05:00:00:01 Learn 0 xe-0/0/46.0 T1 00:00:5e:00:01:00 Static - Router T1 00:19:e2:50:63:e0 Learn 0 xe-0/0/46.0 T1 00:19:e2:50:7d:e0 Static - Router T10 * Flood - All-members T10 00:00:5e:00:01:09 Static - Router T10 00:19:e2:50:63:e0 Learn 0 xe-0/0/46.0 T10 00:19:e2:50:7d:e0 Static - Router T111 * Flood - All-members T111 00:19:e2:50:63:e0 Learn 0 xe-0/0/15.0 T111 00:19:e2:50:7d:e0 Static - Router T111 00:19:e2:50:ac:00 Learn 0 xe-0/0/15.0 T2 * Flood - All-members T2 00:00:5e:00:01:01 Static - Router T2 00:19:e2:50:63:e0 Learn 0 xe-0/0/46.0 T2 00:19:e2:50:7d:e0 Static - Router T3 * Flood - All-members T3 00:00:5e:00:01:02 Static - Router T3 00:19:e2:50:63:e0 Learn 0 xe-0/0/46.0 T3 00:19:e2:50:7d:e0 Static - Router T4 * Flood - All-members T4 00:00:5e:00:01:03 Static - Router T4 00:19:e2:50:63:e0 Learn 0 xe-0/0/46.0 [output truncated]
show ethernet-switching table detail (QFX Series, QFabric, NFX Series and EX460)
user@switch> show ethernet-switching table detail
Ethernet-switching table: 57 entries, 17 learned F2, * Interface(s): xe-0/0/44.0 Type: Flood Nexthop index: 0 F2, 00:00:05:00:00:03 Interface(s): xe-0/0/44.0 Type: Learn, Age: 0, Learned: 2:03:09 Nexthop index: 0 F2, 00:19:e2:50:7d:e0 Interface(s): Router Type: Static Nexthop index: 0 Linux, * Interface(s): xe-0/0/47.0 Type: Flood Nexthop index: 0 Linux, 00:19:e2:50:7d:e0 Interface(s): Router Type: Static Nexthop index: 0 Linux, 00:30:48:90:54:89 Interface(s): xe-0/0/47.0 Type: Learn, Age: 0, Learned: 2:03:08 Nexthop index: 0 T1, * Interface(s): xe-0/0/46.0 Type: Flood Nexthop index: 0 T1, 00:00:05:00:00:01 Interface(s): xe-0/0/46.0 Type: Learn, Age: 0, Learned: 2:03:07 Nexthop index: 0 T1, 00:00:5e:00:01:00 Interface(s): Router Type: Static Nexthop index: 0 T1, 00:19:e2:50:63:e0 Interface(s): xe-0/0/46.0 Type: Learn, Age: 0, Learned: 2:03:07 Nexthop index: 0 T1, 00:19:e2:50:7d:e0 Interface(s): Router Type: Static Nexthop index: 0 T10, * Interface(s): xe-0/0/46.0 Type: Flood Nexthop index: 0 T10, 00:00:5e:00:01:09 Interface(s): Router Type: Static Nexthop index: 0 T10, 00:19:e2:50:63:e0 Interface(s): xe-0/0/46.0 Type: Learn, Age: 0, Learned: 2:03:08 Nexthop index: 0 T10, 00:19:e2:50:7d:e0 Interface(s): Router Type: Static Nexthop index: 0 T111, * Interface(s): xe-0/0/15.0 Type: Flood Nexthop index: 0 [output truncated]
show ethernet-switching table extensive (QFX Series, QFabric, NFX Series and EX460)
user@switch> show ethernet-switching table extensive
Ethernet-switching table: 57 entries, 17 learned F2, * Interface(s): xe-0/0/44.0 Type: Flood Nexthop index: 0 F2, 00:00:05:00:00:03 Interface(s): xe-0/0/44.0 Type: Learn, Age: 0, Learned: 2:03:09 Nexthop index: 0 F2, 00:19:e2:50:7d:e0 Interface(s): Router Type: Static Nexthop index: 0 Linux, * Interface(s): xe-0/0/47.0 Type: Flood Nexthop index: 0 Linux, 00:19:e2:50:7d:e0 Interface(s): Router Type: Static Nexthop index: 0 Linux, 00:30:48:90:54:89 Interface(s): xe-0/0/47.0 Type: Learn, Age: 0, Learned: 2:03:08 Nexthop index: 0 T1, * Interface(s): xe-0/0/46.0 Type: Flood Nexthop index: 0 T1, 00:00:05:00:00:01 Interface(s): xe-0/0/46.0 Type: Learn, Age: 0, Learned: 2:03:07 Nexthop index: 0 T1, 00:00:5e:00:01:00 Interface(s): Router Type: Static Nexthop index: 0 T1, 00:19:e2:50:63:e0 Interface(s): xe-0/0/46.0 Type: Learn, Age: 0, Learned: 2:03:07 Nexthop index: 0 T1, 00:19:e2:50:7d:e0 Interface(s): Router Type: Static Nexthop index: 0 T10, * Interface(s): xe-0/0/46.0 Type: Flood Nexthop index: 0 T10, 00:00:5e:00:01:09 Interface(s): Router Type: Static Nexthop index: 0 T10, 00:19:e2:50:63:e0 Interface(s): xe-0/0/46.0 Type: Learn, Age: 0, Learned: 2:03:08 Nexthop index: 0 T10, 00:19:e2:50:7d:e0 Interface(s): Router Type: Static Nexthop index: 0 T111, * Interface(s): xe-0/0/15.0 Type: Flood Nexthop index: 0 [output truncated]
show ethernet-switching table interface (QFX Series, QFabric, NFX Series and EX460)
user@switch> show ethernet-switching table interface
xe-0/0/1
Ethernet-switching table: 1 unicast entries VLAN MAC address Type Age Interfaces V1 * Flood - All-members V1 00:00:05:00:00:05 Learn 0 xe-0/0/1.0
show ethernet-switching table (EX Series switches)
user@switch> show ethernet-switching table
Ethernet-switching table: 57 entries, 15 learned, 2 persistent VLAN MAC address Type Age Interfaces F2 * Flood - All-members F2 00:00:05:00:00:03 Learn 0 ge-0/0/44.0 F2 00:19:e2:50:7d:e0 Static - Router Linux * Flood - All-members Linux 00:19:e2:50:7d:e0 Static - Router Linux 00:30:48:90:54:89 Learn 0 ge-0/0/47.0 T1 * Flood - All-members T1 00:00:05:00:00:01 Persistent 0 ge-0/0/46.0 T1 00:00:5e:00:01:00 Static - Router T1 00:19:e2:50:63:e0 Persistent 0 ge-0/0/46.0 T1 00:19:e2:50:7d:e0 Static - Router T10 * Flood - All-members T10 00:00:5e:00:01:09 Static - Router T10 00:19:e2:50:63:e0 Learn 0 ge-0/0/46.0 T10 00:19:e2:50:7d:e0 Static - Router T111 * Flood - All-members T111 00:19:e2:50:63:e0 Learn 0 ge-0/0/15.0 T111 00:19:e2:50:7d:e0 Static - Router T111 00:19:e2:50:ac:00 Learn 0 ge-0/0/15.0 T2 * Flood - All-members T2 00:00:5e:00:01:01 Static - Router T2 00:19:e2:50:63:e0 Learn 0 ge-0/0/46.0 T2 00:19:e2:50:7d:e0 Static - Router T3 * Flood - All-members T3 00:00:5e:00:01:02 Static - Router T3 00:19:e2:50:63:e0 Learn 0 ge-0/0/46.0 T3 00:19:e2:50:7d:e0 Static - Router T4 * Flood - All-members T4 00:00:5e:00:01:03 Static - Router T4 00:19:e2:50:63:e0 Learn 0 ge-0/0/46.0 [output truncated]
show ethernet-switching table brief (EX Series switches)
user@switch> show ethernet-switching table brief
Ethernet-switching table: 57 entries, 15 learned, 2 persistent entries VLAN MAC address Type Age Interfaces F2 * Flood - All-members F2 00:00:05:00:00:03 Learn 0 ge-0/0/44.0 F2 00:19:e2:50:7d:e0 Static - Router Linux * Flood - All-members Linux 00:19:e2:50:7d:e0 Static - Router Linux 00:30:48:90:54:89 Learn 0 ge-0/0/47.0 T1 * Flood - All-members T1 00:00:05:00:00:01 Persistent 0 ge-0/0/46.0 T1 00:00:5e:00:01:00 Static - Router T1 00:19:e2:50:63:e0 Persistent 0 ge-0/0/46.0 T1 00:19:e2:50:7d:e0 Static - Router T10 * Flood - All-members T10 00:00:5e:00:01:09 Static - Router T10 00:19:e2:50:63:e0 Learn 0 ge-0/0/46.0 T10 00:19:e2:50:7d:e0 Static - Router T111 * Flood - All-members T111 00:19:e2:50:63:e0 Learn 0 ge-0/0/15.0 T111 00:19:e2:50:7d:e0 Static - Router T111 00:19:e2:50:ac:00 Learn 0 ge-0/0/15.0 T2 * Flood - All-members T2 00:00:5e:00:01:01 Static - Router T2 00:19:e2:50:63:e0 Learn 0 ge-0/0/46.0 T2 00:19:e2:50:7d:e0 Static - Router T3 * Flood - All-members T3 00:00:5e:00:01:02 Static - Router T3 00:19:e2:50:63:e0 Learn 0 ge-0/0/46.0 T3 00:19:e2:50:7d:e0 Static - Router T4 * Flood - All-members T4 00:00:5e:00:01:03 Static - Router T4 00:19:e2:50:63:e0 Learn 0 ge-0/0/46.0 [output truncated]
show ethernet-switching table detail (EX Series switches)
user@switch> show ethernet-switching table detail
Ethernet-switching table: 5 entries, 2 learned entries VLAN: default, Tag: 0, MAC: *, Interface: All-members Interfaces: ge-0/0/11.0, ge-0/0/20.0, ge-0/0/30.0, ge-0/0/36.0, ge-0/0/3.0 Type: Flood Nexthop index: 1307 VLAN: default, Tag: 0, MAC: 00:1f:12:30:b8:83, Interface: ge-0/0/3.0 Type: Learn, Age: 0, Learned: 20:09:26 Nexthop index: 1315 VLAN: v1, Tag: 101, MAC: *, Interface: All-members Interfaces: ge-0/0/31.0 Type: Flood Nexthop index: 1313 VLAN: v1, Tag: 101, MAC: 00:1f:12:30:b8:89, Interface: ge-0/0/31.0 Type: Learn, Age: 0, Learned: 20:09:25 Nexthop index: 1312 VLAN: v2, Tag: 102, MAC: *, Interface: All-members Interfaces: ae0.0 Type: Flood Nexthop index: 1317
show ethernet-switching table extensive (EX Series switches)
user@switch> show ethernet-switching table extensive
Ethernet-switching table: 3 entries, 1 learned, 5 persistent entries VLAN: v1, Tag: 10, MAC: *, Interface: All-members Interfaces: ge-0/0/14.0, ge-0/0/1.0, ge-0/0/2.0, ge-0/0/3.0, ge-0/0/4.0, ge-0/0/5.0, ge-0/0/6.0, ge-0/0/7.0, ge-0/0/8.0, ge-0/0/10.0, ge-0/0/0.0 Type: Flood Nexthop index: 567 VLAN: v1, Tag: 10, MAC: 00:21:59:c6:93:22, Interface: Router Type: Static Nexthop index: 0 VLAN: v1, Tag: 10, MAC: 00:21:59:c9:9a:4e, Interface: ge-0/0/14.0 Type: Learn, Age: 0, Learned: 18:40:50 Nexthop index: 564
show ethernet-switching table persistent-mac (EX Series switches)
user@switch> show ethernet-switching table persistent-mac
VLAN MAC address Type Interface default 00:10:94:00:00:02 installed ge-0/0/42.0 default 00:10:94:00:00:03 installed ge-0/0/42.0 default 00:10:94:00:00:04 installed ge-0/0/42.0 default 00:10:94:00:00:05 installed ge-0/0/42.0 default 00:10:94:00:00:06 installed ge-0/0/42.0 default 00:10:94:00:05:02 uninstalled ge-0/0/16.0 default 00:10:94:00:06:03 uninstalled ge-0/0/16.0 default 00:10:94:00:07:04 uninstalled ge-0/0/16.0
show ethernet-switching table persistent-mac interface ge-0/0/16.0 (EX Series switches)
VLAN MAC address Type Interface default 00:10:94:00:05:02 uninstalled ge-0/0/16.0 default 00:10:94:00:06:03 uninstalled ge-0/0/16.0 default 00:10:94:00:07:04 uninstalled ge-0/0/16.0
show ethernet-switching table (EX Series, MX Series and QFX Series)
user@host> show ethernet-switching 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 : default-switch Vlan MAC MAC Age Logical name address flags interface VLAN101 88:e0:f3:bb:07:f0 D - ae20.0 MAC flags (S - static MAC, D - dynamic MAC, L - locally learned SE - statistics enabled, NM - non configured MAC, R - remote PE MAC) Routing instance : default-switch Vlan MAC MAC Age Logical name address flags interface VLAN102 88:e0:f3:bb:07:f0 D - ae20.0 MAC flags (S - static MAC, D - dynamic MAC, L - locally learned SE - statistics enabled, NM - non configured MAC, R - remote PE MAC) Routing instance : default-switch Vlan MAC MAC Age Logical name address flags interface VLAN103 88:e0:f3:bb:07:f0 D - ae20.0 MAC flags (S - static MAC, D - dynamic MAC, L - locally learned SE - statistics enabled, NM - non configured MAC, R - remote PE MAC) Routing instance : default-switch Vlan MAC MAC Age Logical name address flags interface VLAN104 88:e0:f3:bb:07:f0 D - ae20.0 MAC flags (S - static MAC, D - dynamic MAC, L - locally learned SE - statistics enabled, NM - non configured MAC, R - remote PE MAC) Routing instance : default-switch Vlan MAC MAC Age Logical name address flags interface VLAN1101 00:1f:12:32:f5:c1 D - ae0.0 MAC flags (S - static MAC, D - dynamic MAC, L - locally learned SE - statistics enabled, NM - non configured MAC, R - remote PE MAC) Routing instance : default-switch Vlan MAC MAC Age Logical name address flags interface VLAN1102 00:1f:12:32:f5:c1 D - ae0.0 MAC flags (S - static MAC, D - dynamic MAC, L - locally learned SE - statistics enabled, NM - non configured MAC, R - remote PE MAC) Routing instance : default-switch Vlan MAC MAC Age Logical name address flags interface VLAN1103 00:1f:12:32:f5:c1 D - ae0.0 MAC flags (S - static MAC, D - dynamic MAC, L - locally learned SE - statistics enabled, NM - non configured MAC, R - remote PE MAC) Routing instance : default-switch Vlan MAC MAC Age Logical name address flags interface VLAN1104 00:1f:12:32:f5:c1 D - ae0.0 MAC flags (S - static MAC, D - dynamic MAC, L - locally learned SE - statistics enabled, NM - non configured MAC, R - remote PE MAC) Routing instance : default-switch Vlan MAC MAC Age Logical name address flags interface VLAN1105 00:1f:12:32:f5:c1 D - ae0.0 MAC flags (S - static MAC, D - dynamic MAC, L - locally learned SE - statistics enabled, NM - non configured MAC, R - remote PE MAC) Routing instance : default-switch Vlan MAC MAC Age Logical name address flags interface VLAN1106 00:1f:12:32:f5:c1 D - ae0.0 [...output truncated...]
show ethernet-switching table brief
user@host> show ethernet-switching table brief
MAC flags (S - static MAC, D - dynamic MAC, L - locally learned SE - statistics enabled, NM - non configured MAC, R - remote PE MAC) Routing instance : default-switch Vlan MAC MAC Age Logical name address flags interface VLAN101 88:e0:f3:bb:07:f0 D - ae20.0 MAC flags (S - static MAC, D - dynamic MAC, L - locally learned SE - statistics enabled, NM - non configured MAC, R - remote PE MAC) Routing instance : default-switch Vlan MAC MAC Age Logical name address flags interface VLAN102 88:e0:f3:bb:07:f0 D - ae20.0 MAC flags (S - static MAC, D - dynamic MAC, L - locally learned SE - statistics enabled, NM - non configured MAC, R - remote PE MAC) Routing instance : default-switch Vlan MAC MAC Age Logical name address flags interface VLAN103 88:e0:f3:bb:07:f0 D - ae20.0 MAC flags (S - static MAC, D - dynamic MAC, L - locally learned SE - statistics enabled, NM - non configured MAC, R - remote PE MAC) Routing instance : default-switch Vlan MAC MAC Age Logical name address flags interface VLAN104 88:e0:f3:bb:07:f0 D - ae20.0 MAC flags (S - static MAC, D - dynamic MAC, L - locally learned SE - statistics enabled, NM - non configured MAC, R - remote PE MAC) Routing instance : default-switch Vlan MAC MAC Age Logical name address flags interface VLAN1101 00:1f:12:32:f5:c1 D - ae0.0 [...output truncated...]
show ethernet-switching table count
user@host> show ethernet-switching table count
0 MAC address learned in routing instance default-switch VLAN VLAN1000 ae26.0:1000 1 MAC address learned in routing instance default-switch VLAN VLAN101 ae20.0:101 MAC address count per learn VLAN within routing instance: Learn VLAN ID MAC count Static MAC count 101 1 0 1 MAC address learned in routing instance default-switch VLAN VLAN102 ae20.0:102 MAC address count per learn VLAN within routing instance: Learn VLAN ID MAC count Static MAC count 102 1 0 1 MAC address learned in routing instance default-switch VLAN VLAN103 ae20.0:103 MAC address count per learn VLAN within routing instance: Learn VLAN ID MAC count Static MAC count 103 1 0 1 MAC address learned in routing instance default-switch VLAN VLAN104 ae20.0:104 MAC address count per learn VLAN within routing instance: Learn VLAN ID MAC count Static MAC count 104 1 0 0 MAC address learned in routing instance default-switch VLAN VLAN105 ae20.0:105 0 MAC address learned in routing instance default-switch VLAN VLAN106 ae20.0:106 0 MAC address learned in routing instance default-switch VLAN VLAN107 ae20.0:107 0 MAC address learned in routing instance default-switch VLAN VLAN108 ae20.0:108 0 MAC address learned in routing instance default-switch VLAN VLAN109 ae20.0:109 0 MAC address learned in routing instance default-switch VLAN VLAN110 ae20.0:110 1 MAC address learned in routing instance default-switch VLAN VLAN1101 ae0.0:1101 MAC address count per learn VLAN within routing instance: Learn VLAN ID MAC count Static MAC count 1101 1 0 1 MAC address learned in routing instance default-switch VLAN VLAN1102 ae0.0:1102 MAC address count per learn VLAN within routing instance: Learn VLAN ID MAC count Static MAC count 1102 1 0 [...output truncated...]
show ethernet-switching table extensive
user@host> show ethernet-switching table extensive
MAC address: 88:e0:f3:bb:07:f0 Routing instance: default-switch VLAN ID: 101 Learning interface: ae20.0 Layer 2 flags: in_hash,in_ifd,in_ifl,in_vlan,in_rtt,kernel,in_ifbd Epoch: 0 Sequence number: 2 Learning mask: 0x00000008 MAC address: 88:e0:f3:bb:07:f0 Routing instance: default-switch VLAN ID: 102 Learning interface: ae20.0 Layer 2 flags: in_hash,in_ifd,in_ifl,in_vlan,in_rtt,kernel,in_ifbd Epoch: 0 Sequence number: 2 Learning mask: 0x00000008 MAC address: 88:e0:f3:bb:07:f0 Routing instance: default-switch VLAN ID: 103 Learning interface: ae20.0 Layer 2 flags: in_hash,in_ifd,in_ifl,in_vlan,in_rtt,kernel,in_ifbd Epoch: 0 Sequence number: 2 Learning mask: 0x00000008 MAC address: 88:e0:f3:bb:07:f0 Routing instance: default-switch VLAN ID: 104 Learning interface: ae20.0 Layer 2 flags: in_hash,in_ifd,in_ifl,in_vlan,in_rtt,kernel,in_ifbd Epoch: 0 Sequence number: 2 Learning mask: 0x00000008 MAC address: 00:1f:12:32:f5:c1 Routing instance: default-switch VLAN ID: 1101 Learning interface: ae0.0 Layer 2 flags: in_hash,in_ifd,in_ifl,in_vlan,in_rtt,kernel,in_ifbd Epoch: 0 Sequence number: 2 Learning mask: 0x00000008 MAC address: 00:1f:12:32:f5:c1 Routing instance: default-switch VLAN ID: 1102 Learning interface: ae0.0 Layer 2 flags: in_hash,in_ifd,in_ifl,in_vlan,in_rtt,kernel,in_ifbd Epoch: 0 Sequence number: 2 Learning mask: 0x00000008 MAC address: 00:1f:12:32:f5:c1 Routing instance: default-switch VLAN ID: 1103 Learning interface: ae0.0 Layer 2 flags: in_hash,in_ifd,in_ifl,in_vlan,in_rtt,kernel,in_ifbd Epoch: 0 Sequence number: 2 Learning mask: 0x00000008 MAC address: 00:1f:12:32:f5:c1 Routing instance: default-switch VLAN ID: 1104 Learning interface: ae0.0 Layer 2 flags: in_hash,in_ifd,in_ifl,in_vlan,in_rtt,kernel,in_ifbd Epoch: 0 Sequence number: 2 Learning mask: 0x00000008
Sample Output
show ethernet-switching table detail (SRX Series)
user@host> show
ethernet-switching table detail
Ethernet-switching table: 57 entries, 17 learned F2, * Interface(s): ge-0/0/44.0 Type: Flood F2, 00:00:5E:00:53:AC Interface(s): ge-0/0/44.0 Type: Learn, Age: 0, Learned: 2:03:09 F2, 00:00:5E:00:53:AA Interface(s): Router Type: Static Linux, * Interface(s): ge-0/0/47.0 Type: Flood Linux, 00:00:5E:00:53:AB Interface(s): Router Type: Static Linux, 00:00:5E:00:53:AC Interface(s): ge-0/0/47.0 Type: Learn, Age: 0, Learned: 2:03:08 T1, * Interface(s): ge-0/0/46.0 Type: Flood T1, 00:00:5E:00:53:AD Interface(s): ge-0/0/46.0 Type: Learn, Age: 0, Learned: 2:03:07 T1, 00:00:5E:00:53:AE Interface(s): Router Type: Static T1, 00:00:5E:00:53:AF Interface(s): ge-0/0/46.0 Type: Learn, Age: 0, Learned: 2:03:07 T1, 00:00:5E:00:53:AG Interface(s): Router Type: Static T10, * Interface(s): ge-0/0/46.0 Type: Flood T10, 00:00:5E:00:53:AH Interface(s): Router Type: Static T10, 00:00:5E:00:53:AI Interface(s): ge-0/0/46.0 Type: Learn, Age: 0, Learned: 2:03:08 T10, 00:00:5E:00:53:AJ Interface(s): Router Type: Static T111, * Interface(s): ge-0/0/15.0 Type: Flood [output truncated]
Sample Output
show ethernet-switching table extensive (SRX Series)
user@host> show
ethernet-switching table extensive
Ethernet-switching table: 57 entries, 17 learned F2, * Interface(s): ge-0/0/44.0 Type: Flood F2, 00:00:5E:00:53:AC Interface(s): ge-0/0/44.0 Type: Learn, Age: 0, Learned: 2:03:09 F2, 00:00:5E:00:53:AA Interface(s): Router Type: Static Linux, * Interface(s): ge-0/0/47.0 Type: Flood Linux, 00:00:5E:00:53:AB Interface(s): Router Type: Static Linux, 00:00:5E:00:53:AC Interface(s): ge-0/0/47.0 Type: Learn, Age: 0, Learned: 2:03:08 T1, * Interface(s): ge-0/0/46.0 Type: Flood T1, 00:00:5E:00:53:AD Interface(s): ge-0/0/46.0 Type: Learn, Age: 0, Learned: 2:03:07 T1, 00:00:5E:00:53:AE Interface(s): Router Type: Static T1, 00:00:5E:00:53:AF Interface(s): ge-0/0/46.0 Type: Learn, Age: 0, Learned: 2:03:07 T1, 00:00:5E:00:53:AG Interface(s): Router Type: Static T10, * Interface(s): ge-0/0/46.0 Type: Flood T10, 00:00:5E:00:53:AH Interface(s): Router Type: Static T10, 00:00:5E:00:53:AI Interface(s): ge-0/0/46.0 Type: Learn, Age: 0, Learned: 2:03:08 T10, 00:00:5E:00:53:AJ Interface(s): Router Type: Static T111, * Interface(s): ge-0/0/15.0 Type: Flood [output truncated]
Sample Output
show ethernet-switching table interface ge-0/0/1 (SRX Series)
user@host> show
ethernet-switching table interface ge-0/0/1
Ethernet-switching table: 1 unicast entries VLAN MAC address Type Age Interfaces V1 * Flood - All-members V1 00:00:5E:00:53:AF Learn 0 ge-0/0/1.0
Sample Output
show ethernet-switching table vlan-name v100 (QFX Series)
user@host> show
ethernet-switching table vlan-name v100
MAC flags (S - static MAC, D - dynamic MAC, L - locally learned, P - Persistent static SE - statistics enabled, NM - non configured MAC, R - remote PE MAC, O - ovsdb MAC) Pseudo mac Ethernet switching table : 11 entries, 11 learned Routing instance : default-switch Vlan MAC MAC Logical Active name address flags interface source v100 00:00:00:00:02:80 S,NM vtep.1074102274 112.1.1.1 v100 00:00:00:00:03:80 S,NM vtep.1074102275 115.1.1.1 v100 00:00:00:00:04:80 S,NM vtep.1074102276 116.1.1.1 v100 00:00:00:00:05:80 S,NM vtep.1074102277 114.1.1.1 v100 00:00:00:00:06:80 S,NM vtep.1074102278 101.1.1.1 v100 00:00:00:00:07:80 S,NM vtep.1074102279 102.1.1.1 v100 00:00:00:00:08:80 S,NM vtep.1074102280 103.1.1.1 v100 00:00:00:00:09:80 S,NM vtep.1074102281 104.1.1.1 v100 00:00:00:00:0a:80 S,NM vtep.1074102282 113.1.1.1