FortiManager supports VLANs on physical network interfaces
FortiManager supports VLANs on physical network interfaces.
To create a VLAN on FortiManager:
- Go to System Settings > Network, and click Create New in the Interface table toolbar.
The Create New Network Interface window opens. - Select VLAN as the interface type, and enter the VLAN name, VLAN ID, and the interface to which the VLAN is bound.
- Click OK to save the VLAN.
The VLAN is visible on the network page.
If required, you can create a static route using the VLAN interface.
To configure VLAN interfaces in the CLI:
- Open the FortiManager CLI.
- Enter the following commands.
config system interface
edit <vlan-name>
set type vlan
set interface "portx"
set vlanid <1-4094>
set vlan-protocol <8021q/8021ad>
end
For example:
config system interface
edit "vlan2"
set ip 2.2.2.2 255.255.255.0
set allowaccess ping https ssh
set type vlan
set interface "port2"
set vlanid 2
set vlan-protocol 8021q
end