Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show chassis ethernet-switch

Syntax

Syntax (EX8200 Switch)

Syntax (SRX Series Devices)

Syntax (T4000 Router)

Syntax (TX Matrix Router)

Syntax (TX Matrix Plus Router)

Syntax (MX Series Router)

Syntax (MX2010, MX2020, and MX2008 Universal Routing Platforms)

Syntax (MX10008 Universal Routing Platforms)

Syntax (PTX Series Packet Transport Routers)

Description

(M10i, M40e, M120, M160, M320, MX Series, and T Series routers and EX8200 and PTX Series routers only) Display information about the ports on the Control Board (CB) Ethernet switch. Display information about the status of Ethernet switch ports when FPC failures occur and the management Ethernet interface fails on the master RE (MX10008, MX10016, PTX10008, PTX10016, QFX10008, and QFX10016 Switches).

Options

none

Display information about each connected port on the Ethernet switch. On a TX Matrix router, display information about each connected port on the Ethernet switch on the TX Matrix router and its attached T640 routers. On a TX Matrix Plus router, display information about each connected port on the Ethernet switch on the TX Matrix Plus router and its attached routers.

all-members

(MX Series routers only) (Optional) Display information about the ports on the CB Ethernet switch on all the members of the Virtual Chassis configuration.

errors

(Optional) Display the numbers and types of errors accumulated on all ports of the Ethernet switch.

errors port

(Optional) Display the numbers and types of errors accumulated on the specified port (0 through 15) of the Ethernet switch. On the TX Matrix router, replace port with a value from 0 through 15. On the TX Matrix Plus router and EX8200 switch, replace port with a value from 0 through 27. On the PTX Series Packet Transport Routers, replace port with a value from 0 through 25. On the T4000 routers, MX2020 routers, MX2010 routers, and MX2008 routers, replace port with a value from 0 through 27.

errors switch number

(TX Matrix Plus router only) (Optional) Display the numbers and types of errors accumulated on the specified switch. Replace number with a value from 0 through 2.

lcc number

(TX Matrix router and TX Matrix Plus router only) (Optional) Line-card chassis number.

Replace number with the following values depending on the LCC configuration:

  • 0 through 3, when T640 routers are connected to a TX Matrix router in a routing matrix.

  • 0 through 3, when T1600 routers are connected to a TX Matrix Plus router in a routing matrix.

  • 0 through 7, when T1600 routers are connected to a TX Matrix Plus router with 3D SIBs in a routing matrix.

  • 0, 2, 4, or 6, when T4000 routers are connected to a TX Matrix Plus router with 3D SIBs in a routing matrix.

local

(MX Series routers only) (Optional) Display information about the ports on the CB Ethernet switch on the local Virtual Chassis member.

member member-id

(MX Series routers only) (Optional) Display information about the ports on the CB Ethernet switch on the specified member of the Virtual Chassis configuration. Replace member-id with a value of 0 or 1.

old-rom-packet-count

(MX 2020 Routers only) (Optional) Display information about installed linecards. A non-zero number indicates that the bootrom on that linecard needs to be updated.

port-state

(PTX Series only) (Optional) Display information about current port operation (Blocking, Listening, or Disabled).

scc

(TX Matrix router only) (Optional) Display information about the ports on the CB's Ethernet switch on the TX Matrix router (switch-card chassis).

sfc number

(TX Matrix Plus router only) (Optional) Display information about the ports on the CB’s Ethernet switch on the TX Matrix Plus router (or switch-fabric chassis). Replace number with 0.

statistics

(Optional) Display traffic statistics for each connected port on the Ethernet switch.

statistics port

(Optional) Display traffic statistics for the specified port on the Ethernet switch. On the TX Matrix router, replace port with a value from 0 through 25. On the TX Matrix Plus router or EX8200 switch, replace port with a value from 0 through 27. On the PTX Series Packet Transport Routers, replace port with a value from 0 through 25. On the T4000 routers, MX2020 routers, MX2010 routers, and MX2008 routers, replace port with a value from 0 through 27.

statistics switch number

(TX Matrix Plus routers and EX8200 switch only) (Optional) Display traffic statistics for the specified Ethernet switch number. On the TX Matrix Plus router and EX8216 switch, replace number with a value from 0 through 2. On the EX8208 switch, replace number with a value from 0 through 1.

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show chassis ethernet-switch command. Output fields are listed in the approximate order in which they appear.

