Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show system connections

Syntax

Syntax (EX Series)

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

The following table lists all possible options for the show system connections command. The options that appear may vary depending on the platform and software release.

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 maximum segment size (MSS). This option is useful for debugging TCP connections.

all-members

(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.

local

(Optional) Display system connection activity for the local Virtual Chassis member.

member member-id

(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

(Optional) Display system connection activity for the specified node.

node-group name

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

show-routing-instances

(Optional) Display routing instances.

Additional Information

Note:

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

Required Privilege Level

view

Output Fields

Table 1 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.

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

node option introduced in Junos OS Evolved Release 18.3R1.