Fortinet Document Library

Version:

Version:

Version:

Version:


Table of Contents

Administration Guide

Download PDF
Copy Link

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