NetWorker: Verwendung des Befehls nsrports
Résumé: Dieser Artikel bietet eine allgemeine Übersicht über die Verwendung des Befehls nsrports zum Auflisten der von NetWorker verwendeten Ports, ihres aktuellen Status und zum Testen der Konnektivität zu einem anderen 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
Staaten:
LISTENverwalten: Der serverseitige Socket wartet auf eine eingehende TCP-Verbindung. Ein Prozess ist an einen Port gebunden und wartet passiv auf Verbindungen. Der Service ist aktiv und kann Verbindungen akzeptieren. Es ist noch kein TCP-Handshake erfolgt.ESTABLISHEDverwalten: Eine TCP-Verbindung ist vollständig aktiv und der 3-Wege-Handshake wurde abgeschlossen. Daten werden übertragen oder die Verbindung bleibt offen und nutzbar. Der Sockel ist bereit für die bidirektionale Datenübertragung.TIME_WAITverwalten: Eine Verbindung wurde geschlossen und die Seite, die den aktiven Abschluss durchgeführt hat (die erste FIN gesendet), wartet, um sicherzustellen, dass die Remoteseite die endgültige ACK erhalten hat. Die Verbindung wurde normal beendet. Dadurch wird verhindert, dass verzögerte Segmente von vorherigen Verbindungen als Teil einer neuen Verbindung fehlinterpretiert werden. Sorgt für eine saubere, kollisionsfreie Wiederverwendung desselben 4-Tupels (Quell-IP/Port-Ziel-IP ↔ /-Port). Dies ist nur dann ein Problem, wenn Sie Hunderte oder Tausende von ihnen sehen. Siehe: NetWorker: Best Practices für die Netzwerkkonfiguration
Beispiele:
- Anzeigen von Ports, die auf einem NetWorker-Server geöffnet sind:
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
- Zeigen Sie die auf einem NetWorker-Server geöffneten Ports im IP-Adressformat an:
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
- Zeigen Sie die auf einem NetWorker-Server mit IPv6-Verbindung geöffneten Ports an:
nsrports -a -f inet6 - Zeigen Sie die auf einem NetWorker-Server mit IPv4-Verbindung geöffneten Ports an:
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
- Testen Sie die Konnektivität zu einem Port auf einem anderen 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
NetWorkerProprié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.