Fortinet white logo
Fortinet white logo

Configuration Commands

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. If the port is being used by a sniffer, it will not be displayed.

set

Set configuration parameters.

  • set portX-ip <ip/netmask> - Set the portX IP address in IP/netmask format.
  • set port3-speed [<auto> | <speed full|half>] - Set port3 speed and duplex settings.
  • set port-mtu <portx> <1500-9000> - Set a port's MTU value. Not available for FSA-VM model.
  • set admin-port <portx> - Enable a new administrative port other than port1. It cannot be set to port3 or sniffer ports.
  • 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

Unset the admin port or the default gateway:

  • unset admin-port
  • unset default-gw

Configuration Commands

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. If the port is being used by a sniffer, it will not be displayed.

set

Set configuration parameters.

  • set portX-ip <ip/netmask> - Set the portX IP address in IP/netmask format.
  • set port3-speed [<auto> | <speed full|half>] - Set port3 speed and duplex settings.
  • set port-mtu <portx> <1500-9000> - Set a port's MTU value. Not available for FSA-VM model.
  • set admin-port <portx> - Enable a new administrative port other than port1. It cannot be set to port3 or sniffer ports.
  • 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

Unset the admin port or the default gateway:

  • unset admin-port
  • unset default-gw