NetWorker: How to use the nsrports command

Résumé: This article provides a general overview of how to use the nsrports command to list ports used by NetWorker, their current state, and test connectivity to another system

Cet article concerne Cet article ne concerne pas Cet article n’est associé à aucun produit spécifique. Toutes les versions du produit ne sont pas identifiées dans cet article.

Instructions

Syntax:

nsrports -a [-n] [-f {inet|inet6}]
nsrports -t name [-p port]

-n display IP address instead of host name
-f  display either IPv4 with "inet" or IPv6 with "inet6"
-t IP address or hostname 
-p Port

States:

  • LISTEN: The server-side socket is waiting for an incoming TCP connection. A process has bound to a port and is passively awaiting connections. The service is up and ready to accept connections. No TCP handshake has happened yet.
  • ESTABLISHED: A TCP connection is fully active, and the 3-way handshake has been completed. Data is being transferred, or the connection remains open and usable. The socket is ready for bidirectional data transfer.
  • TIME_WAIT: A connection has closed, and the side that performed the active close (sent the first FIN) is waiting to ensure that the remote side received the final ACK. The connection ended normally. This prevents delayed segments from previous connections from being misinterpreted as part of a new connection. Ensures a clean, collision‑free reuse of the same 4‑tuple (source IP/port ↔ destination IP/port). This is only a problem if you are seeing hundreds or thousands of them. See: NetWorker: Best practices for networking configuration

Examples:

  • Show ports open on a NetWorker server: nsrports -a
[root@nsr ~]# nsrports -a
PROTOCOL  LOCAL ADDRESS          REMOTE ADDRESS           STATE
tcp/ipv6  *:nsrmmd               *:*                      LISTEN
tcp/ipv6  *:nsrindexd            *:*                      LISTEN
tcp/ipv6  *:nsrjobd              *:*                      LISTEN
tcp/ipv6  *:nsrmmd               *:*                      LISTEN
tcp/ipv6  *:nsrmmgd              *:*                      LISTEN
... REMOVED FOR BREVITY ...
tcp/ipv6  localhost:nsrexecd     localhost:58309          ESTABLISHED
tcp/ipv6  localhost:40497        localhost:nsrexecd       ESTABLISHED
tcp/ipv6  localhost:40861        localhost:nsrjobd        ESTABLISHED
tcp/ipv6  localhost:47045        localhost:nsrmmdbd       ESTABLISHED
tcp/ipv4  localhost:60599        localhost:nsrmmdbd       ESTABLISHED
  • Show ports open on a NetWorker server in IP address format: nsrports -a -n
[root@nsr ~]# nsrports -a -n
PROTOCOL  LOCAL ADDRESS              REMOTE ADDRESS              STATE
tcp/ipv6  *:9926                     *:*                         LISTEN
tcp/ipv6  *:8247                     *:*                         LISTEN
tcp/ipv6  *:8555                     *:*                         LISTEN
tcp/ipv6  *:8457                     *:*                         LISTEN
tcp/ipv6  *:8827                     *:*                         LISTEN
... REMOVED FOR BREVITY ...
tcp/ipv6  ::1:9571                   ::1:58309                   ESTABLISHED
tcp/ipv6  ::1:40497                  ::1:7937                    ESTABLISHED
tcp/ipv6  ::1:40861                  ::1:8555                    ESTABLISHED
tcp/ipv6  ::1:47045                  ::1:9750                    ESTABLISHED
tcp/ipv4  127.0.0.1:60599            127.0.0.1:9750              ESTABLISHED
  • Show ports open on a NetWorker server with IPv6 connection: nsrports -a -f inet6
  • Show ports open on a NetWorker server with IPv4 connection: nsrports -a -f inet
[root@nsr ~]# nsrports -a -f inet6
PROTOCOL  LOCAL ADDRESS          REMOTE ADDRESS           STATE
tcp/ipv6  *:nsrmmd               *:*                      LISTEN
tcp/ipv6  *:gstwebsvc            *:*                      LISTEN
tcp/ipv6  *:gstd                 *:*                      LISTEN
tcp/ipv6  *:nsrmmd               *:*                      LISTEN
tcp/ipv6  *:nsrsnmd              *:*                      LISTEN
... REMOVED FOR BREVITY ...
tcp/ipv6  localhost:54237        localhost:nsrexecd       TIME_WAIT
tcp/ipv6  localhost:44937        localhost:nsrmmdbd       ESTABLISHED
tcp/ipv6  localhost:nsrmmdbd     localhost:51615          ESTABLISHED
tcp/ipv6  localhost:nsrd         localhost:47961          ESTABLISHED
tcp/ipv6  localhost:44049        localhost:nsrmmdbd       ESTABLISHED
  • Test connectivity to a port on another host: nsrports -t HOSTNAME -p PORT
[root@nsr ~]# nsrports -t rhel-client01.amer.lan -p 7938
Forward lookup for rhel-client01.amer.lan
Query time:              0.001 sec
Canonical name (CNAME):  rhel-client01.amer.lan
Address (A):             192.168.9.121
Connect to port 7938:    Succeeded (0.001 sec)

Reverse lookup for 192.168.9.121
Query time:              0.001 sec
Name:                    rhel-client01.amer.lan

Informations supplémentaires

Produits concernés

NetWorker
Propriétés de l’article
Numéro d’article: 000079453
Type d’article: How To
Dernière modification: 03 Mar 2026
Version:  5
Trouvez des réponses à vos questions auprès d’autres utilisateurs Dell
Services de support
Vérifiez si votre appareil est couvert par les services de support.