You are here: Reference Manual > Client-side Commands (lunacm) > lunacm ped Commands > lunacm ped set Command

lunacm ped Commands

lunacm ped set Command

NAME

ped set  - Set the PED connection type for slot number.

SYNOPSIS

lunacm:> ped set id <ped-id> [-slot <slot_number>]  

DESCRIPTION

This command sets Luna PED connection type - local or remote - to be used by the HSM at the [optionally] indicated slot number. If no slot is specified, then the lowest (slot 1) is assigned that connection type. This can differ from, and overrides (per slot), the global setting in the configuration file.

If "ped set" command is not run, then the global PED ID (the type of PED connection to be used) from the config file applies to all slots.

The options for PED ID are

 

OPTIONS

 Command              (short)   Description
---------------------------------------------------------
id            i   Sets PED connection type: 0 = local, 1 = remote

slot          s          The slot number to which this applies

 

id connection type    [mandatory] The flag that tells the selected slot which type of PED connection to expect. 0 = Local PED ; 1 = Remote PED. Overrides the global default for the indicated slot.

slot slot number    [optional] The number of the slot that you wish to assign as the current slot for other lunacm utility commands to work with.

 

This command is useful only if you have more than one Luna module in your computer. In that case, you can use the "slot list" command to see which slot numbers have been assigned, and then use "slot set" to specify which of the available modules (in their slots) you wish to address with lunacm commands.

 

SAMPLE OUTPUT

lunacm:> slot id 0 set -slot 4

 

Command Result : No Error

lunacm:>