FortiOS 5.6 Online Help Link FortiOS 5.4 Online Help Link FortiOS 5.2 Online Help Link FortiOS 5.0 Online Help Link
> Chapter 20 - Managing a FortiSwitch with a FortiGate > Optional Setup Tasks

Home > Online Help

Optional Setup Tasks

This section describes the following tasks:

  • Configuring FortiSwitch Management Port
  • Converting to FortiSwitch Standalone Mode

Configuring FortiSwitch Management Port

If the FortiSwitch model has a dedicated management port, you can configure remote management to the FortiSwitch. In FortiLink mode, the FortiGate is the default gateway, so you need to configure an explicit route for the FortiSwitch management port.

Using the FortiSwitch Web-based Manager

  1. Go to Routing
  2. Under Static Routes, click Create New
  3. Enter the following fields in the New Static Route form:
    1. Destination: enter a subnetwork and mask
    2. Device: select the management interface
    3. Gateway: enter the gateway IP address

 

Using the FortiSwitch CLI

Enter the following commands:

config router static

edit 1

set device mgmt

set gateway <router IP address>

set dst <router subnet> <subnet mask>

end

end

 

In the following example, the FortiSwitch management port is connected to a router with IP address 192.168.0.10:

config router static

edit 1

set device mgmt

set gateway 192.168.0.10

set dst 192.168.0.0 255.255.0.0

end

end

Converting to FortiSwitch Standalone Mode

If a FortiSwitch is operating in managed mode, follow these instructions to convert it to standalone mode.

  1. From the switch CLI:

config system global

set mgmt-mode local

end

NOTE: FortiSwitch will reboot when you issue the above command.

 

  1. From the FortiGate, use the web-based manager or CLI to perform the following commands before the switch reboot has completed:

     

    Using the Web-based manager

    1. Navigate to WiFi & Switch Controller > Managed FortiSwitch.
    2. Right-click on the switch and select De-authorize.

     

    Using the CLI

    config switch-controller managed-switch

    edit <switch-id>

    set fsw-wan1-admin disable

    end

    end