show ethernet-switching table
Syntax (Products that support the Enhanced Layer 2 Software (ELS))
show ethernet-switching table
<brief | count | detail | extensive | summary> <address> <instance instance-name> <interface interface-name>isid isid
<logical-system logical-system-name>
<persistent-learning (interface interface-name | mac mac-address)>
<vlan-id (all-vlan | vlan-id)> <vlan-name (all | vlan-name)>
Syntax (Products that do not support ELS, Except MX Series Routers)
show ethernet-switching table <brief | detail | extensive | summary> <interface interface-name> <management-vlan> <persistent-mac <interface interface-name>> <sort-by (name | tag)> <vlan vlan-name>
MX Series routers support the show bridge mac-table
command in place of this
command. For the
syntax
on
MX Series routers, see
show bridge mac-table.
Description
Displays the Ethernet switching table.Displays Layer 2 MAC address information.
Options
For products that support ELS:
none | Display all learned Layer 2 MAC address information. |
brief | count | detail | extensive | summary | (Optional) Display the specified level of output. |
address | (Optional) Display the specified learned Layer 2 MAC address information. |
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. |
isid isid | (Optional) Display learned Layer 2 MAC addresses for the specified ISID. |
logical-system logical-system-name | (Optional) Display Ethernet-switching statistics information for the specified logical system. |
persistent-learning (interface interface-name | mac mac-address) | (Optional) Display dynamically learned MAC addresses that are retained despite device restarts and interface failures for a specified interface, or information about a specified MAC address. |
vlan-id (all-vlan | vlan-id) | (Optional) Display learned Layer 2 MAC addresses for all VLANs or for the specified VLAN. |
vlan-name (all | vlan-name) | (Optional) Display learned Layer 2 MAC addresses for all VLANs or for the specified VLAN. |
For products that do not support ELS:
none | (Optional) Display brief information about the Ethernet switching table. |
brief | detail | extensive | summary | (Optional) Display the specified level of output. |
interface interface-name | (Optional) Display the Ethernet switching table for a specific interface. |
management-vlan | (Optional) Display the Ethernet switching table for a management VLAN. |
persistent-mac <interface interface-name> | (Optional) Display the persistent MAC addresses learned for all interfaces or a specified interface. You can use this command to view entries that you want to clear for an interface that you intentionally disabled. |
sort-by (name | tag) | (Optional) Display VLANs in ascending order of VLAN IDs or VLAN names. |
vlan vlan-name | (Optional) Display the Ethernet switching table for a specific 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
For products that support ELS: The table describes the output fields for the show ethernet-switching table
command on products that support ELS. Output fields are listed in the approximate order in which they appear.
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:
|
|
This field is not supported. |
Logical interface |
Name of the logical interface. Name of the VTEP logical interface learned over remote VTEP. |
GBP Tag |
Assigned Group Based Policy (GBP) from 1 through 65535. |
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 products that do not support ELS: The following table lists the output fields for the show ethernet-switching table
command on products that do not support ELS. Output fields are listed in the approximate order in which they appear.
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). |
Sample Output
- show ethernet-switching table (Products that support ELS)
- show ethernet-switching table (Products that support ELS)
- show ethernet-switching table brief (Products that support ELS)
- show ethernet-switching table (QFX5120-32CD, QFX5120-48Y, QFX5130-32CD, QFX5130-48C, QFXC5130-48CM, QFX5700, EX4100, and EX4400-48P devices, Blocked (B) MAC Address Field)
- show ethernet-switching table count (Products that support ELS)
- show ethernet-switching table extensive (Products that support ELS)
- show ethernet-switching table (EX Series switches, GBP Tag field)
- show ethernet-switching table (QFX Series switches, SVLBNH/VENH field)
- show ethernet-switching table persistent-mac interface ge-0/0/16.0 (EX Series switches)
- show ethernet-switching table (Products that do not support ELS)
- show ethernet-switching table (Private VLANs on products that do not support ELS)
- show ethernet-switching table detail (Products that do not support ELS)
- show ethernet-switching table extensive (Products that do not support ELS)
- show ethernet-switching table interface (Products that do not support ELS)
- show ethernet-switching table persistent-mac (Products that do not support ELS)
- show ethernet-switching table vlan-name v100 (Products that support ELS)
show ethernet-switching table (Products that support ELS)
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 (Products that support ELS)
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 (Products that support ELS)
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 (QFX5120-32CD, QFX5120-48Y, QFX5130-32CD, QFX5130-48C, QFXC5130-48CM, QFX5700, EX4100, and EX4400-48P devices, Blocked (B) MAC Address Field)
user@host> 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 B - Blocked) Ethernet switching table : 3 entries, 3 learned Routing instance : MACVRF_Blue Vlan MAC MAC Logical SVLBNH/ Active name address flags interface VENH Index source VLAN-10 aa:bb:cc:dd:ee:ff DLR ae6.1010 VLAN-10 gg:hh:ii:jj:kk:ll DLB ae6.1010 VLAN-10 mm:nn:oo:pp:qq:rr DRB vtep-58.32778 192.168.1.0
show ethernet-switching table count (Products that support ELS)
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 (Products that support ELS)
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
show ethernet-switching table (EX Series switches, GBP Tag 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 : 4 entries, 4 learned Routing instance : default-switch Vlan MAC MAC GBP Logical SVLBNH/ Active name address flags tag interface VENH Index source vlan1000 c8:e7:f0:4b:d1:00 DRP esi.1699 1698 05:00:00:fd:e9:00:00:03:e8:00 vlan1000 dc:38:e1:e0:30:c0 D 300 ae0.0 vlan1000 00:21:59:aa:77:f0 DR vtep.32769 18.18.18.18 vlan2000 00:00:5e:00:01:01 DR vtep.32769 18.18.18.18
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 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 (Products that do not support ELS)
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 products that do not support ELS)
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 detail (Products that do not support ELS)
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 (Products that do not support ELS)
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 (Products that do not support ELS)
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 persistent-mac (Products that do not support ELS)
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 vlan-name v100 (Products that support ELS)
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
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.
ELS commands 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.
GBP Tag
option introduced in
Junos OS Release 22.4R1 for supported QFX5120, EX4100, EX4400, and EX4650 Series
switches.