Supported Platforms
Related Documentation
- QFabric System, QFX Series standalone switches
- Example: Setting Up Basic Bridging and a VLAN on the QFX Series
- Example: Setting Up Bridging with Multiple VLANs
show ethernet-switching table
Syntax
Release Information
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.
Description
Displays the Ethernet switching table.
Options
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. |
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. |
Required Privilege Level
view
Related Documentation
- QFabric System, QFX Series standalone switches
- Example: Setting Up Basic Bridging and a VLAN on the QFX Series
- Example: Setting Up Bridging with Multiple VLANs
List of Sample Output
show ethernet-switching tableshow ethernet-switching table (Private VLANs)
show ethernet-switching table brief
show ethernet-switching table detail
show ethernet-switching table extensive
show ethernet-switching table interface
Output Fields
Table 1 lists the output fields for the show ethernet-switching table command. Output fields are listed in the approximate order in which they appear.
Table 1: show ethernet-switching table Output Fields
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 |
Sample Output
show ethernet-switching table
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)
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
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
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
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
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
Published: 2014-07-23
Supported Platforms
Related Documentation
- QFabric System, QFX Series standalone switches
- Example: Setting Up Basic Bridging and a VLAN on the QFX Series
- Example: Setting Up Bridging with Multiple VLANs