Fortinet black logo

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:


Table of Contents

Administration Guide

Download PDF
Copy Doc ID 2d1d802e-71d2-11ed-8e6d-fa163e15d75b:146335
Copy Link

Configuring VLANs

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

Using the GUI:
  1. Go to Switch > Interfaces.
  2. Select a port and then click 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. Click Update.
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

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

Using the GUI:
  1. Go to Switch > Interfaces.
  2. Select a port and then click 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. Click Update.
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