network connections listening show
Show the listening connections in this cluster
Availability: This command is available to cluster and Vserver administrators at the admin privilege level.
Description
The network connections listening show
command displays information about network connections that are in an open and listening state.
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. - |
[-instance ]
} -
If you specify the
-instance
parameter, the command displays detailed information about all fields. [-node {<nodename>|local}]
- Node-
Selects the listening connections that match this parameter value.
[-mgmt-cid <integer>]
- Management Connection ID-
Selects the listening connections that match this parameter value.
[-vserver <vserver>]
- Vserver-
Selects the listening connections that match this parameter value.
[-cid <integer>]
- System Connection ID-
Selects the listening connections that match this parameter value.
[-lif-name <lif-name>]
- Logical Interface Name-
Selects the listening connections that match this parameter value.
[-local-address <IP Address>]
- Local IP Address-
Selects the listening connections that match this parameter value.
[-local-port <integer>]
- Local Port-
Selects the listening connections that match this parameter value.
[-remote-ip <InetAddress>]
- Remote IP Address-
Selects the listening connections that match this parameter value.
[-remote-host <Remote IP>]
- Remote Host-
Selects the listening connections that match this parameter value.
[-remote-port <integer>]
- Remote Port-
Selects the listening connections that match this parameter value.
[-proto {UDP|TCP}]
- Protocol-
Selects the listening connections that match this parameter value. Possible values include tcp (TCP), udp (UDP), and NA (not applicable).
[-lifid <integer>]
- Logical Interface ID-
Selects the listening connections that match this parameter value.
[-service <protocol service>]
- Protocol Service-
Selects the listening connections that match this parameter value. Possible values include: nfs, iscsi, and loopback.
[-lru {yes|no}]
- Least Recently Used-
Selects the listening connections that match this parameter value.
Examples
The following example displays information about all listening network connections:
cluster1::> network connections listening show Vserver Name Interface Name:Local Port Protocol/Service ------------ -------------------------- ----------------- node0 cluslif1:7700 UDP/rclopcp node0 cluslif2:7700 UDP/rclopcp node1 cluslif1:7700 UDP/rclopcp node1 cluslif2:7700 UDP/rclopcp node2 cluslif1:7700 UDP/rclopcp node2 cluslif2:7700 UDP/rclopcp node3 cluslif1:7700 UDP/rclopcp node3 cluslif2:7700 UDP/rclopcp 8 entries were displayed.
The following example displays detailed information about listening network connections for the node named node0:
cluster1::> network connections listening show -node node0 Node: node0 Management Connection Id: 0 System Connection Id: 0 Vserver: vs0 Logical Interface Name: datalif1 Local IP address: 192.0.2.130 Local Port: 111 Remote IP address: Remote Port: 0 Protocol: UDP Logical Interface Id: 1029 Protocol Service: port_map least recently used: yes Node: node0 Management Connection Id: 1 System Connection Id: 0 Server: vs0 Logical Interface Name: datalif2 Local IP address: 192.0.2.131 Local Port: 111 Remote IP address: Remote Port: 0 Protocol: UDP Logical Interface Id: 1030 Protocol Service: port_map least recently used: yes