Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

show ethernet-switching interfaces

 

Syntax

Release Information

Command introduced in Junos OS Release 9.0 for EX Series switches.

In Junos OS Release 9.6 for EX Series switches, the following updates were made:

  • Blocking field output was updated.

  • The default view was updated to include information about 802.1Q tags.

  • The detail view was updated to include information on VLAN mapping.

Command introduced in Junos OS Release 11.1 for the QFX Series.

In Junos OS Release 11.1 for EX Series switches, the detail view was updated to include reflective relay information.

Command introduced in Junos OS Release 14.1X53-D20 for OCX Series switches.

Description

Display information about switched Ethernet interfaces.

Options

none(Optional) Display brief information for Ethernet-switching interfaces.
brief | detail | summary(Optional) Display the specified level of output.
interface interface-name(Optional) Display Ethernet-switching information for a specific interface.

Required Privilege Level

view

List of Sample Output

show ethernet-switching interfaces

show ethernet-switching interfaces summary

show ethernet-switching interfaces brief

show ethernet-switching interfaces detail

show ethernet-switching interfaces interface-name

show ethernet-switching interfaces

show ethernet-switching interfaces ge-0/0/15 brief

show ethernet-switching interfaces ge-0/0/2 detail (Blocked by RTG rtggroup)

show ethernet-switching interfaces ge-0/0/15 detail (Blocked by STP)

show ethernet-switching interfaces ge-0/0/17 detail (Disabled by bpdu-control)

show ethernet-switching interfaces detail (C-VLAN to S-VLAN Mapping)

show ethernet-switching interfaces detail (Reflective Relay Is Configured)

Output Fields

For QFX Series, QFabric, NFX Series, EX4600 and OCX1100:

Table 1 lists the output fields for the show ethernet-switching interfaces command on QFX Series, QFabric, NFX Series, EX4600 and OCX1100. Output fields are listed in the approximate order in which they appear.

Table 1: show ethernet-switching interfaces Output Fields

Field Name

Field Description

Level of Output

Interface

Name of a switching interface.

All levels

State

Interface state. Values are up or down.

none, brief, detail, summary

VLAN members

Name of a VLAN.

none, brief, detail, summary

Blocking

Forwarding state of the interface:

  • blocked—Traffic is not being forwarded on the interface.

  • unblocked—Traffic is forwarded on the interface.

  • MAC limit exceeded—The interface is temporarily disabled because of a MAC limiting error. The disabled interface is automatically restored to service when the disable timeout expires.

  • MAC move limit exceeded—The interface is temporarily disabled because of a MAC move limiting error. The disabled interface is automatically restored to service when the disable timeout expires.

  • Storm control in effect —The interface is temporarily disabled because of a storm control error. The disabled interface is automatically restored to service when the disable timeout expires.

  • Storm control shutdown in effect —The interface is temporarily disabled because of a storm control shutdown error. The disabled interface is automatically restored to service when the disable timeout expires.

none, brief, detail, summary

Index

VLAN index internal to Junos OS software.

detail

untagged | tagged

Specifies whether the interface forwards IEEE802.1Q-tagged or untagged traffic.

detail

Output fields for EX Series:

Table 2 lists the output fields for the show ethernet-switching interfaces command on EX Series switches. Output fields are listed in the approximate order in which they appear.

Table 2: show ethernet-switching interfaces Output Fields

Field Name

Field Description

Level of Output

Interface

Name of a switching interface.

none, brief, detail, summary

Index

VLAN index internal to Junos OS.

detail

State

Interface state. Values are up and down.

none, brief, detail

Port mode

The access mode is the port mode default and works with a single VLAN. Port mode can also be trunk, which accepts tagged packets from multiple VLANs on other switches. The third port mode value is tagged-access, which accepts tagged packets from access devices.

detail

Reflective Relay Status

Reflective relay allows packets to use the same interface for both upstream and downstream traffic. When reflective relay has been configured, the status displayed is always enabled . When reflective relay is not configured, this entry does not appear in the command output.

