Fortinet Document Library

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:


Table of Contents

CLI Reference

config system virtual-switch

Note

This command is available for reference model(s) FortiGate 80E-POE, FortiWiFi 61E. 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}

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

Default

physical-switch

Physical switch parent.

string

Maximum length: 15

span

Enable/disable SPAN.

option

-

disable

 

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

-

both

 

Option

Description

rx

Span receive direction only.

tx

Span transmit direction only.

both

Span both directions.

config port

Parameter

Description

Type

Size

Default

speed

Interface speed.

option

-

auto

 

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

-

up

 

Option

Description

up

Interface up.

down

Interface down.

alias

Alias.

string

Maximum length: 25

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

Note

This command is available for reference model(s) FortiGate 80E-POE, FortiWiFi 61E. 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}

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

Default

physical-switch

Physical switch parent.

string

Maximum length: 15

span

Enable/disable SPAN.

option

-

disable

 

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

-

both

 

Option

Description

rx

Span receive direction only.

tx

Span transmit direction only.

both

Span both directions.

config port

Parameter

Description

Type

Size

Default

speed

Interface speed.

option

-

auto

 

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

-

up

 

Option

Description

up

Interface up.

down

Interface down.

alias

Alias.

string

Maximum length: 25

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.