bptestnetconn utility to display Preferred network information
The bptestnetconn utility is available to administrators to test and analyze host connections. Use the preferred network option (--prefnet or -p) to display information about the preferred network configuration, along with the forward lookup information of a host on the server list.
For example, bptestnetconn -v6 -p -s -H host1 displays the directives in the order in which NetBackup processes them, which may not be the order in which they are configured.
The bptestnetconn command is described in the NetBackup Commands Reference Guide.
The following article contains best practices for using bptestnetconn command:
Figure: bptestnetconn for Server_B with no directives listed shows the bptestnetconn output when run on Server_A, for Server_B. That is, bptestnetconn is run from Server_A's perspective. Based on the directives configured on Server_A, for Server_B, bptestnetconn shows the available IP addresses on Server_B. In this example, no directives are configured on Server_A.
The following directive is added to the properties on Server_A:
In the configuration file the directive appears as follows:
PREFERRED_NETWORK = 2001:0db8:0:11c::/62 ONLY
This directive provides NetBackup with the information to filter the addresses and choose to communicate with only those that match the :11c, :11d, :11e, and :11f networks. The addresses that do not match the Only directive are prohibited, as shown in the bptestnetconn output.
Figure: bptestnetconn for Server_B with directive shows the bptestnetconn output for Server_B, given this directive.