Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

newshow system connections

Syntax

Syntax (EX Series)

Syntax (TX Matrix Router)

Syntax (TX Matrix Plus Router)

Syntax (MX Series Router)

Syntax (QFX Series)

Syntax (OCX Series)

Syntax (Junos OS Evolved)

Description

Display information about the active IP sockets on the Routing Engine. Use this command to verify which servers are active on a system and what connections are currently in progress.

Options

none

Display information about all active IP sockets on the Routing Engine.

extensive

(Optional) Display exhaustive system process information, which, for TCP connections, includes the TCP control block and MSS. This option is useful for debugging TCP connections.

all-chassis

(TX Matrix routers and TX Matrix Plus routers only) (Optional) Display system connection activity for all the routers in the chassis.

all-lcc

(TX Matrix routers and TX Matrix Plus routers only) (Optional) On a TX Matrix router, display system connection activity for all T640 routers connected to the TX Matrix router. On a TX Matrix Plus router, display system connection activity for all connected T1600 or T4000 LCCs

all-members

(EX4200 switches and MX Series routers only) (Optional) Display system connection activity for all members of the Virtual Chassis configuration.

inet | inet6

(Optional) Display IPv4 connections or IPv6 connections, respectively.

infrastructure name

(QFabric systems only) (Optional) Display system connection activity for the fabric control Routing Engines or fabric manager Routing Engines.

interconnect-device name

(QFabric systems only) (Optional) Display system connection activity for the Interconnect device.

lcc number

(TX Matrix routers and TX Matrix Plus routers only) (Optional) On a TX Matrix router, display system connection activity for a specific T640 router that is connected to the TX Matrix router. On a TX Matrix Plus router, display system connection activity for a specific router that is connected to the TX Matrix Plus router.

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

(EX4200 switches and MX Series routers only) (Optional) Display system connection activity for the local Virtual Chassis member.

member member-id

(EX4200 switches and MX Series routers only) (Optional) Display system connection activity for the specified member of the Virtual Chassis configuration. For EX4200 switches, replace member-id with a value from 0 through 9. For an MX Series Virtual Chassis, replace member-id with a value of 0 or 1.

node node-name

(Junos OS Evolved only) (Optional) Display system connection activity for the specified node.

node-group name

(QFabric systems only) (Optional) Display system connection activity for the Node group.

scc

(TX Matrix routers only) (Optional) Display system connection activity for the TX Matrix router (or switch-card chassis).

sfc

(TX Matrix routers only) (Optional) Display system connection activity for the TX Matrix Plus router.

show-routing-instances

(Optional) Display routing instances.

Additional Information

By default, when you issue the show system connections command on the primary Routing Engine of a TX Matrix router or a TX Matrix Plus router, the command is broadcast to all the primary Routing Engines of the LCCs connected to it in the routing matrix. Likewise, if you issue the same command on the backup Routing Engine of a TX Matrix or a TX Matrix Plus router, the command is broadcast to all backup Routing Engines of the LCCs that are connected to it in the routing matrix.

Note:

The device calculates the TCP MSS value as described in RFC 6691.

Required Privilege Level

view

Output Fields

#show-system-connections-command__show-system-connections-table describes the output fields for the show system connections command. Output fields are listed in the approximate order in which they appear.

Table 1: show system connections Output Fields

Field Name

Field Description

Proto

Protocol of the socket: IP, TCP, or UDP for IPv4 or IPv6.

Recv-Q

Number of input bytes received by the protocol and waiting to be processed by the application.

Send-Q

Number of output bytes sent by the application and waiting to be processed by the protocol.

Local Address

Local address and port of the socket, separated by a period. An asterisk (*) indicates that the bound address is the wildcard address. Server sockets typically have the wildcard address and a well-known port bound to them.

Foreign Address

Foreign address and port of the socket, separated by a period. An asterisk (*) indicates that the address or port is a wildcard.

Routing Instance

(Displayed only when the show-routing-instance option is used.) Routing instances associated with active IP sockets on the Routing Engine.

(state)

For TCP, the protocol state of the socket.

Sample Output

show system connections

show system connections extensive

show system connections show-routing-instances

show system connections | find sctp

Release Information

Command introduced before Junos OS Release 7.4.

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

Options extensive and show-routing-instance deprecated in Junos OS Evolved Release 17.3.

node option introduced in Junos OS Evolved Release 18.3R1.