Fortinet black logo

Cookbook

Configure the management interface

Configure the management interface

Port 1 is the management interface. If the management interface isn’t configured, use the CLI to configure it.

  1. Using a console cable, access the Fortinet command line interface and configure the management port IP address, default gateway, and DNS.

    At the CLI prompt, enter the following:

    config system interface

    edit port1

    set ip 172.31.1.254/24

    end

    config router static

    edit 1

    set gateway 172.31.1.1

    set device port1

    end

    config system dns

    set primary 208.91.112.53

    set secondary 208.91.112.52

    end

  2. When the management IP address is set, access the FortiGate login screen using the new management IP address.

Configure the management interface

Port 1 is the management interface. If the management interface isn’t configured, use the CLI to configure it.

  1. Using a console cable, access the Fortinet command line interface and configure the management port IP address, default gateway, and DNS.

    At the CLI prompt, enter the following:

    config system interface

    edit port1

    set ip 172.31.1.254/24

    end

    config router static

    edit 1

    set gateway 172.31.1.1

    set device port1

    end

    config system dns

    set primary 208.91.112.53

    set secondary 208.91.112.52

    end

  2. When the management IP address is set, access the FortiGate login screen using the new management IP address.