| How to configure Hostname in FortiGate firewall via CLI |
|---|
Symptom
Suppose you have to configure the hostname of FortiGate devices via CLI. You can follow the steps
Description
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
#end - The syntax are as per below
config system global
set hostname <hostname>
end