Skip to main content

Displaying active connections in a cluster

You can display information about the active connections in a cluster to view the LIF, port, remote host, service, storage virtual machines (SVMs), and protocol used by individual connections.

About this task

Viewing the active connections in a cluster is useful in the following scenarios:

  • Verifying that individual clients are using the correct protocol and service on the correct node.

  • If a client is having trouble accessing data using a certain combination of node, protocol, and service, you can use this command to find a similar client for configuration or packet trace comparison.

Display the active connections in a cluster by using the network connections active show command.

For more information about this command, see the man page.

Example

The following command shows the active connections on the node node1:

cluster-1::> network connections active show -node node1
Vserver Interface Remote
Name Name:Local Port Host:Port Protocol/Service
------- ------------------ ------------------ ----------------
Node: node1
Cluster node1_clus_1:50297 192.0.2.253:7700 TCP/ctlopcp
Cluster node1_clus_1:13387 192.0.2.253:7700 TCP/ctlopcp
Cluster node1_clus_1:8340 192.0.2.252:7700 TCP/ctlopcp
Cluster node1_clus_1:42766 192.0.2.252:7700 TCP/ctlopcp
Cluster node1_clus_1:36119 192.0.2.250:7700 TCP/ctlopcp
vs1 data1:111 host1.aa.com:10741 UDP/port-map
vs3 data2:111 host1.aa.com:10741 UDP/port-map
vs1 data1:111 host1.aa.com:12017 UDP/port-map
vs3 data2:111 host1.aa.com:12017 UDP/port-map

The following command shows the active connections on SVM vs1:

cluster-1::> network connections active show -vserver vs1
Vserver Interface Remote
Name Name:Local Port Host:Port Protocol/Service
------- ------------------ ------------------ ----------------
Node: node1
vs1 data1:111 host1.aa.com:10741 UDP/port-map
vs1 data1:111 host1.aa.com:12017 UDP/port-map