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, serial number, or user when changing devices due to a hardware issue.

Syntax

execute device replace pw <device_name> <password>

execute device replace sn <device_name> <serial_number>

execute device replace user <device_name> <user>

Variable

Description

pw

Replace the device password.

sn

Replace the device serial number.

user

Replace the device user.

<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.

<user>

The new user for the new device.

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, serial number, or user when changing devices due to a hardware issue.

Syntax

execute device replace pw <device_name> <password>

execute device replace sn <device_name> <serial_number>

execute device replace user <device_name> <user>

Variable

Description

pw

Replace the device password.

sn

Replace the device serial number.

user

Replace the device user.

<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.

<user>

The new user for the new device.

Example

execute device replace pw FGT600C2805030002

This operation will clear the password of the device.

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