system virtual-switch
Use this command to configure virtual switch interfaces on the FortiGate models that support this feature.
config system virtual-switch
edit {name}
# Configure virtual hardware switch interfaces.
set name {string} Name of the virtual switch. size[15]
set physical-switch {string} Physical switch parent. size[15] - datasource(s): system.physical-switch.name
config port
edit {name}
# Configure member ports.
set name {string} Physical interface name. size[15]
set speed {option} Interface speed.
auto Automatically adjust speed.
10full 10M full-duplex.
10half 10M half-duplex.
100full 100M full-duplex.
100half 100M half-duplex.
1000full 1000M full-duplex.
1000half 1000M half-duplex.
1000auto 1000M auto adjust.
set status {up | down} Interface status.
up Interface up.
down Interface down.
set alias {string} Alias. size[25]
next
set span {disable | enable} Enable/disable SPAN.
set span-source-port {string} SPAN source ports. size[15]
set span-dest-port {string} SPAN destination port. size[15]
set span-direction {rx | tx | both} SPAN direction.
rx Span receive direction only.
tx Span transmit direction only.
both Span both directions.
next
end