Fortinet black logo

Configuration Commands

Copy Link
Copy Doc ID be046261-5af5-11e9-81a4-00505692583a:726050
Download PDF

Configuration Commands

The following configuration commands are available:

Command

Description

show

Show the bootstrap configuration, including the port IP address (IPv4 and IPv6), network mask, port MAC address, and default gateway.

set

Set configuration parameters.

  • set portX-ip <ip/netmask> - Set the portX IP address in IP/netmask format.
  • set default-gw <ip> - Set the default gateway address.
  • set date <date> - Set system date, in the format of YYYY-MM-DD.
  • set time <time> - Set system time, in the format of HH:MM:SS.

unset default-gw

Unset the default gateway.

Configuration Commands

The following configuration commands are available:

Command

Description

show

Show the bootstrap configuration, including the port IP address (IPv4 and IPv6), network mask, port MAC address, and default gateway.

set

Set configuration parameters.

  • set portX-ip <ip/netmask> - Set the portX IP address in IP/netmask format.
  • set default-gw <ip> - Set the default gateway address.
  • set date <date> - Set system date, in the format of YYYY-MM-DD.
  • set time <time> - Set system time, in the format of HH:MM:SS.

unset default-gw

Unset the default gateway.