ped connect
Connect to a remote PED. This command instructs PEDclient to attempt to connect to the remote PEDserver at the IP address and port specified on the command line, or configured using the ped set command. See ped set for more information.
Behavior when defaults are configured using ped set
The ped set command allows you to configure a default IP address and/or port for the remote PEDserver. These values are used if they are not specified when you issue the ped connect command. The behavior of the ped connect command when defaults are configured using ped set is as follows:
Values set with hsm ped set | Parameters specified by hsm ped connect | IP address used | Port used |
---|---|---|---|
IP address and port | None | IP address configured with ped set. | Port configured with ped set. |
IP address | IP address specified by ped connect | Port configured with ped set. | |
Port | IP address configured with ped set. | Port specified by ped connect | |
IP address and port | IP address specified by ped connect | Port specified by ped connect | |
IP address only | None | IP address configured with ped set. | Port 1503 (default). |
IP address | IP address specified by ped connect | Port 1503 (default). | |
Port | IP address configured with ped set. | Port specified by ped connect. | |
IP address and port | IP address specified by ped connect | Port specified by ped connect. | |
Port only | None | Error. You must use the -ip parameter to specify an IP address. | Port configured with ped set. |
IP address | IP address specified by ped connect | Port configured with ped set. | |
Port | Error. You must use the -ip parameter to specify an IP address.. | Port specified by ped connect | |
IP address and port | IP address specified by ped connect | Port specified by ped connect |
Behavior when no defaults are configured using ped set
If no defaults are configured using ped set, you must specify at least an IP address. If no port is specified, the default port (1503) is used.
Syntax
ped connect [-ip <ip_address>] [-port <number>] [-slot <slot_number>]
Argument(s) | Shortcut | Description |
---|---|---|
-ip <ip_address> | -i | Specifies the IP Address of the PED. If -ip is not specified, the configured ip, if any, is used. |
-port <number> | -p |
Network Port (0-65535). If -port is not specified, the default or the configured port is used. Default: 1503 |
-slot <slot_number> | -s | Specifies the slot for the remote PED. If -slot is not specified, the current slot number is used. |
Example
lunacm:> ped connect
Command Result : No Error