ONTAP 9.14.1 commands

network connections active show

Show the active connections in this cluster

Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

Description

The network connections active show command displays information about active network connections.

The results of this command set are refreshed independently every 30 seconds and might not reflect the immediate state of the system.

Parameters

{ [-fields <fieldname>,…​]

If you specify the -fields <fieldname>, …​ parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.

| [-print-ip-addresses ]

Print IP addresses for remote hosts — do not attempt to resolve the addresses to a hostname.

| [-instance ] }

If you specify the -instance parameter, the command displays detailed information about all fields.

[-node {<nodename>|local}] - Node

Selects the connections that match this parameter value.

[-cid <Cid>] - Connection ID

Selects the connections that match this parameter value.

[-vserver <vserver>] - Vserver

Selects the connections that match this parameter value.

[-lif-name <lif-name>] - Logical Interface Name

Selects the connections that match this parameter value.

[-local-address <IP Address>] - Local IP address

Selects the connections that match this parameter value.

[-local-port <integer>] - Local Port

Selects the connections that match this parameter value.

[-remote-ip <InetAddress>] - Remote IP Address

Selects the connections that match this parameter value.

[-remote-host <Remote IP>] - Remote Host

Selects the connections that match this parameter value.

[-remote-port <integer>] - Remote Port

Selects the connections that match this parameter value.

[-proto {UDP|TCP}] - Protocol

Selects the connections that match this parameter value. Possible values are tcp (TCP), udp (UDP), and NA (not applicable).

[-lifid <integer>] - Logical Interface ID

Selects the connections that match this parameter value.

[-service <protocol service>] - Protocol Service

Selects the connections that match this parameter value. Possible values include: nfs, iscsi, and loopback.

[-lru {yes|no}] - Least Recently Used

Selects the connections that match this parameter value.

[-blocks-lb {true|false}] - Connection Blocks Load Balance Migrate

Selects the logical interfaces that are blocked (true) or not blocked (false) from migrating due to an active client connection.

Examples

The following example displays information about active network connections for the node named node0:

cluster1::> network connections active show node -node0

Vserver Interface        Remote
Name    Name:Local Port  IP Address:Port   Protocol/Service
------- ---------------- ----------------- ----------------
node0   cluslif1:7070    192.0.2.253:48621 UDP/rclopcp
node0   cluslif1:7070    192.0.2.253:48622 UDP/rclopcp
node0   cluslif2:7070    192.0.2.252:48644 UDP/rclopcp
node0   cluslif2:7070    192.0.2.250:48646 UDP/rclopcp
node0   cluslif1:7070    192.0.2.245:48621 UDP/rclopcp
node0   cluslif1:7070    192.0.2.245:48622 UDP/rclopcp
node0   cluslif2:7070    192.0.2.251:48644 UDP/rclopcp
node0   cluslif2:7070    192.0.2.251:48646 UDP/rclopcp
node0   cluslif1:7070    192.0.2.248:48621 UDP/rclopcp
node0   cluslif1:7070    192.0.2.246:48622 UDP/rclopcp
node0   cluslif2:7070    192.0.2.252:48644 UDP/rclopcp
node0   cluslif2:7070    192.0.2.250:48646 UDP/rclopcp
node0   cluslif1:7070    192.0.2.254:48621 UDP/rclopcp
node0   cluslif1:7070    192.0.2.253:48622 UDP/rclopcp
[...]

At privilege levels above "admin", the command displays an extra column.

cluster1::*> network connections active show node -node0
                                                            Blocks
Vserver Interface        Remote                             LB
Name    Name:Local Port  IP Address:Port   Protocol/Service Migrate
------- ---------------- ----------------- ---------------- -------
node0   cluslif1:7070    192.0.2.253:48621 UDP/rclopcp      false
node0   cluslif1:7070    192.0.2.253:48622 UDP/rclopcp      false
node0   cluslif2:7070    192.0.2.252:48644 UDP/rclopcp      false
node0   cluslif2:7070    192.0.2.250:48646 UDP/rclopcp      false
node0   cluslif1:7070    192.0.2.245:48621 UDP/rclopcp      false
node0   cluslif1:7070    192.0.2.245:48622 UDP/rclopcp      false
node0   cluslif2:7070    192.0.2.251:48644 UDP/rclopcp      false
node0   cluslif2:7070    192.0.2.251:48646 UDP/rclopcp      false
node0   cluslif1:7070    192.0.2.248:48621 UDP/rclopcp      false
node0   cluslif1:7070    192.0.2.246:48622 UDP/rclopcp      false
node0   cluslif2:7070    192.0.2.252:48644 UDP/rclopcp      false
node0   cluslif2:7070    192.0.2.250:48646 UDP/rclopcp      false
node0   cluslif1:7070    192.0.2.254:48621 UDP/rclopcp      false
node0   cluslif1:7070    192.0.2.253:48622 UDP/rclopcp      false
[...]
Top of Page