Fortinet white logo
Fortinet white logo

CLI Reference

execute nethsm

execute nethsm

nethsm

This topic includes the following commands:

execute nethsm clear-log

Clear NETHSM log.

execute nethsm clear-log

execute nethsm client-cert-create

(Re)Create client certificate.

execute nethsm client-cert-create <string>

Parameter

Description

Type

Size

<string>

Country name (e.g. Canada) or country code (e.g. ca).

string

execute nethsm client-cert-export ftp

Export client certificate over FTP

execute nethsm client-cert-export ftp <ftp server>[:ftp port] <remote-path> <Enter>|<user> <passwd>

Parameter

Description

Type

Size

<ftp server>[:ftp port]

FTP server IP, can be attached with port.

string

<remote-path>

FTP remote directory.

string

<Enter>|<user>

FTP username may be needed.

string

<passwd>

FTP password.

string

execute nethsm client-cert-export tftp

Export client certificate over TFTP

execute nethsm client-cert-export tftp <ip>

Parameter

Description

Type

Size

<ip>

IP address of TFTP server.

string

execute nethsm client-cert-show

Display client certificate

execute nethsm client-cert-show

execute nethsm config-export ftp

Import nethsm config from a FTP server.

execute nethsm config-export ftp <ip>[:ftp port] <remote-path> <Enter>|<user> <passwd>

Parameter

Description

Type

Size

<ip>[:ftp port]

FTP server IP, can also include port.

string

<remote-path>

FTP remote directory.

string

<Enter>|<user>

FTP username may be needed.

string

<passwd>

FTP password.

string

execute nethsm config-export tftp

Export nethsm config over TFTP

execute nethsm config-export tftp <ip>

Parameter

Description

Type

Size

<ip>

IP address of TFTP server.

string

execute nethsm config-import ftp

Export nethsm config over FTP

execute nethsm config-import ftp <string> <ftp server>[:ftp port] <Enter>|<user> <passwd>

Parameter

Description

Type

Size

<string>

File name on the FTP server.

string

<ftp server>[:ftp port]

FTP server IP, can also include port.

string

<Enter>|<user>

FTP username may be needed.

string

<passwd>

FTP password.

string

execute nethsm config-import tftp

Import nethsm config from a TFTP server.

execute nethsm config-import tftp <string> <ip>

Parameter

Description

Type

Size

<string>

File name on the TFTP server.

string

<ip>

IP address of TFTP server.

string

execute nethsm config-show

Display nethsm config

execute nethsm config-show

execute nethsm diagnose

Partition diagnose.

execute nethsm diagnose

execute nethsm hagroup-add

Add HA group.

execute nethsm hagroup-add <hagroup>

Parameter

Description

Type

Size

<hagroup>

HSM HA group name.

string

execute nethsm hagroup-del

Delete HA group.

execute nethsm hagroup-del <hagroup>

Parameter

Description

Type

Size

<hagroup>

HSM HA group name.

string

execute nethsm hagroup-list

List HA group.

execute nethsm hagroup-list <hagroup>

Parameter

Description

Type

Size

<hagroup>

HSM HA group name.

string

execute nethsm register

Register to network HSM server.

execute nethsm register <server>

Parameter

Description

Type

Size

<server>

HSM server name.

string

execute nethsm reset

Erase all NETHSM config.

execute nethsm reset

execute nethsm restore-conf

Restore NETHSM config.

execute nethsm restore-conf

execute nethsm set-conf-opt

Set NETHSM config option.

execute nethsm set-conf-opt

execute nethsm show-log

Show NETHSM log.

execute nethsm show-log

execute nethsm status

Client status.

execute nethsm status <server>

Parameter

Description

Type

Size

<server>

HSM server name.

string

execute nethsm unregister

Unregister from network HSM server.

execute nethsm unregister <server>

Parameter

Description

Type

Size

<server>

HSM server name.

string

execute nethsm

execute nethsm

nethsm

This topic includes the following commands:

execute nethsm clear-log

Clear NETHSM log.

execute nethsm clear-log

execute nethsm client-cert-create

(Re)Create client certificate.

execute nethsm client-cert-create <string>

Parameter

Description

Type

Size

<string>

Country name (e.g. Canada) or country code (e.g. ca).

string

execute nethsm client-cert-export ftp

Export client certificate over FTP

execute nethsm client-cert-export ftp <ftp server>[:ftp port] <remote-path> <Enter>|<user> <passwd>

Parameter

Description

Type

Size

<ftp server>[:ftp port]

FTP server IP, can be attached with port.

string

<remote-path>

FTP remote directory.

string

<Enter>|<user>

FTP username may be needed.

string

<passwd>

FTP password.

string

execute nethsm client-cert-export tftp

Export client certificate over TFTP

execute nethsm client-cert-export tftp <ip>

Parameter

Description

Type

Size

<ip>

IP address of TFTP server.

string

execute nethsm client-cert-show

Display client certificate

execute nethsm client-cert-show

execute nethsm config-export ftp

Import nethsm config from a FTP server.

execute nethsm config-export ftp <ip>[:ftp port] <remote-path> <Enter>|<user> <passwd>

Parameter

Description

Type

Size

<ip>[:ftp port]

FTP server IP, can also include port.

string

<remote-path>

FTP remote directory.

string

<Enter>|<user>

FTP username may be needed.

string

<passwd>

FTP password.

string

execute nethsm config-export tftp

Export nethsm config over TFTP

execute nethsm config-export tftp <ip>

Parameter

Description

Type

Size

<ip>

IP address of TFTP server.

string

execute nethsm config-import ftp

Export nethsm config over FTP

execute nethsm config-import ftp <string> <ftp server>[:ftp port] <Enter>|<user> <passwd>

Parameter

Description

Type

Size

<string>

File name on the FTP server.

string

<ftp server>[:ftp port]

FTP server IP, can also include port.

string

<Enter>|<user>

FTP username may be needed.

string

<passwd>

FTP password.

string

execute nethsm config-import tftp

Import nethsm config from a TFTP server.

execute nethsm config-import tftp <string> <ip>

Parameter

Description

Type

Size

<string>

File name on the TFTP server.

string

<ip>

IP address of TFTP server.

string

execute nethsm config-show

Display nethsm config

execute nethsm config-show

execute nethsm diagnose

Partition diagnose.

execute nethsm diagnose

execute nethsm hagroup-add

Add HA group.

execute nethsm hagroup-add <hagroup>

Parameter

Description

Type

Size

<hagroup>

HSM HA group name.

string

execute nethsm hagroup-del

Delete HA group.

execute nethsm hagroup-del <hagroup>

Parameter

Description

Type

Size

<hagroup>

HSM HA group name.

string

execute nethsm hagroup-list

List HA group.

execute nethsm hagroup-list <hagroup>

Parameter

Description

Type

Size

<hagroup>

HSM HA group name.

string

execute nethsm register

Register to network HSM server.

execute nethsm register <server>

Parameter

Description

Type

Size

<server>

HSM server name.

string

execute nethsm reset

Erase all NETHSM config.

execute nethsm reset

execute nethsm restore-conf

Restore NETHSM config.

execute nethsm restore-conf

execute nethsm set-conf-opt

Set NETHSM config option.

execute nethsm set-conf-opt

execute nethsm show-log

Show NETHSM log.

execute nethsm show-log

execute nethsm status

Client status.

execute nethsm status <server>

Parameter

Description

Type

Size

<server>

HSM server name.

string

execute nethsm unregister

Unregister from network HSM server.

execute nethsm unregister <server>

Parameter

Description

Type

Size

<server>

HSM server name.

string