Fortinet Document Library

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:


Table of Contents

CLI Reference

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

pw

Replace the device password.

sn

Replace the device serial number.

<device_name>

The name of the device.

<password>

The new password for the new device.

<serial_number>

The new serial number for the new device, for example: FWF40C391XXX0062.

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

pw

Replace the device password.

sn

Replace the device serial number.

<device_name>

The name of the device.

<password>

The new password for the new device.

<serial_number>

The new serial number for the new device, for example: FWF40C391XXX0062.

Example

execute device replace pw FGT600C2805030002

This operation will clear the password of the device.

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