Fortinet white logo
Fortinet white logo
7.6.0

CLI commands

CLI commands

The following table describes commonly used CLI commands.

Command Description
? Show help information.
show system hostname Show hostname configuration.
show system interface Show network interfaces and configurations.
show system route Show the default route.

show user

Show current user.

show timezone help

Show the timezone identifier and its corresponding GMT offset.

show full-configuration Show full configuration.
config system hostname Set the host name for this appliance.
config system interface

Configure network interfaces.

config system interface

edit mgmt

set ip 172.173.1.200 255.255.255.0

end

end
config system route Configure the gateway address for the management port.
config system route
set gateway 172.173.1.248
end
diagnose hardware info 

Show hardware information.

diagnose hardware deviceinfo

Show device information.

execute ping Execute a PING command.
execute reboot Reboot the system.
execute shutdown Shut down the system.
execute restore Restore the system.
exit Exit the current session.

CLI commands

CLI commands

The following table describes commonly used CLI commands.

Command Description
? Show help information.
show system hostname Show hostname configuration.
show system interface Show network interfaces and configurations.
show system route Show the default route.

show user

Show current user.

show timezone help

Show the timezone identifier and its corresponding GMT offset.

show full-configuration Show full configuration.
config system hostname Set the host name for this appliance.
config system interface

Configure network interfaces.

config system interface

edit mgmt

set ip 172.173.1.200 255.255.255.0

end

end
config system route Configure the gateway address for the management port.
config system route
set gateway 172.173.1.248
end
diagnose hardware info 

Show hardware information.

diagnose hardware deviceinfo

Show device information.

execute ping Execute a PING command.
execute reboot Reboot the system.
execute shutdown Shut down the system.
execute restore Restore the system.
exit Exit the current session.