Fortinet Document Library

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:


Table of Contents

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> <1200-9000> - Set a port's MTU value.
  • 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

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> <1200-9000> - Set a port's MTU value.
  • 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