<vlanid> - VLAN ID (Range: 1 –3965). all - All interfaces.

no - This command sets the VLAN ID for all interfaces to 1.

Default Setting

1

Command Mode

Global Config

5.2.3.13switchport allowed vlan

This command configures the degree of participation for a specific interface in a VLAN. The ID is a valid VLAN identification number, and the interface is a valid interface number.

Syntax

switchport allowed vlan {add [tagged untagged] remove} <vlanid>

<vlanid> - VLAN ID (Range: 1 –3965).

add - The interface is always a member of this VLAN. This is equivalent to registration fixed. tagged - All frames transmitted for this VLAN will be tagged.

untagged - All frames transmitted for this VLAN will be untagged.

remove - The interface is removed from the member of this VLAN. This is equivalent to registration forbidden.

Default Setting

None

Command Mode

Interface Config

This command configures the degree of participation for all interfaces in a VLAN. The ID is a valid VLAN identification number.

Syntax

79

Page 79
Image 79
Fortinet MR1 manual Switchport allowed vlan, Syntax