Device Administration
You can use the iCDR administrative console to create, list, lock, unlock and get information about devices within the iCDR instance. Changing a device secret needs to be done through the UI. For more information visit 'Changing Device Secret' section of Device Management.
Viewing Devices
You can view devices in the system using the device.list command, specifying optional filter paramters.
> device.list
SID Name Last Auth. Lockout ILA A
8a5c2e0c-c096-11ea-9f6f-00155d640b09 OSS-SANTEMPI-EL 2021-06-29T23:15:44... 0 *
6552ba82-d8fe-11eb-8249-00155d640b09 Create-Device-Test-0 0 *
d73a8f8c-d361-11eb-8248-00155d640b09 Create-Device-Test 2021-06-22T10:41:38... 9999-12-21T18:59:59... 0 *
b1006a6c-d514-11eb-8248-00155d640b09 testDevice 0 *
55bece52-d422-11eb-8248-00155d640b09 ETSTST 0 *
959617ca-d2af-11eb-8248-00155d640b09 Debugee-0060739CE9C9 2021-06-22T09:27:35... 0 *The optional filter parameters for device.list are:
Parameter
Description
Example
-l
Filter on locked status
device.list -l
-a
Include non-active devices
device.list -a
Adding Devices
You can add a device to the iCDR instance using the device.add command and specifying the name you wish to give to the device:
The parameters for device.add are:
Parameter
Description
Example
-s
The device secret to set
device.add <device_name> -s s3CreT
-g
The policies to grant the device
device.add <device_name> -g 1.3.6.1.4.1.33349.3.1.5.9.2.999
-d
The policies to deny the device
device.add <device_name> -d 1.3.6.1.4.1.33349.3.1.5.9.2.999
Locking/Unlocking Devices
To lock or unlock a device, the device.lock command with our without the -l flag to specify whether the lock should be set or unset.
To lock the device "Create-Device-Test":
To unlock the device "Create-Device-Test":
Deleting/Undeleting Devices
To delete a device, the device.del command is used specifiying the device name.
To delete the device "Create-Device-Test":
To undelete a device, the device.undel command is used specifying the device name.
To undelete the device "Create-Device-Test":
Assigning Policies to a Device
To assign a policy to a device please visit 'Assigning Policies' section of Policy Administration.
Device Info View
You can get extended information about a particular device by using the device.info command and specifying the device name. For example, to get information about the device Create-Device-Test:
Last updated
Was this helpful?