In Digi Remote Manager all the devices can operate in service or maintenance modes. The difference between them is you can set Remote Manager Templates to be applied while a device is in maintenance mode and never while it operates normally in service mode.
The maintenance status of simulated devices is defined in the corresponding profile inside the maintenance_window object.
The set command includes the maintenance feature to change the operating mode of a specific device.
Set a device in service mode
To set a device in service mode you must use the maintenance feature of the set command and specify no as parameter.
The full syntax of this operation is as follows:
simulator> set devices <device> maintenance no
Where <device> corresponds to the ID or name of the device to set in service mode.
This example shows how to set the device with ID EE0D1E60-EE0EE001 in service mode:
simulator> set devices EE0D1E60-EE0EE001 maintenance no
Setting device in service...
Device is in service.
simulator>
Set a device in maintenance mode
To configure a simulated device in maintenance mode, use the maintenance feature of the set command and specify yes as parameter.
The syntax of this operation is:
simulator> set devices <device> maintenance yes
Where <device> corresponds to the ID or name of the device to set in maintenance mode.
The following line sets the device with ID EE0D1E60-EE0EE001 in maintenance mode:
simulator> set devices EE0D1E60-EE0EE001 maintenance yes
Setting device in maintenance window mode...
Device is in maintenance window mode.
simulator>