newshow system connections
Syntax
show system connections <extensive> <inet | inet6> <show-routing-instances>
Syntax (EX Series)
show system connections <extensive> <all-members> <inet | inet6> <local> <member member-id> <show-routing-instances>
Syntax (TX Matrix Router)
show system connections <extensive> <all-chassis | all-lcc | lcc number | scc> <inet | inet6> <show-routing-instances>
Syntax (TX Matrix Plus Router)
show system connections <extensive> <all-chassis | all-lcc | lcc number | sfc number> <inet | inet6> <show-routing-instances>
Syntax (MX Series Router)
show system connections <extensive> <all-members> <inet | inet6> <local> <member member-id> <show-routing-instances>
Syntax (QFX Series)
show system connections <extensive> <inet> <infrastructure name> <interconnect-device name> <node-group name> <show-routing-instances>
Syntax (OCX Series)
show system connections <extensive> <inet> <show-routing-instances>
Syntax (Junos OS Evolved)
show system connections <inet | inet6> <node node-name>
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:
|
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 |
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.
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.
Field Name |
Field Description |
---|---|
|
Protocol of the socket: |
|
Number of input bytes received by the protocol and waiting to be processed by the application. |
|
Number of output bytes sent by the application and waiting to be processed by the protocol. |
|
Local address and port of the socket,
separated by a period. An asterisk ( |
|
Foreign address and port of the
socket, separated by a period. An asterisk ( |
|
(Displayed only when the |
|
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
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.0.2.16.513 192.0.2.254.894 ESTABLISHED tcp 0 0 192.0.2.16.513 192.0.2.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.192.0.2.1634 192.0.2.249.2049 udp00192.192.0.2.1627 192.0.2.254.2049 udp00192.192.0.2.1371 192.0.2.195.2049 udp00*.* *.* udp00*.9999 *.* udp00 *.161 *.* udp00192.192.0.2.1039 192.0.2.16.1023 udp00192.192.0.2.1038 192.0.2.16.1023 udp 00 192.0.2.16.1037 192.0.2.16.1023 udp00 192.0.2.16.1036 192.0.2.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) tcp4 0 6 192.0.2.15.23 192.0.2.138.3013 ESTABLISHED sndsbcc: 6 sndsbmbcnt: 256 sndsbmbmax: 272000 sndsblowat: 2048 sndsbhiwat: 34000 rcvsbcc: 0 rcvsbmbcnt: 0 rcvsbmbmax: 533120 rcvsblowat: 1 rcvsbhiwat: 66640 proc id: 0 proc name: iss: 2566994072 sndup: 2566994491 snduna: 2566994491 sndnxt: 2566994494 sndwnd: 64094 sndmax: 2566994494 sndcwnd: 6589 sndssthresh: 2720 irs: 236981199 rcvup: 236981325 rcvnxt: 236981327 rcvadv: 237046862 rcvwnd: 66640 rtt: 140058623 srtt: 15519 rttv: 908 rxtcur: 1200 rxtshift: 0 rtseq: 2566994491 rttmin: 1000 mss: 1360 flags: SACK_PERMIT [0x2000200] tcp4 0 0 10.255.165.93.179 10.255.165.203.65141 ESTABLISHED sndsbcc: 0 sndsbmbcnt: 0 sndsbmbmax: 131072 sndsblowat: 2048 sndsbhiwat: 16384 rcvsbcc: 0 rcvsbmbcnt: 0 rcvsbmbmax: 131072 rcvsblowat: 1 rcvsbhiwat: 16384 proc id: 0 proc name: iss: 2555961065 sndup: 2555995917 snduna: 2555995917 sndnxt: 2555995917 sndwnd: 16384 sndmax: 2555995917 sndcwnd: 1000 sndssthresh: 1073725440 irs: 2123825753 rcvup: 2123860681 rcvnxt: 2123860681 rcvadv: 2123877065 rcvwnd: 16384 rtt: 0 srtt: 3309 rttv: 72 rxtcur: 1200 rxtshift: 0 rtseq: 2555995898 rttmin: 1000 mss: 500 flags: REQ_SCALE RCVD_SCALE REQ_TSTMP RCVD_TSTMP SACK_PERMIT [0x3e0] tcp4 0 0 10.255.165.203.65141 10.255.165.93.179 ESTABLISHED sndsbcc: 0 sndsbmbcnt: 0 sndsbmbmax: 131072 sndsblowat: 2048 sndsbhiwat: 16384 rcvsbcc: 0 rcvsbmbcnt: 0 rcvsbmbmax: 131072 rcvsblowat: 1 rcvsbhiwat: 16384 proc id: 5022 proc name: rpd iss: 2123825753 sndup: 2123860662 snduna: 2123860681 sndnxt: 2123860681 sndwnd: 16384 sndmax: 2123860681 sndcwnd: 1000 sndssthresh: 1073725440 irs: 2555961065 rcvup: 2555995917 rcvnxt: 2555995917 rcvadv: 2556012301 rcvwnd: 16384 rtt: 0 srtt: 3279 rttv: 22 rxtcur: 1200 rxtshift: 0 rtseq: 2123860662 rttmin: 1000 mss: 500 flags: REQ_SCALE RCVD_SCALE REQ_TSTMP RCVD_TSTMP SACK_PERMIT [0x100003e0] tcp4 0 0 10.255.165.203.179 10.255.165.113.52404 ESTABLISHED sndsbcc: 0 sndsbmbcnt: 0 sndsbmbmax: 131072 sndsblowat: 2048 sndsbhiwat: 16384 rcvsbcc: 0 rcvsbmbcnt: 0 rcvsbmbmax: 131072 rcvsblowat: 1 rcvsbhiwat: 16384 proc id: 0 proc name: iss: 1109297190 sndup: 1109332099 snduna: 1109332118 sndnxt: 1109332118 sndwnd: 16384 sndmax: 1109332118 sndcwnd: 1000 sndssthresh: 1073725440 irs: 1476831634 rcvup: 1476866449 rcvnxt: 1476866449 rcvadv: 1476882833 rcvwnd: 16384 rtt: 0 srtt: 3235 rttv: 18 rxtcur: 1200 rxtshift: 0 rtseq: 1109332099 rttmin: 1000 mss: 500 flags: REQ_SCALE RCVD_SCALE REQ_TSTMP RCVD_TSTMP SACK_PERMIT [0x3e0]
show system connections show-routing-instances
user@host> show system connections show-routing-instances Active Internet connections (including servers) (including routing-instances) Proto Recv-Q Send-Q Local Address Foreign Address Routing Instance (state) tcp4 0 0 192.0.2.204.23 192.0.2.19.4267 default ESTABLISHED tcp4 0 0 192.0.2.204.58540 10.209.7.138.23 default ESTABLISHED tcp4 0 0 192.0.2.204.23 192.0.2.19.1098 default ESTABLISHED tcp4 0 0 192.0.2.1.57668 192.0.2.1.179 default ESTABLISHED tcp4 0 0 192.0.2.1.179 192.0.2.1.49209 default ESTABLISHED tcp4 0 0 192.0.2.1.6234 192.0.2.17.1024 __juniper_private1__ ESTABLISHED tcp4 0 0 192.0.2.4.9000 192.0.24.59103 __juniper_private1__ ESTABLISHED tcp4 0 0 1192.0.2.4.59103 192.0.2.4.9000 __juniper_private1__ ESTABLISHED tcp4 0 0 *.32012 *.* __juniper_private1__ LISTEN tcp4 0 0 *.9000 *.* __juniper_private1__ LISTEN tcp4 0 0 *.33007 *.* __juniper_private2__ LISTEN tcp46 0 0 *.179 *.* default LISTEN tcp4 0 0 *.179 *.* default LISTEN tcp4 0 0 *.6154 *.* __juniper_private1__ LISTEN tcp4 0 0 *.6153 *.* __juniper_private1__ LISTEN tcp4 0 0 *.7000 *.* __juniper_private1__ LISTEN tcp4 0 0 *.6152 *.* __juniper_private1__ LISTEN tcp4 0 0 *.6156 *.* __juniper_private1__ LISTEN tcp4 0 0 *.33005 *.* __juniper_private2__ LISTEN tcp4 0 0 *.31343 *.* __juniper_private1__ LISTEN tcp4 0 0 *.31341 *.* __juniper_private1__ LISTEN tcp4 0 0 *.32003 *.* __juniper_private2__ LISTEN tcp4 0 0 *.666 *.* __juniper_private1__ LISTEN tcp4 0 0 *.38 *.* __juniper_private1__ LISTEN tcp4 0 0 *.3221 *.* default LISTEN
show system connections | find sctp
user@host> show system connections | find sctp Active SCTP associations (including servers) Proto Type Local Address Foreign Address (state) sctp4 1to1 30.30.30.1.50000 20.20.20.2.62324 ESTABLISHED 20.20.20.1.50000 30.30.30.2.62324
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.