Fortinet black 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 501E, FortiGate 3000D, 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 speed [auto|10full|...]

set status [up|down]

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

physical-switch

Physical switch parent.

string

Maximum length: 15

vlan *

VLAN.

integer

Minimum value: 0 Maximum value: 4294967295

span

Enable/disable SPAN.

option

-

Option

Description

disable

Disable SPAN.

enable

Enable SPAN.

span-source-port

SPAN source ports.

string

Maximum length: 15

span-dest-port

SPAN destination port.

string

Maximum length: 15

span-direction

SPAN direction.

option

-

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

speed

Interface speed.

option

-

Option

Description

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.

status

Interface status.

option

-

Option

Description

up

Interface up.

down

Interface down.

alias

Alias.

string

Maximum length: 25

poe *

Enable/disable PoE status.

option

-

Option

Description

enable

Enable PoE status.

disable

Disable PoE status.

* This parameter may not exist in some models.

config system virtual-switch

Note

This command is available for reference model(s) FortiGate 140E-POE, FortiWiFi 61F. It is not available for FortiGate 501E, FortiGate 3000D, 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 speed [auto|10full|...]

set status [up|down]

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

physical-switch

Physical switch parent.

string

Maximum length: 15

vlan *

VLAN.

integer

Minimum value: 0 Maximum value: 4294967295

span

Enable/disable SPAN.

option

-

Option

Description

disable

Disable SPAN.

enable

Enable SPAN.

span-source-port

SPAN source ports.

string

Maximum length: 15

span-dest-port

SPAN destination port.

string

Maximum length: 15

span-direction

SPAN direction.

option

-

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

speed

Interface speed.

option

-

Option

Description

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.

status

Interface status.

option

-

Option

Description

up

Interface up.

down

Interface down.

alias

Alias.

string

Maximum length: 25

poe *

Enable/disable PoE status.

option

-

Option

Description

enable

Enable PoE status.

disable

Disable PoE status.

* This parameter may not exist in some models.