[an error occurred while processing this directive] [an error occurred while processing this directive]

show ethernet-switching table

Syntax

show ethernet-switching table
<brief | detail | extensive | summary>
<interface interface-name>
<management-vlan>
<vlan (vlan-name)>

Release Information

Command introduced in JUNOS Release 9.0 for EX Series switches.

Options summary, management-vlan, and vlan vlan-name introduced in JUNOS Release 9.6 for EX Series switches.

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.

management-vlan — (Optional) Display the Ethernet switching table for a management VLAN.

interface-name(Optional) Display the Ethernet switching table for a specific interface.

vlan vlan-name(Optional) Display the Ethernet switching table for a specific VLAN.

Required Privilege Level

view

List of Sample Output

show ethernet-switching table
show ethernet-switching table brief
show ethernet-switching table detail
show ethernet-switching table extensive
show ethernet-switching table interface ge-0/0/1

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

The name of a VLAN.

All levels

MAC address

The MAC address associated with the VLAN.

All levels

Type

The type of MAC address. Values are:

  • static—The MAC address is manually created.
  • learn—The MAC address is learned dynamically from a packet's source MAC address.
  • flood—The MAC address is unknown and flooded to all members.

All levels

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

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 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
    Nexthop index: 0
    
  F2, 00:00:05:00:00:03
    Interface(s): ge-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): ge-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): ge-0/0/47.0
    Type: Learn, Age: 0, Learned: 2:03:08
    Nexthop index: 0
    
  T1, *
    Interface(s): ge-0/0/46.0
    Type: Flood
    Nexthop index: 0
    
  T1, 00:00:05:00:00:01
    Interface(s): ge-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): ge-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): ge-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): ge-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): ge-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): ge-0/0/44.0
    Type: Flood
    Nexthop index: 0
    
  F2, 00:00:05:00:00:03
    Interface(s): ge-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): ge-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): ge-0/0/47.0
    Type: Learn, Age: 0, Learned: 2:03:08
    Nexthop index: 0
    
  T1, *
    Interface(s): ge-0/0/46.0
    Type: Flood
    Nexthop index: 0
    
  T1, 00:00:05:00:00:01
    Interface(s): ge-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): ge-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): ge-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): ge-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): ge-0/0/15.0
    Type: Flood
    Nexthop index: 0
[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

Published: 2009-07-23

[an error occurred while processing this directive]