NAME rpccp - Starts the RPC control program SYNOPSIS rpccp [ rpccp-command ]
1 – ARGUMENTS
rpccp-command Specifies one of the following control program commands: exit Leaves the RPC control program. help Displays a list of commands or the possible options of a specified command. quit Leaves the RPC control program. remove mapping Removes specified elements from the local endpoint map or from the endpoint map of a specified remote host. show mapping Shows the elements of the local endpoint map.
2 – DESCRIPTION
The RPC control program (rpccp) provides a set of commands for managing the endpoint map. You can use control program commands from within the control program or from the system prompt (represented here as a $). o From inside the control program: You can start and enter the control program using the rpccp command alone, without any argument. The control program then displays the control program prompt (rpccp>), as follows: $ rpccp rpccp> You can then enter any control program command, for example: rpccp> show mapping You leave the control program and return to the system prompt using the exit or quit command. If you enter invalid input, the control program displays the valid commands. o From the system prompt: Interactively or in a command procedure, enter the rpccp command with an internal command of the control program as the first argument.
2.1 – Arguments and Options
Except for the exit and quit commands, rpccp commands have one or more options. Each option is identified by a hyphen (-) followed by a letter; for example, -s. Some options require arguments. ___________________________________________________________ Function At System Prompt Inside Control Program ___________________________________________________________ Strings within Supported Not required quotation marks Wildcard Supported Unsupported substitution ___________________________________________________________
2.2 – RPC Control Program Commands
_________________________________________________________ Scope Command Unsupported in RPC-only Configuration _________________________________________________________ All entries add entry X remove entry X show entry X Server entry export X import X show server X unexport X Group add member X remove group X remove member X show group X Profile add element X remove element X remove profile X show profile X Endpoint map remove mapping show mapping ____________________________________________________
3 – help
NAME help - Displays a list of commands or the options of a specified command SYNOPSIS rpccp help [ rpccp-command ] ARGUMENTS rpccp-command Specifies one of the following control commands: exit quit
3.1 – DESCRIPTION
The help command displays information about the RPCCP command set or the options and argument associated with a specific command.
3.2 – EXAMPLES
The following command operates from the system prompt to display the internal commands of the control program: $ rpccp help The following commands start the control program and display the syntax of the remove entry command: $ rpccp rpccp> help remove entry
3.3 – RELATED_INFORMATION
Type HELP RPC for help about: Commands: remove mapping, rpccp, show mapping
4 – remove_mapping
NAME remove mapping - Removes specified elements from either the local or a remote endpoint map SYNOPSIS rpccp remove mapping [ host-address ] -b string-binding -i if-id [ -v versions ] [ -o object-uuid ]
4.1 – OPTIONS
-b Declares a string binding (required). You must also specify an interface identifier (using the -i option). Each command accepts up to 32 -b options. The value has the form of an RPC string binding, without an object UUID, for example: -b ncadg_ip_udp:63.0.2.17[5347] Note that depending on your system, string binding delimiters such as brackets ([ ]) may need to be preceded by an escape symbol (\) or placed within quotation marks (' ' or " "). Requirements vary from system to system, and you must conform to the usage rules of a system. -i Declares an interface identifier (required). Only one interface can be removed in a single operation. The interface identifier has the following form: interface-uuid,major-version.minor-version
4.2 – ARGUMENTS
host-address The host-address argument is a string binding that indicates where to find the target endpoint map. When accessing the local endpoint map, you can specify what protocol sequence to use (optional); ncadg_ip_udp: When accessing a remote endpoint map, you must specify both a protocol sequence and a network address for the remote system (required); for ncadg_ip_udp:16.20.16.44 An endpoint is unnecessary in local or remote host addresses, and the remove mapping command ignores any endpoint specified as part of a host address.
4.3 – DESCRIPTION
The remove mapping command removes one or more elements from an endpoint map. The target endpoint map can be either the local endpoint map or the endpoint map of a specified remote host. Each map element corresponds to an object UUID, interface identifier, annotation (optional), and binding information. The binding information contains an RPC protocol sequence, a network address, and an endpoint within brackets (rpc-prot-seq:network-addr[endpoint]). If entered without a remote host address as an argument, the command operates on the local endpoint map. This command requires one interface identifier (the -i option); at least one string binding (the -b option); and, optionally, one or more object UUIDs (the -o option). Each instance of the command accepts from 1 to 32 -b options and from 0 to 32 -o options. The options work together to delimit the elements to be removed from the target endpoint map. The command removes any map element that contains the specified interface identifier, a specified string binding, and a specified object UUID (if any).
4.4 – EXAMPLES
The following command operates from the system prompt to remove a map element from the local endpoint map. The command removes only the map element that contains the specified interface identifier, server address (specified as a string binding), and object UUID. $ rpccp remove mapping \ > -b ncadg_ip_udp:16.20.16.64[3424] \ > -i EC1EEB60-5943-11C9-A309-08002B102989,1.1 \ > -o 30DBEEA0-FB6C-11C9-8EEA-08002B0F4528 $ The following commands start the control program and remove an element from a remote endpoint map. The remove mapping command operates on the endpoint map of the remote host specified by the host address (ncadg_ip_udp:16.20.16.44) and removes the map element that contains the specified interface identifier, server address (specified as a string binding), and object UUID: $ rpccp rpccp> remove mapping \ > -b ncadg_ip_udp:16.20.16.64[3424] \ > -i EC1EEB60-5943-11C9-A309-08002B102989,1.1 \ > -o 30DBEEA0-FB6C-11C9-8EEA-08002B0F4528 \ > ncadg_ip_udp:16.20.16.44 rpccp>
5 – show_mapping
NAME show mapping - Shows the elements of either the local or remote endpoint map SYNOPSIS rpccp show mapping [ host-address ] [ -i if-id [ -v versions ]]
5.1 – OPTIONS
-i Defines an interface identifier to be shown (optional). Only one interface can be shown in a single operation. If specified, only elements containing this interface identifier are shown. The -i option can be qualified by the -v option. The value has the following form: interface-uuid,major-version.minor-version The UUID is a hexadecimal string and the version numbers are decimal strings, for example: -i EC1EEB60-5943-11C9-A309-08002B102989,1.1 Leading zeros in version numbers are ignored. -o Defines an object to be shown (optional). Each show mapping command accepts up to 32 -o options. The UUID is a hexadecimal string, for example: -o 3C6B8F60-5945-11C9-A236-08002B102989 -v Indicates how a specified interface version is used (optional). If used without the -i option, the -v option is ignored. The possible combinations of versions for the -v option and their actions are as follows: ________________________________________________ Versions Action ________________________________________________ all The interface version is ignored. exact Both the major and minor versions must match the specified versions. compatible The major version must match the specified version, and the minor version must be greater than or equal to the specified version. major_only The major version must match the specified version; the minor version is ignored. upto The major and minor versions must be less than or equal to those specified. ________________________________________________ If the -v option is absent, the command shows compatible version numbers.
5.2 – ARGUMENTS
host-address The host-address argument is a string binding that indicates where to find the target endpoint map. When accessing the local endpoint map, you can specify what protocol sequence to use (optional); ncadg_ip_udp: When accessing a remote endpoint map, you must specify both a protocol sequence and a network address for the remote system (required); for ncadg_ip_udp:16.20.16.44 An endpoint is unnecessary in local or remote host addresses, and the remove mapping command ignores any endpoint specified as part of a host address.
5.3 – DESCRIPTION
The show mapping command shows elements of an endpoint map. Each element corresponds to an object UUID, interface identifier, annotation, and binding information. The binding information contains an RPC protocol sequence, a network address, and an endpoint within square brackets (rpc-prot-seq:network-addr[endpoint]). The endpoint map can be either the local endpoint map or the endpoint map of a specified remote host. If entered without a remote host address, the command accesses the local endpoint map. For the local endpoint map, a show mapping command without any options displays all the map elements. For a remote endpoint map, map elements are accessible only for protocol sequences that are supported on both your system and the remote system. Note: To ensure that you can remotely display all map elements from every remote endpoint map, run the RPC control program on a system that supports all of the protocol sequences available in your network environment. The options list a selected subset of map elements. The - i option selects a specific interface, and the -v option qualifies the -i option. The -o object selects a specific object; you can use from 0 to 32 -o options per command. The options work together to specify the subset of elements for the target protocol sequence(s).
5.4 – EXAMPLES
The following commands start the control program and show the map elements in the local endpoint map that contain the specified interface identifier: $ rpccp rpccp> show mapping -i EC1EEB60-5943-11C9-A309-08002B102989,1.1 The following rpccp show mapping command operates from the system prompt. The command accesses the endpoint map of the remote host specified by the host address (ncadg_ip_udp:16.20.16.44) and displays the one map element that contains both the specified interface identifier and the specified object UUID: $ rpccp show mapping \ > -i EC1EEB60-5943-11C9-A309-08002B102989,1.1 \ > -o 30DBEEA0-FB6C-11C9-8EEA-08002B0F4528 \ > ncadg_ip_udp:16.20.16.44