detail

Ether type for the interface

Ether type is a two-octet field in an Ethernet frame used to indicate which protocol is encapsulated in the payload of an incoming Ethernet packet. Both 802.1Q packets and Q-in-Q packets use this field. The output displayed for this particular field indicates the interface’s Ether type, which is used to match the Ether type of incoming 802.1Q packets and Q-in-Q packets. The indicated Ether type field is also added to the interface’s outgoing 802.1Q and Q-in-Q packets.

detail

VLAN membership

Names of VLANs that belong to this interface.

none, brief, detail,

Tag

Number of the 802.1Q tag.

none, brief, detail,

Tagging

Specifies whether the interface forwards 802.1Q tagged or untagged traffic.

none, brief, detail,

Blocking

The forwarding state of the interface:

  • unblocked—Traffic is forwarded on the interface.

  • blocked—Traffic is not being forwarded on the interface.

  • Disabled by bpdu control—The interface is disabled due to receiving BPDUs on a protected interface. If the disable-timeout statement has been included in the BPDU configuration, the interface automatically returns to service after the timer expires.

  • blocked by RTG—The specified redundant trunk group is disabled.

  • blocked by STP—The interface is disabled due to a spanning-tree protocol error.

  • MAC limit exceeded—The interface is temporarily disabled due to a MAC limit error. The disabled interface is automatically restored to service when the disable timeout expires.

  • MAC move limit exceeded—The interface is temporarily disabled due to a MAC move limit error. The disabled interface is automatically restored to service when the disable timeout expires.

  • Storm control in effect—The interface is temporarily disabled due to a storm control error. The disabled interface is automatically restored to service when the disable timeout expires.

none, brief, detail,

Number of MACs learned on IFL

Number of MAC addresses learned by this interface.

detail

mapping

When mapping is configured, the status is one of the following C-VLAN to S-VLAN mapping types:

  • dot1q-tunneled—The interface maps all traffic to the S-VLAN (all-in-one bundling).

  • native—The interface maps untagged and priority tagged packets to the S-VLAN.

  • push—The interface maps packets to a firewall filter to an S-VLAN.

  • policy-mapped—The interface maps packets to a specifically defined S-VLAN.

  • integer—The interface maps packets to the specified S-VLAN.

When mapping is not configured, this entry does not appear in the command output.

detail

Sample Output for QFX Series Switches, QFabric, NFX Series, EX4600 and OCX1100

show ethernet-switching interfaces

user@switch> show ethernet-switching interfaces

show ethernet-switching interfaces summary

user@switch> show ethernet-switching interfaces summary

show ethernet-switching interfaces brief

user@switch> show ethernet-switching interfaces brief

show ethernet-switching interfaces detail

user@switch> show ethernet-switching interfaces detail

show ethernet-switching interfaces interface-name

user@switch> show ethernet-switching interfaces xe-0/0/0.0

Sample Output for EX Series Switches

show ethernet-switching interfaces

user@switch> show ethernet-switching interfaces

show ethernet-switching interfaces ge-0/0/15 brief

user@switch> show ethernet-switching interfaces ge-0/0/15 brief

show ethernet-switching interfaces ge-0/0/2 detail (Blocked by RTG rtggroup)

user@switch> show ethernet-switching interfaces ge-0/0/2 detail

show ethernet-switching interfaces ge-0/0/15 detail (Blocked by STP)

user@switch> show ethernet-switching interfaces ge-0/0/15 detail

show ethernet-switching interfaces ge-0/0/17 detail (Disabled by bpdu-control)

user@switch> show ethernet-switching interfaces ge-0/0/17 detail

show ethernet-switching interfaces detail (C-VLAN to S-VLAN Mapping)

user@switch>show ethernet-switching interfaces ge-0/0/6.0 detail

show ethernet-switching interfaces detail (Reflective Relay Is Configured)

user@switch1> show ethernet-switching interfaces ge-7/0/2 detail