Fortinet white logo
Fortinet white logo

CLI Reference

config system virtual-switch

config system virtual-switch

Note

This command is available for reference model(s) FortiGate 140E-POE, FortiWiFi 61F. It is not available for FortiGate 601E, FortiGate 2201E, FortiGate VM64.

Configure virtual hardware switch interfaces.

config system virtual-switch

Description: Configure virtual hardware switch interfaces.

edit <name>

set physical-switch {string}

set vlan {integer}

config port

Description: Configure member ports.

edit <name>

set alias {string}

set poe [enable|disable]

next

end

set span [disable|enable]

set span-source-port {string}

set span-dest-port {string}

set span-direction [rx|tx|...]

next

end

config system virtual-switch

Parameter

Description

Type

Size

Default

physical-switch

Physical switch parent.

string

Not Specified

vlan *

VLAN.

integer

Minimum value: 0 Maximum value: 4294967295

0

span

Enable/disable SPAN.

option

-

disable

Option

Description

disable

Disable SPAN.

enable

Enable SPAN.

span-source-port

SPAN source port.

string

Not Specified

span-dest-port

SPAN destination port.

string

Not Specified

span-direction

SPAN direction.

option

-

both

Option

Description

rx

SPAN receive direction only.

tx

SPAN transmit direction only.

both

SPAN both directions.

* This parameter may not exist in some models.

config port

Parameter

Description

Type

Size

Default

alias

Alias.

string

Not Specified

poe *

Enable/disable PoE status.

option

-

enable

Option

Description

enable

Enable PoE status.

disable

Disable PoE status.

* This parameter may not exist in some models.

config system virtual-switch

config system virtual-switch

Note

This command is available for reference model(s) FortiGate 140E-POE, FortiWiFi 61F. It is not available for FortiGate 601E, FortiGate 2201E, FortiGate VM64.

Configure virtual hardware switch interfaces.

config system virtual-switch

Description: Configure virtual hardware switch interfaces.

edit <name>

set physical-switch {string}

set vlan {integer}

config port

Description: Configure member ports.

edit <name>

set alias {string}

set poe [enable|disable]

next

end

set span [disable|enable]

set span-source-port {string}

set span-dest-port {string}

set span-direction [rx|tx|...]

next

end

config system virtual-switch

Parameter

Description

Type

Size

Default

physical-switch

Physical switch parent.

string

Not Specified

vlan *

VLAN.

integer

Minimum value: 0 Maximum value: 4294967295

0

span

Enable/disable SPAN.

option

-

disable

Option

Description

disable

Disable SPAN.

enable

Enable SPAN.

span-source-port

SPAN source port.

string

Not Specified

span-dest-port

SPAN destination port.

string

Not Specified

span-direction

SPAN direction.

option

-

both

Option

Description

rx

SPAN receive direction only.

tx

SPAN transmit direction only.

both

SPAN both directions.

* This parameter may not exist in some models.

config port

Parameter

Description

Type

Size

Default

alias

Alias.

string

Not Specified

poe *

Enable/disable PoE status.

option

-

enable

Option

Description

enable

Enable PoE status.

disable

Disable PoE status.

* This parameter may not exist in some models.