[Contents] [Prev] [Next] [Index] [Report an Error]

show system connections

Syntax

show system connections
<extensive>
<inet | inet6>
<show-routing-instances>

Syntax (Routing Matrix)

show system connections
<extensive>
<all-lcc | lcc number | scc>
<inet | inet6>
<show-routing-instances>

Release Information

Command introduced before JUNOS Release 7.4.

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. This option is useful for debugging TCP connections.

all-lcc — (Routing matrix only) (Optional) Display system connection activity for all T640 routing nodes (or line-card chassis) connected to a TX Matrix platform.

lcc number(Routing matrix only) (Optional) Display system connection activity for a specific T640 routing node that is connected to a TX Matrix platform. Replace number with a value from 0 through 3.

scc — (Routing matrix only) (Optional) Display system connection activity for the TX Matrix platform (or switch-card chassis).

inet | inet6 — (Optional) Display IPv4 connections or IPv6 connections, respectively.

show-routing-instances — (Optional) Display routing instances.

Additional Information

By default, when you issue the show system connections command on a TX Matrix master Routing Engine, the command is broadcast to all the T640 master Routing Engines connected to it. Likewise, if you issue the same command on the TX Matrix backup Routing Engine, the command is broadcast to all the T640 backup Routing Engines that are connected to it.

Required Privilege Level

view

List of Sample Output

show system connections
show system connections extensive
show system connections lcc (Routing Matrix)

Output Fields

Table 120 describes the output fields for the show system connections command. Output fields are listed in the approximate order in which they appear.

Table 120: 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 packets received by the protocol and waiting to be processed by the application.

Send-Q

Number of output packets 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.

(state)

For TCP, the protocol state of the socket.

show system connections

user@host> show system connections
Active Internet connections (including servers)
Proto Recv-Q Send-Q  Local Address          Foreign Address        (state)
tcp        0      2  192.168.4.16.513       208.197.169.254.894    ESTABLISHED
tcp        0      0  192.168.4.16.513       208.197.169.195.945    ESTABLISHED
tcp        0      0  *.23                   *.*                    LISTEN
tcp        0      0  *.22                   *.*                    LISTEN
tcp        0      0  *.513                  *.*                    LISTEN
tcp00 *.514      *.*                    LISTEN
tcp 0 0*.21      *.*                    LISTEN
tcp00 *.79     *.*                    LISTEN
tcp 00 *.1023     *.*                    LISTEN
tcp 00 *.111     *.*                    LISTEN
udp00192.168.4.16.1634     208.197.169.249.2049
udp00192.168.4.16.1627     208.197.169.254.2049
udp00192.168.4.16.1371     208.197.169.195.2049
udp00*.*      *.*
udp00*.9999     *.*
udp00 *.161     *.*
udp00192.168.4.16.1039     192.168.4.16.1023
udp00192.168.4.16.1038     192.168.4.16.1023
udp 00 192.168.4.16.1037     192.168.4.16.1023
udp00192.168.4.16.1036     192.168.4.16.1023
udp00*.1022     *.*
udp00*.1023     *.*
udp00*.111     *.*
udp00*.*      *.*

show system connections extensive

user@host> show system connections extensive
Active Internet connections (including servers)
Proto Recv-Q Send-Q  Local Address          Foreign Address        (state)
tcp        0      2  192.168.4.16.513       208.197.169.254.894    ESTABLISHED
       iss: 3972677059      sndup: 3972693435       sndcc:         10
    snduna: 3972693435     sndnxt: 3972693437      sndwnd:      17376
    sndmax: 3972693437    sndcwnd:      65535 sndssthresh: 1073725440
       irs:  484187869      rcvup:  484188060       rcvcc:      98357
    rcvnxt:  484188070     rcvadv:  484205446      rcvwnd:      17376
       rtt:          1       srtt:          7        rttv:          5
rxtcur:        120   rxtshift:          0       rtseq: 1103707591
rttmin:          2   duration:       5011         mss:       1448
     flags: REQ_SCALE RCVD_SCALE REQ_TSTMP RCVD_TSTMP RCVD_CC [0x41e0]
tcp        0      0  192.168.4.16.513       208.197.169.195.945    ESTABLISHED
       iss: 1057609890      sndup: 1057790796       sndcc:          2
    snduna: 1057790810     sndnxt: 1057790810      sndwnd:      17376
    sndmax: 1057790810    sndcwnd:      39096 sndssthresh: 1073725440
       irs: 3551947312      rcvup: 3551947422       rcvcc:          0
    rcvnxt: 3551947422     rcvadv: 3551964798      rcvwnd:      17376
       rtt:          0       srtt:         17        rttv:         11
rxtcur:        300   rxtshift:          0       rtseq:          0
rttmin:          2   duration:     125814         mss:       1448
     flags: REQ_SCALE RCVD_SCALE REQ_TSTMP RCVD_TSTMP [0x1e0]
udp0      0192.168.4.16.1634208.197.169.249.2049
udp0      0192.168.4.16.1627208.197.169.254.2049
udp0      0192.168.4.16.1371208.197.169.195.2049
udp 0      0*.* *.*
udp0      0*.9999*.*
udp 0      0*.161*.*
udp0      0192.168.4.16.1039192.168.4.16.1023
udp0      0192.168.4.16.1038192.168.4.16.1023
udp0      0192.168.4.16.1037192.168.4.16.1023
udp0      0192.168.4.16.1036192.168.4.16.1023
udp0      0*.1022*.*
udp 0      0*.1023 *.*
udp0      0 *.111*.*
udp0      0*.**.*

show system connections lcc (Routing Matrix)

user@host> show system connections lcc 2
lcc2-re0:
--------------------------------------------------------------------------
Active Internet connections (including servers)
Proto Recv-Q Send-Q  Local Address          Foreign Address        (state)
tcp4       0      0  192.168.66.131.1342    192.168.66.130.23      ESTABLISHED
tcp4       0      0  192.168.66.131.2059    192.168.66.130.23      ESTABLISHED
tcp4       0      0  192.168.66.131.4571    192.168.66.130.23      ESTABLISHED
tcp4       0      0  192.168.66.131.2496    192.168.66.130.23      ESTABLISHED
tcp4       0      0  *.3221                 *.*                    LISTEN
tcp4       0      0  *.23                   *.*                    LISTEN
tcp4       0      0  *.22                   *.*                    LISTEN
tcp4       0      0  *.514                  *.*                    LISTEN
tcp4       0      0  *.513                  *.*                    LISTEN
tcp4       0      0  *.21                   *.*                    LISTEN
tcp4       0      0  *.79                   *.*                    LISTEN
tcp4       0      0  *.6234                 *.*                    LISTEN
udp4       0      0  *.514                  *.*
udp4       0      0  *.6333                 *.*

[Contents] [Prev] [Next] [Index] [Report an Error]