Fortinet black logo

CLI Reference

device

device

Use this command to change a device password or serial number when changing devices due to a hardware issue.

Syntax

execute device replace pw <device_name> <password>

execute device replace sn <device_name> <serial_number>

Variable

Description

<device_name>

The name of the device.

<password>

The device password.

<device_name>

The name of the device.

<serial_number>

The new serial number.

Example

execute device replace pw FGT600C2805030002

This operation will clear the password of the device.

Do you want to continue? (y/n)y

device

Use this command to change a device password or serial number when changing devices due to a hardware issue.

Syntax

execute device replace pw <device_name> <password>

execute device replace sn <device_name> <serial_number>

Variable

Description

<device_name>

The name of the device.

<password>

The device password.

<device_name>

The name of the device.

<serial_number>

The new serial number.

Example

execute device replace pw FGT600C2805030002

This operation will clear the password of the device.

Do you want to continue? (y/n)y