Use the orpcinfo command to display the servers that are registered and operational with any portmapper on your network. The orpcinfo command makes a remote procedure call (RPC) to an RPC server and displays the results.
RPCINFO can query only hosts that resolve to valid IPv4 addresses.
>>-rpcinfo------------------------------------------------------> >--+- - p --+------+---------------------------------------------+->< | '-host-' | +-+- - u --host --prognum--+---------+-+--+-----------------+-+ | | '-versnum-' | '- - n --portnum -' | | '- - t --host --prognum--+---------+-' | | '-versnum-' | +- - b --prognum --versnum------------------------------------+ +- - d --prognum --versnum------------------------------------+ '-?-----------------------------------------------------------'
Tip: The versnum value is the version of the prognum value; it is not the RPC protocol version number.
Requirement: The version number is required for the -b parameter. If a version is specified, the rpcinfo command attempts to call that version of the specified program. If a version is not specified, the rpcinfo command prints error information. For example, if -u is specified without a versnum value, the RPC program reports the versions of its program that it supports.
# orpcinfo -t mvsx 100003
EZA4328I program 100003 version 2 ready and waiting
EZA4328I program 100003 version 3 ready and waiting
#
When you invoke the rpcinfo command with the -d option, a registration from the portmapper or rpcbind server list of registered applications is deleted. You can define the following security product resource profile in the SERVAUTH class to control the ability of a user to delete registrations from the rpcbind list of registered services:
EBZ.RPCBIND.sysname.rpcbindname.REGISTRY
See the sample EZARACF member for examples of the security product commands that you can use to create the resource profile.
Restriction: This profile does not control the ability of a user to delete registrations from the portmapper list of registered services.
BPX.POE
If the FACILITY class is not active or if the security product resource profile is not defined, all users can use the -b option to execute the target assistance RPC.