Ransomware attackers specifically target and attempt to destroy backup systems to increase the probability of payment. Hardening your system is critical. Please ensure you have reviewed your platform security using the Security Hardening Checklist
Cohesity

COHESITY Documentation

Explore our documentation to get started, discover products & new features, access troubleshooting guides, register sources, platforms support.

Products
Data Security Alliance
Visit Cohesity.com
Demos
Support
Blogs
Developers
Partner Portals
Cohesity Community
© 2026 Cohesity, Inc. All Rights Reserved.
Terms of Use|
Privacy Policy|
Legal|
  1. Home
  2. NetBackup™ Troubleshooting Guide
  3. Troubleshooting procedures
  4. About the bpclntcmd utility
NetBackup™ Troubleshooting Guide

About the bpclntcmd utility

The bpclntcmd utility resolves IP addresses into host names and host names into IP addresses. It uses the same system calls as the NetBackup application modules.

With the - pn option, bpclntcmd connects to the primary server and returns how the primary server sees the connecting host: source IP address and port number, host name to which the IP resolves, and policy client for that host name. Add the - verbose option to see additional connection details including the host certificates that NetBackup uses to authenticate the hosts.

The following directory contains the command that starts the utility:

Windows

install_path\NetBackup\bin

UNIX

/usr/openv/netbackup/bin

On Windows, run this bpclntcmd command in an MS-DOS command window so you can see the results.

The bpclntcmd options that are useful for testing the functionality of the host name and IP address resolution are -ip, -hn, -sv, and -pn.

-ip

bpclntcmd -ip IP_Address

The -ip option lets you specify an IP address. bpclntcmd uses gethostbyaddr() on the NetBackup node and gethostbyaddr() returns the host name with the IP address as defined in the following: the node's DNS, WINS, NIS, or local hosts file entries. No connection is established with the NetBackup server.

-hn

bpclntcmd -hn Hostname

The -hn option specifies a host name. bpclntcmd uses gethostbyname() on the NetBackup node to obtain the IP address that is associated with the host name defined in the following: the node's DNS, WINS, NIS, or local hosts file entries. No connection is established with the NetBackup server.

-sv

bpclntcmd -sv

The -sv option displays the NetBackup version number on the primary server.

-pn

When the -pn option is run on a NetBackup client, it initiates an inquiry to the NetBackup primary server. The server then returns information to the requesting client. First, the server is the first server in the server list. Then it displays the information that the server returns. The information the server returns is from the perspective of the primary server and describes how the primary server sees the connecting client. For example:

bpclntcmd -pn
expecting response from server rabbit.friendlyanimals.com
dove.friendlyanimals.com dove 123.145.167.3 57141

The following is true of this command example:

  • expecting response from server rabbit.friendlyanimals.com is the primary server entry from the server list on the client.

  • dove.friendlyanimals.com is the connection name (peer name) returned by the primary server. The primary server obtained this name through getaddrinfo().

  • dove is the client name configured in the NetBackup policy client list.

  • 123.145.167.3 is the source IP address from which the client connected to the primary server.

  • 57141 is the source port number of the connection from the client.

-verbose

Use with the -pn option to display more details about the connection and the host certificates used. The following is an example of the output:

$ bpclntcmd -pn -verbose
expecting response from server rabbit.friendlyanimals.com
127.0.0.1:34923 -> 127.0.0.1:50464 PROXY 123.145.167.3:27082
 -> 192.168.0.15:1556
LOCAL_CERT_ISSUER_NAME = /CN=broker/OU=root@
 rabbit.friendlyanimals.com /O=vx
LOCAL_CERT_SUBJECT_COMMON_NAME =
 fad46a25-1fe2-4143-a62b-2dc0642d8c45
PEER_CERT_ISSUER_NAME = /CN=broker/OU=root@
 rabbit.friendlyanimals.com /O=vx
PEER_CERT_SUBJECT_COMMON_NAME =
 3ca8ab18-8eb3-4c8e-825d-faee9f9320d1
PEER_IP = 123.145.167.3
PEER_PORT = 27082
PEER_NAME = dove.friendlyanimals.com
POLICY_CLIENT = dove

Use -ip and -hn to verify the ability of a NetBackup node to resolve the IP addresses and host names of other NetBackup nodes.

For example, to verify that a NetBackup server can connect to a client, do the following:

  • On the NetBackup server, use bpclntcmd -hn to verify the following: The operating system can resolve the host name of the NetBackup client (as configured in the client list for the policy) to an IP address. The IP address is then used in the node's routing tables to route a network message from the NetBackup server.

  • On the NetBackup client, use bpclntcmd -ip to verify that the operating system can resolve the IP address of the NetBackup server. (The IP address is in the message that arrives at the client's network interface.)

Note:

The bpclntcmd command logs messages to the usr/openv/netbackup/logs/bpclntcmd directory (UNIX) or the install_path\NetBackup\logs\bpclntcmd (Windows). For earlier versions of NetBackup, bpclntcmd logs are sent to the bplist directory, not the bpclntcmd directory.

Feedback

Was this page helpful?
Previous

Example of host name and service entries on UNIX server that connects to multiple networks

Next

Using the Host properties to access configuration settings

Feedback

Was this page helpful?