Fortinet white logo
Fortinet white logo

Administration Guide

Configuring VLANs

Configuring VLANs

Use the following steps to add VLANs to a physical port interface.

Using the GUI:
  1. Go to Switch > Interface > Physical.
  2. On the Physical Port Interfaces page, select a port and then select Edit.
  3. Give the VLAN an appropriate name.
  4. In the Native VLAN field, enter the identifier for the native VLAN of the port.
  5. In the Allowed VLANs field, enter one or more identifiers for the allowed VLANs for the port. Separate multiple numbers with commas without any space. For example, 2,4,8-10.
  6. In the Untagged VLANs field, enter one or more identifiers for the untagged VLANs for the port. Separate multiple numbers with commas without any space. For example, 2,4,8-10.
  7. Select OK.
Using the CLI:

config switch interface

edit <port>

set native-vlan <vlan>

set allowed-vlans <vlan> [<vlan>] [<vlan> - <vlan>]

set untagged-vlans <vlan> [<vlan>] [<vlan> - <vlan>]

end

Configuring VLANs

Configuring VLANs

Use the following steps to add VLANs to a physical port interface.

Using the GUI:
  1. Go to Switch > Interface > Physical.
  2. On the Physical Port Interfaces page, select a port and then select Edit.
  3. Give the VLAN an appropriate name.
  4. In the Native VLAN field, enter the identifier for the native VLAN of the port.
  5. In the Allowed VLANs field, enter one or more identifiers for the allowed VLANs for the port. Separate multiple numbers with commas without any space. For example, 2,4,8-10.
  6. In the Untagged VLANs field, enter one or more identifiers for the untagged VLANs for the port. Separate multiple numbers with commas without any space. For example, 2,4,8-10.
  7. Select OK.
Using the CLI:

config switch interface

edit <port>

set native-vlan <vlan>

set allowed-vlans <vlan> [<vlan>] [<vlan> - <vlan>]

set untagged-vlans <vlan> [<vlan>] [<vlan> - <vlan>]

end