Fortinet black logo

CLI Reference

dmserver delrev

dmserver

Use these commands to manage devices and revisions.

dmserver

dmserver revlist

dmserver showconfig

dmserver showdev

dmserver showrev

dmserver delrev

Use this command to delete configuration revisions. The device name will be kept.

Syntax

execute dmserver delrev <device_name> <startrev> <endrev>

Variable

Description

<device_name>

The name of the device.

<startrev>

The starting configuration revision number that you want to delete.

<endrev>

The ending configuration revision number that you want to delete.

dmserver revlist

Use this command to show a list of revisions for a device.

Syntax

execute dmserver revlist <device_name>

Variable

Description

<device_name>

The name of the device.

dmserver showconfig

Use this command to show a specific configuration type and revision.

Syntax

execute dmserver showconfig <device_name>

Variable

Description

<device_name>

The name of the device.

dmserver showdev

Use this command to show a list of available devices. For each listed device, this command lists the device ID, device name, and serial number.

Syntax

execute dmserver showdev

dmserver showrev

Use this command to display a device’s configuration revision.

Syntax

execute dmserver showrev <device_name> <revision>

Variable

Description

<device_name>

The name of the device.

<revision>

The configuration revision you want to display.

dmserver

Use these commands to manage devices and revisions.

dmserver

dmserver revlist

dmserver showconfig

dmserver showdev

dmserver showrev

dmserver delrev

Use this command to delete configuration revisions. The device name will be kept.

Syntax

execute dmserver delrev <device_name> <startrev> <endrev>

Variable

Description

<device_name>

The name of the device.

<startrev>

The starting configuration revision number that you want to delete.

<endrev>

The ending configuration revision number that you want to delete.

dmserver revlist

Use this command to show a list of revisions for a device.

Syntax

execute dmserver revlist <device_name>

Variable

Description

<device_name>

The name of the device.

dmserver showconfig

Use this command to show a specific configuration type and revision.

Syntax

execute dmserver showconfig <device_name>

Variable

Description

<device_name>

The name of the device.

dmserver showdev

Use this command to show a list of available devices. For each listed device, this command lists the device ID, device name, and serial number.

Syntax

execute dmserver showdev

dmserver showrev

Use this command to display a device’s configuration revision.

Syntax

execute dmserver showrev <device_name> <revision>

Variable

Description

<device_name>

The name of the device.

<revision>

The configuration revision you want to display.