Fortinet white logo
Fortinet white logo

Handbook

Configuring the hostname

Configuring the hostname

You can configure a hostname to facilitate system management. If you use SNMP, for example, the SNMP system name is derived from the configured hostname.

Before you begin:

  • You must have Read-Write permission for System settings.
To configure the hostname:
  1. Go to System > Admin > Settings > Hostname and configure according to the following table.

Hostname configuration

Settings Guidelines
New Name The hostname can be up to 35 characters in length. It can include US-ASCII letters, numbers, hyphens, and underscores, but not spaces and special characters.

The System Information widget and the get system status CLI command display the full hostname. If the hostname is longer than 16 characters, the name is truncated and ends with a tilde ( ~ ) to indicate that additional characters exist, but are not displayed.

CLI commands:

config system hostname

set hostname <name>

end

Configuring the hostname

Configuring the hostname

You can configure a hostname to facilitate system management. If you use SNMP, for example, the SNMP system name is derived from the configured hostname.

Before you begin:

  • You must have Read-Write permission for System settings.
To configure the hostname:
  1. Go to System > Admin > Settings > Hostname and configure according to the following table.

Hostname configuration

Settings Guidelines
New Name The hostname can be up to 35 characters in length. It can include US-ASCII letters, numbers, hyphens, and underscores, but not spaces and special characters.

The System Information widget and the get system status CLI command display the full hostname. If the hostname is longer than 16 characters, the name is truncated and ends with a tilde ( ~ ) to indicate that additional characters exist, but are not displayed.

CLI commands:

config system hostname

set hostname <name>

end