show ethernet-switching table
Syntax
- show ethernet-switching table
- <brief | detail | extensive>
- <interface interface-name>
- <vlan (vlan-id | vlan-name)>
Release Information
Command introduced in JUNOS Release 9.0 for EX-series switches.
Description
Displays the Ethernet switching table. If a VLAN range has been configured for any of the VLANs on the switch, the output displays the MAC addresses for the entire series of VLANs.
Options
none — (Optional) Display brief information about the Ethernet switching table for all VLANs on the switch.
brief | detail | extensive — (Optional) Display the specified level of output.
interface-name — (Optional) Display the Ethernet switching table for a specific interface.
vlan (vlan-id | vlan-name) — (Optional) Display the Ethernet switching table for the specified VLAN ID or VLAN name. If a VLAN range has been configured for this VLAN name, the output displays the MAC addresses for the entire series of VLANs that were created for that name.
Required Privilege Level
view
List of Sample Output
show ethernet-switching tableshow ethernet-switching table (where one VLAN is configured with VLAN range and the other is not)
show ethernet-switching table brief
show ethernet-switching table detail
show ethernet-switching table extensive
show ethernet-switching table interface ge-0/0/1
show ethernet-switching table vlan customer (vlan-name)
show ethernet-switching table vlan employee (vlan-name is vlan-range)
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
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 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 Learn 0 ge-0/0/46.0 T1 00:00:5e:00:01:00 Static - Router T1 00:19:e2:50:63:e0 Learn 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 (where one VLAN is configured with VLAN range and the other is not)
user@switch> show ethernet-switching table
Ethernet-switching table: 36 entries, 30 learned VLAN MAC address Type Age Interfaces __employee_1__ * Flood - All-members __employee_1__ 00:10:94:00:00:02 Learn 4:35 ge-0/0/6.0 __employee_1__ 00:10:94:00:00:03 Learn 4:27 ge-0/0/6.0 __employee_1__ 00:10:94:00:00:04 Learn 4:30 ge-0/0/6.0 __employee_1__ 00:10:94:00:00:05 Learn 4:23 ge-0/0/6.0 __employee_1__ 00:10:94:00:00:06 Learn 4:34 ge-0/0/6.0 __employee_2__ * Flood - All-members __employee_2__ 00:10:94:00:00:02 Learn 4:27 ge-0/0/6.0 __employee_2__ 00:10:94:00:00:03 Learn 4:35 ge-0/0/6.0 __employee_2__ 00:10:94:00:00:04 Learn 4:22 ge-0/0/6.0 __employee_2__ 00:10:94:00:00:05 Learn 4:31 ge-0/0/6.0 __employee_2__ 00:10:94:00:00:06 Learn 4:26 ge-0/0/6.0 __employee_3__ * Flood - All-members __employee_3__ 00:10:94:00:00:02 Learn 4:23 ge-0/0/6.0 __employee_3__ 00:10:94:00:00:03 Learn 4:31 ge-0/0/6.0 __employee_3__ 00:10:94:00:00:04 Learn 4:26 ge-0/0/6.0 __employee_3__ 00:10:94:00:00:05 Learn 4:35 ge-0/0/6.0 __employee_3__ 00:10:94:00:00:06 Learn 4:38 ge-0/0/6.0 __employee_4__ * Flood - All-members __employee_4__ 00:10:94:00:00:02 Learn 4:23 ge-0/0/6.0 __employee_4__ 00:10:94:00:00:03 Learn 4:31 ge-0/0/6.0 __employee_4__ 00:10:94:00:00:04 Learn 4:26 ge-0/0/6.0 __employee_4__ 00:10:94:00:00:05 Learn 4:35 ge-0/0/6.0 __employee_4__ 00:10:94:00:00:06 Learn 4:38 ge-0/0/6.0 __employee_5__ * Flood - All-members __employee_5__ 00:10:94:00:00:02 Learn 4:27 ge-0/0/6.0 __employee_5__ 00:10:94:00:00:03 Learn 4:35 ge-0/0/6.0 __employee_5__ 00:10:94:00:00:04 Learn 4:22 ge-0/0/6.0 __employee_5__ 00:10:94:00:00:05 Learn 4:31 ge-0/0/6.0 __employee_5__ 00:10:94:00:00:06 Learn 4:26 ge-0/0/6.0 customer * Flood - All-members customer 00:10:94:00:00:02 Learn 4:23 ge-0/0/6.0 customer 00:10:94:00:00:03 Learn 4:31 ge-0/0/6.0 customer 00:10:94:00:00:04 Learn 4:27 ge-0/0/6.0 customer 00:10:94:00:00:05 Learn 4:35 ge-0/0/6.0 customer 00:10:94:00:00:06 Learn 4:38 ge-0/0/6.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 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 Learn 0 ge-0/0/46.0 T1 00:00:5e:00:01:00 Static - Router T1 00:19:e2:50:63:e0 Learn 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
user@switch> 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:05:00:00:03 Interface(s): ge-0/0/44.0 Type: Learn, Age: 0, Learned: 2:03:09 F2, 00:19:e2:50:7d:e0 Interface(s): Router Type: Static Linux, * Interface(s): ge-0/0/47.0 Type: Flood Linux, 00:19:e2:50:7d:e0 Interface(s): Router Type: Static Linux, 00:30:48:90:54:89 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:05:00:00:01 Interface(s): ge-0/0/46.0 Type: Learn, Age: 0, Learned: 2:03:07 T1, 00:00:5e:00:01:00 Interface(s): Router Type: Static T1, 00:19:e2:50:63:e0 Interface(s): ge-0/0/46.0 Type: Learn, Age: 0, Learned: 2:03:07 T1, 00:19:e2:50:7d:e0 Interface(s): Router Type: Static T10, * Interface(s): ge-0/0/46.0 Type: Flood T10, 00:00:5e:00:01:09 Interface(s): Router Type: Static T10, 00:19:e2:50:63:e0 Interface(s): ge-0/0/46.0 Type: Learn, Age: 0, Learned: 2:03:08 T10, 00:19:e2:50:7d:e0 Interface(s): Router Type: Static T111, * Interface(s): ge-0/0/15.0 Type: Flood [output truncated]
show ethernet-switching table extensive
user@switch> 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:05:00:00:03 Interface(s): ge-0/0/44.0 Type: Learn, Age: 0, Learned: 2:03:09 F2, 00:19:e2:50:7d:e0 Interface(s): Router Type: Static Linux, * Interface(s): ge-0/0/47.0 Type: Flood Linux, 00:19:e2:50:7d:e0 Interface(s): Router Type: Static Linux, 00:30:48:90:54:89 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:05:00:00:01 Interface(s): ge-0/0/46.0 Type: Learn, Age: 0, Learned: 2:03:07 T1, 00:00:5e:00:01:00 Interface(s): Router Type: Static T1, 00:19:e2:50:63:e0 Interface(s): ge-0/0/46.0 Type: Learn, Age: 0, Learned: 2:03:07 T1, 00:19:e2:50:7d:e0 Interface(s): Router Type: Static T10, * Interface(s): ge-0/0/46.0 Type: Flood T10, 00:00:5e:00:01:09 Interface(s): Router Type: Static T10, 00:19:e2:50:63:e0 Interface(s): ge-0/0/46.0 Type: Learn, Age: 0, Learned: 2:03:08 T10, 00:19:e2:50:7d:e0 Interface(s): Router Type: Static T111, * Interface(s): ge-0/0/15.0 Type: Flood [output truncated]
show ethernet-switching table interface ge-0/0/1
user@switch> 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:05:00:00:05 Learn 0 ge-0/0/1.0
show ethernet-switching table vlan customer (vlan-name)
user@switch> show ethernet-switching table customer
Ethernet-switching table: 5 unicast entries VLAN MAC address Type Age Interfaces customer * Flood - All-members customer 00:10:94:00:00:02 Learn 1:36 ge-0/0/6.0 customer 00:10:94:00:00:03 Learn 1:44 ge-0/0/6.0 customer 00:10:94:00:00:04 Learn 1:40 ge-0/0/6.0 customer 00:10:94:00:00:05 Learn 1:48 ge-0/0/6.0 customer 00:10:94:00:00:06 Learn 1:51 ge-0/0/6.0
show ethernet-switching table vlan employee (vlan-name is vlan-range)
user@switch> show ethernet-switching table employee
Ethernet-switching table: 25 unicast entries VLAN MAC address Type Age Interfaces __employee_1__ * Flood - All-members __employee_1__ 00:10:94:00:00:02 Learn 1:23 ge-0/0/6.0 __employee_1__ 00:10:94:00:00:03 Learn 1:15 ge-0/0/6.0 __employee_1__ 00:10:94:00:00:04 Learn 1:18 ge-0/0/6.0 __employee_1__ 00:10:94:00:00:05 Learn 1:11 ge-0/0/6.0 __employee_1__ 00:10:94:00:00:06 Learn 1:22 ge-0/0/6.0 __employee_2__ * Flood - All-members __employee_2__ 00:10:94:00:00:02 Learn 1:15 ge-0/0/6.0 __employee_2__ 00:10:94:00:00:03 Learn 1:23 ge-0/0/6.0 __employee_2__ 00:10:94:00:00:04 Learn 1:10 ge-0/0/6.0 __employee_2__ 00:10:94:00:00:05 Learn 1:19 ge-0/0/6.0 __employee_2__ 00:10:94:00:00:06 Learn 1:14 ge-0/0/6.0 __employee_3__ * Flood - All-members __employee_3__ 00:10:94:00:00:02 Learn 1:11 ge-0/0/6.0 __employee_3__ 00:10:94:00:00:03 Learn 1:19 ge-0/0/6.0 __employee_3__ 00:10:94:00:00:04 Learn 1:14 ge-0/0/6.0 __employee_3__ 00:10:94:00:00:05 Learn 1:23 ge-0/0/6.0 __employee_3__ 00:10:94:00:00:06 Learn 1:26 ge-0/0/6.0 __employee_4__ * Flood - All-members __employee_4__ 00:10:94:00:00:02 Learn 1:11 ge-0/0/6.0 __employee_4__ 00:10:94:00:00:03 Learn 1:19 ge-0/0/6.0 __employee_4__ 00:10:94:00:00:04 Learn 1:14 ge-0/0/6.0 __employee_4__ 00:10:94:00:00:05 Learn 1:23 ge-0/0/6.0 __employee_4__ 00:10:94:00:00:06 Learn 1:26 ge-0/0/6.0 __employee_5__ * Flood - All-members __employee_5__ 00:10:94:00:00:02 Learn 1:15 ge-0/0/6.0 __employee_5__ 00:10:94:00:00:03 Learn 1:23 ge-0/0/6.0 __employee_5__ 00:10:94:00:00:04 Learn 1:10 ge-0/0/6.0 __employee_5__ 00:10:94:00:00:05 Learn 1:19 ge-0/0/6.0 __employee_5__ 00:10:94:00:00:06 Learn 1:14 ge-0/0/6.0