NetWorker: nsrports komutunu kullanma

Résumé: Bu makale, NetWorker tarafından kullanılan bağlantı noktalarını, geçerli durumlarını listelemek ve başka bir sisteme bağlantıyı test etmek için nsrports komutunun nasıl kullanılacağına genel bir bakış sağlar ...

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

Söz Dizimi:

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

Devletleri:

  • LISTEN: Sunucu tarafı yuvası gelen bir TCP bağlantısını bekliyor. Bir işlem bir bağlantı noktasına bağlandı ve pasif olarak bağlantı bekliyor. Hizmet hazır ve bağlantıları kabul etmeye hazır. Henüz TCP tokalaşması gerçekleşmedi.
  • ESTABLISHED: TCP bağlantısı tamamen etkin ve 3 yönlü tokalaşma tamamlandı. Veriler aktarılıyor veya bağlantı açık ve kullanılabilir durumda kalıyor. Soket çift yönlü veri aktarımı için hazırdır.
  • TIME_WAIT: Bir bağlantı kapandı ve aktif kapatmayı gerçekleştiren (ilk FIN'ı gönderen) taraf, uzak tarafın son ACK'yi aldığından emin olmak için bekliyor. Bağlantı normal şekilde sona erdi. Bu, önceki bağlantılardan gelen gecikmeli kesimlerin yeni bir bağlantının parçası olarak yanlış yorumlanmasını önler. Aynı 4 tanımlama grubunun (kaynak IP/bağlantı noktası ↔ hedef IP/bağlantı noktası) temiz, çakışmasız bir şekilde yeniden kullanılmasını sağlar. Bu, yalnızca yüzlerce veya binlerce görüyorsanız bir sorundur. Bkz. NetWorker: Ağ yapılandırması için en iyi uygulamalar

Örnekler:

  • NetWorker sunucusunda açık bağlantı noktalarını göster: 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
  • NetWorker sunucusunda açık olan bağlantı noktalarını IP adresi biçiminde gösterme: 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
  • IPv6 bağlantısı olan bir NetWorker sunucusunda bağlantı noktalarının açık olduğunu gösterme: nsrports -a -f inet6
  • IPv4 bağlantısı olan bir NetWorker sunucusunda bağlantı noktalarının açık olduğunu gösterme: 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
  • Başka bir ana bilgisayardaki bağlantı noktasına bağlantıyı test edin: 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.