Fortinet black logo

New Features

FortiManager supports VLANs on physical network interfaces

Copy Link
Copy Doc ID 722c6141-8e83-11ec-9fd1-fa163e15d75b:374943
Download PDF

FortiManager supports VLANs on physical network interfaces

FortiManager supports VLANs on physical network interfaces.

To create a VLAN on FortiManager:
  1. Go to System Settings > Network, and click Create New in the Interface table toolbar.
    The Create New Network Interface window opens.
  2. Select VLAN as the interface type, and enter the VLAN name, VLAN ID, and the interface to which the VLAN is bound.
  3. Click OK to save the VLAN.
    The VLAN is visible on the network page.

    If required, you can create a static route using the VLAN interface.
To configure VLAN interfaces in the CLI:
  1. Open the FortiManager CLI.
  2. Enter the following commands.

    config system interface

    edit <vlan-name>

    set type vlan

    set interface "portx"

    set vlanid <1-4094>

    set vlan-protocol <8021q/8021ad>

    end

    For example:

    config system interface

    edit "vlan2"

    set ip 2.2.2.2 255.255.255.0

    set allowaccess ping https ssh

    set type vlan

    set interface "port2"

    set vlanid 2

    set vlan-protocol 8021q

    end

FortiManager supports VLANs on physical network interfaces

FortiManager supports VLANs on physical network interfaces.

To create a VLAN on FortiManager:
  1. Go to System Settings > Network, and click Create New in the Interface table toolbar.
    The Create New Network Interface window opens.
  2. Select VLAN as the interface type, and enter the VLAN name, VLAN ID, and the interface to which the VLAN is bound.
  3. Click OK to save the VLAN.
    The VLAN is visible on the network page.

    If required, you can create a static route using the VLAN interface.
To configure VLAN interfaces in the CLI:
  1. Open the FortiManager CLI.
  2. Enter the following commands.

    config system interface

    edit <vlan-name>

    set type vlan

    set interface "portx"

    set vlanid <1-4094>

    set vlan-protocol <8021q/8021ad>

    end

    For example:

    config system interface

    edit "vlan2"

    set ip 2.2.2.2 255.255.255.0

    set allowaccess ping https ssh

    set type vlan

    set interface "port2"

    set vlanid 2

    set vlan-protocol 8021q

    end