Fortinet black logo

Administration Guide

Switched interfaces

Copy Link
Copy Doc ID d887c3dd-ee67-11ec-bb32-fa163e15d75b:287007
Download PDF

Switched interfaces

Default configuration will suffice for regular switch ports. By default, VLAN is set to 1, STP is enabled, and all other optional capabilities are disabled.

You can configure optional capabilities such as STP, sFlow , 802.1X authentication, and Private VLANs. These capabilities are covered in subsequent sections of this document.

Using the GUI:
  1. Go to Switch > Interface > Physical.
  2. Select one or more interfaces to update and select Edit.
    If you selected more than one port, the port names are displayed in the name field, separated by commas.
  3. Enter new values as required for the Native VLAN and Allowed VLANs fields.
  4. Select OK to save your changes.
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>]

set stp-state {enabled | disabled}

set edge-port {enabled | disabled}

Viewing interface configuration

Using the GUI:

Go to Switch > Interface > Physical.

Using the CLI:

show switch interface <port>

Display port settings using following command:

config switch interface

edit <port>

get

Switched interfaces

Default configuration will suffice for regular switch ports. By default, VLAN is set to 1, STP is enabled, and all other optional capabilities are disabled.

You can configure optional capabilities such as STP, sFlow , 802.1X authentication, and Private VLANs. These capabilities are covered in subsequent sections of this document.

Using the GUI:
  1. Go to Switch > Interface > Physical.
  2. Select one or more interfaces to update and select Edit.
    If you selected more than one port, the port names are displayed in the name field, separated by commas.
  3. Enter new values as required for the Native VLAN and Allowed VLANs fields.
  4. Select OK to save your changes.
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>]

set stp-state {enabled | disabled}

set edge-port {enabled | disabled}

Viewing interface configuration

Using the GUI:

Go to Switch > Interface > Physical.

Using the CLI:

show switch interface <port>

Display port settings using following command:

config switch interface

edit <port>

get