Table 1: show chassis ethernet-switch Output Fields

Field Name

Field Description

Link is good on port n connected to device

or

Link is good on Fast Ethernet port n connected to device

or

Link is good on Gigabit Ethernet port n connected to device

or

Link is down on Gigabit Ethernet port connected to device

Information about the link between each port on the CB's Ethernet switch and one of the following devices:

  • FPC0 (Flexible PIC Concentrator 0) through FPC7

  • Local controller

  • Routing Engine

  • Other Routing Engine (on a system with two Routing Engines)

  • SPMB (Switch Processor Mezzanine Board)

  • (TX Matrix router only) LCC0 (line-card chassis 0) through LCC3

Speed is

Speed at which the Ethernet link is running: 10 Mb or 100 Mb. When the device is RE or Other RE on the TX Matrix router, the speed is 1000 Mb.

Note:

Irrespective of the device, the speed is 1000 Mb on the MX2010, MX2020, and MX2008 routers.

Duplex is

Duplex type of the Ethernet link: full or half.

Autonegotiate is Enabled (or Disabled)

By default, built-in Fast Ethernet ports on a PIC autonegotiate whether to operate at 10 Mbps or 100 Mbps. All other interfaces automatically choose the correct speed based on the PIC type and whether the PIC is configured to operate in multiplexed mode (using the no-concatenate statement at the [edit chassis] hierarchy level, as described in the Junos OS System Basics Configuration Guide).

Flow Control TX is Enabled (or Disabled)

(MX2010 routers, MX2020 routers, MX2008 routers, and PTX Series) Flow control in the transmit direction is enabled (or disabled). Flow control regulates the flow of packets from the switch to the remote side of the connection.

Flow Control RX is Enabled (or Disabled)

(MX2010 routers, MX2020 routers, MX2008 routers, and PTX Series) Flow control in the receive direction is enabled (or disabled). Flow control regulates the flow of packets from the remote side of the connection to the switch.

MLT3

Number of multilevel threshold-3 (MLT-3) Fast Ethernet errors detected.

Accumulated error counts for port n connected to device FPCn: (error output only)

Lock

Number of lock errors detected.

Xmit

Number of transmission errors detected.

ESD

Number of electrostatic discharge (ESD) errors detected.

False Carrier

Number of false carrier errors detected. This number is increased by one if a FRU is removed.

Disconnects

Number of disconnect errors detected.

FX mode

Number of errors detected on an Ethernet link over optical fiber.

Statistics for port n connected to device FPCn (statistics output only)

TX Packets 64 Octets

(MX2010, MX2020, and MX2008 routers) Number of packets of size 64 octets transmitted.

TX Packets 65 - 127 Octets

(MX2010, MX2020, and MX2008 routers) Number of packets of size 65 through 127 octets transmitted.

TX Packets 128 - 255 Octets

(MX2010, MX2020, and MX2008 routers) Number of packets of size 128 through 255 octets transmitted.

TX Packets 256 - 511 Octets

(MX2010, MX2020, and MX2008 routers) Number of packets of size 256 through 511 octets transmitted.

TX Packets 512 - 1023 Octets

(MX2010, MX2020, and MX2008 routers) Number of packets of size 512 through 1023 octets transmitted.

TX Packets 1024 - 1518 Octets

(MX2010, MX2020, and MX2008 routers) Number of packets of size 1024 through 1518 octets transmitted.

TX Packets 1519 - 2047 Octets

(MX2010, MX2020, and MX2008 routers) Number of packets of size 1519 through 2047 octets transmitted.

TX Packets 2048 - 4095 Octets

(MX2010, MX2020, and MX2008 routers) Number of packets of size 2048 through 4095 octets transmitted.

TX Packets 4096 - 9216 Octets

(MX2010, MX2020, and MX2008 routers) Number of packets of size 4096 through 9216 octets transmitted.

TX 1519 - 1522 Good Vlan frms

(MX2010, MX2020, and MX2008 routers) Number of transmitted frames of size 1519 through 1522 octets that are good VLAN frames.

TX Octets

Number of octets sent.

TX Unicast packets

Number of unicast packets sent.

TX Multicast packets

Number of multicast packets sent.

TX Broadcast packets

Number of broadcast packets sent.

