|How to configure Hostname in FortiGate firewall via CLI
Suppose you have to configure the hostname of FortiGate devices via CLI. You can follow the steps
A hostname is a label that is assigned to a device connected in network and is used to identify the device .
Process / Steps
- Login the device with the admin access.
login as: Password :
- Go to the System >global with “config system global”
# config system global
- Set the hostname with command “set hostname <hostname> “
#set hostname DEVICE-1
- Go to END
- The syntax are as per below
config system global
set hostname <hostname>