Fortinet white logo
Fortinet white logo

CLI Reference

config system span-port

config system span-port

Configure SPAN port.

config system span-port
    Description: Configure SPAN port.
    edit <id>
        set status [disable|enable]
        set span-source-port {string}
        set span-dest-port {string}
        set span-direction [rx|tx|...]
    next
end

config system span-port

Parameter

Description

Type

Size

Default

id

SPAN port id.

integer

Minimum value: 0 Maximum value: 4294967295

0

status

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 system span-port

config system span-port

Configure SPAN port.

config system span-port
    Description: Configure SPAN port.
    edit <id>
        set status [disable|enable]
        set span-source-port {string}
        set span-dest-port {string}
        set span-direction [rx|tx|...]
    next
end

config system span-port

Parameter

Description

Type

Size

Default

id

SPAN port id.

integer

Minimum value: 0 Maximum value: 4294967295

0

status

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.