TX Single Collision frames

(MX2010, MX2020, and MX2008 routers) Number of packets sent after one collision.

TX Mult. Collision frames

(MX2010, MX2020, and MX2008 routers) Number of packets sent after multiple collisions.

TX Late collisions

Number of packets aborted during sending because of collisions after 64 bytes.

TX Excessive collisions

Number of packets not sent because of too many collisions.

TX Dropped packets

Number of transmitted packets that were dropped.

TX PAUSEMAC Ctrl Frames

Number of Media Access Control (MAC) frames containing PAUSE commands that were sent.

TX Oversize Packets

Number of oversize packets that were sent.

TX FCS Error Counter

Number of packets discarded because of frame check sequence errors.

TX Fragment Counter

Number of fragmented packets sent.

TX Byte Counter

Number of bytes sent.

TX Packet OK Counter

Number of viable packets sent.

TX Pause Packet Counter

Number of PAUSE packets sent.

RX Packets 64 Octets

(MX2010, MX2020, and MX2008 routers) Number of packets of size 64 octets received.

RX Packets 65 - 127 Octets

(MX2010, MX2020, and MX2008 routers) Number of packets of size 65 through 127 octets received.

RX Packets 128 - 255 Octets

(MX2010, MX2020, and MX2008 routers) Number of packets of size 128 through 255 octets received.

RX Packets 256 - 511 Octets

(MX2010, MX2020, and MX2008 routers) Number of packets of size 256 through 511 octets received.

RX Packets 512 - 1023 Octets

(MX2010, MX2020, and MX2008 routers) Number of packets of size 512 through 1023 octets received.

RX Packets 1024 - 1518 Octets

(MX2010, MX2020, and MX2008 routers) Number of packets of size 1024 through 1518 octets received.

RX Packets 1519 - 2047 Octets

(MX2010, MX2020, and MX2008 routers) Number of packets of size 1519 through 2047 octets received.

RX Packets 2048 - 4095 Octets

(MX2010, MX2020, and MX2008 routers) Number of packets of size 2048 through 4095 octets received.

RX Packets 4096 - 9216 Octets

(MX2010, MX2020, and MX2008 routers) Number of packets of size 4096 through 9216 octets received.

RX Octets

Number of octets received.

RX Unicast packets

Number of unicast packets received.

RX Multicast packets

Number of multicast packets received.

RX Broadcast packets

Number of broadcast packets received.

RX FCS Errors

Number of packets discarded because of frame check sequence errors.

RX Alignment Errors

Number of incomplete octets received.

RX Dropped Packets

Number of incoming packets that were dropped.

RX Fragments

Number of fragmented packets received.

RX Symbol Errors

Number of symbols received that the router did not correctly decode.

RX MAC Control

Number of Media Access Control (MAC) packets received.

RX Oversize Packets

Number of oversize packets received.

RX Undersize Packets

Number of undersize packets received.

RX Jabbers

Total number of frames received that exceed the maximum byte count and contain CRC errors .

RX Control Frame Counter

Number of control frames received.

RX Pause Frame Counter

Number of pause frames received.

RX Byte Counter

Number of bytes received.

RX Packet OK Counter

Number of viable packets received.

Sample Output

show chassis ethernet-switch

show chassis ethernet-switch (MX2020 Router)

show chassis ethernet-switch statistics (MX2020 Router)

show chassis ethernet-switch (MX2020 Router with MPC4E)

show chassis ethernet-switch (MX2008 Router)

show chassis ethernet-switch statistics (Mx10008 Router)

show chassis ethernet-switch (TX Matrix Router)

show chassis ethernet-switch errors

show chassis ethernet-switch errors (TX Matrix Plus Router)

show chassis ethernet-switch sfc errors (TX Matrix Plus Router)

show chassis ethernet-switch statistics (TX Matrix Plus Router)

show chassis ethernet-switch (T4000 Router)

show chassis ethernet-switch errors (T4000 Router)

show chassis ethernet-switch (PTX5000 Packet Transport Router)

show chassis ethernet-switch statistics (PTX5000 Packet Transport Router)

show chassis ethernet-switch port-state (PTX5000 Packet Transport Router)

Release Information

Command introduced before Junos OS Release 7.4.

The sfc option introduced in Junos OS Release 9.6 for the TX Matrix Plus router.