Home >

LunaCM Command Reference Guide > LunaCM Commands > ped > ped connect

ped connect

Connect to a remote PED. This command instructs PedClient to attempt to connect to the Remote PED Server 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 PED Server. 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 specifiy at least an IP address. If no port is specified, the default port (1503) is used.

Syntax

ped connect [-ip <ip_address>] [-port <port>] [-serial <serial_num>] [-force]

Parameter Shortcut Description
-force -f Force the action without prompting.
-ip -i Specifies the IP Address of the
-port -p

Network Port (0-65535).

Default: 1503

-serial -s Token Serial Number

Example

lunacm:>ped connect -ip 192.20.10.155
 
Luna PED operation required to connect to Remote PED - use orange PED key(s).
Ped Client Version 1.0.5 (10005)  
Ped Client launched in startup mode.  
PED client local IP : 192.20.9.77/192.168.255.223  
Starting background process  
Background process started  
Ped Client Process created, exiting this process.
 
Command Result : 0 (Success)