Fortinet black logo

Handbook

Configuring the hostname

Copy Link
Copy Doc ID 369dfb00-033f-11ed-bb32-fa163e15d75b:663638
Download PDF

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

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