Debugging the in-memory and persistent device list

The CLI commands described in this section are available for Core only.

CLI commands are available for debugging the persistent device list and the in-memory device list. You can access these commands from CONFIG mode.

Do not use these commands, which modify the list of devices on disk or in memory, unless Technical Support directs you to.

Table 67.   Debugging the in-memory and persistent device list

Feature

Command

Write the in-memory list of devices to disk.

debug sentry device-cache to-disk

Read the list of devices on disk into the in-memory list.

debug sentry device-cache from-disk

Update the in-memory list of devices based on Core’s list of registered, allowed devices.

debug sentry device-cache from-core

To write the in-memory list of devices to disk, enter the following command:

debug sentry device-cache to-disk

Example of a the command and its output:

#debug sentry device-cache to-disk

Wrote device-cache to disk. Number of devices written: 942

The number of devices written to disk is less than or equal to the number of devices in the in-memory device list. For example, devices for which the state (blocked, allowed) is unknown are not written to disk.

To read the list of devices on disk into the in-memory list, enter the following command:

debug sentry device-cache from-disk

Example of a the command and its output:

#debug sentry device-cache from-disk

Restored device-cache from disk. Number of devices restored: 0

The number of devices restored to the in-memory device list is less than or equal to the number of devices in the persistent device list. For example, if a device in the persistent list is already in the in-memory list, it is not counted in this value.

To update the list of devices in memory based on Core’s list of registered, allowed devices, enter the following command:

debug sentry device-cache from-core

Example of a the command and its output:

#debug sentry device-cache from-core

Loaded and updated device-cache from Core. Number of devices loaded: 7572

This command causes the Standalone Sentry to get from Core the list of registered devices that are allowed to access the ActiveSync server. This value is less than or equal to the number of devices in the in-memory device list. For example, the in-memory device list can also include unregistered devices and blocked devices.