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

status

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.

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

status

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.