system : virtual-switch
 
virtual-switch
Use this command to configure virtual switch interfaces on the FortiGate models that support this feature.
Syntax
config system virtual-switch
edit <vswitch_name>
set physical-switch <switch_name>
set vlan <vlan_id>
config port
edit <port_name>
set duplex {full | half}
set speed <interface_speed>
set status {up | down}
end
end
Variable
Description
Default
<vswitch_name>
Enter a name for the virtual switch.
No default.
physical-switch <switch_name>
Enter the hardware switch name, sw0 for example.
 
config port
Create an entry for each member interface.
 
<port_name>
Enter the interface name.
 
duplex {full | half}
Select duplex setting.
full
speed <interface_speed>
Set the interface speed:
auto — the default speed. The interface uses auto-negotiation to determine the connection speed. Change the speed only if the interface is connected to a device that does not support auto-negotiation.
10full — 10 Mbps, full duplex
10half — 10 Mbps, half duplex
100full — 100 Mbps, full duplex
100half — 100 Mbps, half duplex
1000full — 1000 Mbps, full duplex
1000half — 1000 Mbps, half duplex
Speed options vary for different models and interfaces. Enter and a set speed ? to display a list of speeds available for your model and interface.
auto
status {up | down}
Select up or down status for this member interface.
up
vlan <vlan_id>
Enter the VLAN to which this switch belongs. virtual-switch-vlan must be enabled in system global.
0