Fortinet white logo
Fortinet white logo

CLI Reference

config switch-controller fortilink-settings

config switch-controller fortilink-settings

Note

This command is available for model(s): FortiGate 1000D, FortiGate 1000F, FortiGate 1001F, FortiGate 100F, FortiGate 101F, FortiGate 1100E, FortiGate 1101E, FortiGate 1800F, FortiGate 1801F, FortiGate 2000E, FortiGate 200E, FortiGate 200F, FortiGate 201E, FortiGate 201F, FortiGate 2200E, FortiGate 2201E, FortiGate 2500E, FortiGate 2600F, FortiGate 2601F, FortiGate 3000D, FortiGate 3000F, FortiGate 3001F, FortiGate 300E, FortiGate 301E, FortiGate 3100D, FortiGate 3200D, FortiGate 3200F, FortiGate 3201F, FortiGate 3300E, FortiGate 3301E, FortiGate 3400E, FortiGate 3401E, FortiGate 3500F, FortiGate 3501F, FortiGate 3600E, FortiGate 3601E, FortiGate 3700D, FortiGate 3700F, FortiGate 3701F, FortiGate 3960E, FortiGate 3980E, FortiGate 400E Bypass, FortiGate 400E, FortiGate 400F, FortiGate 401E, FortiGate 401F, FortiGate 40F 3G4G, FortiGate 40F, FortiGate 4200F, FortiGate 4201F, FortiGate 4400F, FortiGate 4401F, FortiGate 500E, FortiGate 501E, FortiGate 600E, FortiGate 600F, FortiGate 601E, FortiGate 601F, FortiGate 60F, FortiGate 61F, FortiGate 70F, FortiGate 71F, FortiGate 800D, FortiGate 80F Bypass, FortiGate 80F DSL, FortiGate 80F-POE, FortiGate 80F, FortiGate 81F-POE, FortiGate 81F, FortiGate 900D, FortiGate 900G, FortiGate 901G, FortiGate VM64, FortiGateRugged 60F 3G4G, FortiGateRugged 60F, FortiGateRugged 70F 3G4G, FortiGateRugged 70F, FortiWiFi 40F 3G4G, FortiWiFi 40F, FortiWiFi 60F, FortiWiFi 61F, FortiWiFi 80F 2R 3G4G DSL, FortiWiFi 80F 2R, FortiWiFi 81F 2R 3G4G DSL, FortiWiFi 81F 2R 3G4G-POE, FortiWiFi 81F 2R-POE, FortiWiFi 81F 2R.

It is not available for: FortiGate 5001E1, FortiGate 5001E.

Configure integrated FortiLink settings for FortiSwitch.

config switch-controller fortilink-settings
    Description: Configure integrated FortiLink settings for FortiSwitch.
    edit <name>
        set access-vlan-mode [legacy|fail-open|...]
        set fortilink {string}
        set inactive-timer {integer}
        set link-down-flush [disable|enable]
        config nac-ports
            Description: NAC specific configuration.
            set lan-segment [enabled|disabled]
            set member-change {integer}
            set nac-lan-interface {string}
            set nac-segment-vlans <vlan-name1>, <vlan-name2>, ...
            set onboarding-vlan {string}
            set parent-key {string}
        end
    next
end

config switch-controller fortilink-settings

Parameter

Description

Type

Size

Default

access-vlan-mode

Intra VLAN traffic behavior with loss of connection to the FortiGate.

option

-

legacy

Option

Description

legacy

Backward compatible behavior.

fail-open

When connection to FortiGate is lost, traffic on the VLAN may continue directly between end points.

fail-close

When connection to FortiGate is lost, traffic between endpoints on the VLAN is blocked.

fortilink

FortiLink interface to which this fortilink-setting belongs.

string

Maximum length: 15

inactive-timer

Time interval(minutes) to be included in the inactive devices expiry calculation (mac age-out + inactive-time + periodic scan interval).

integer

Minimum value: 1 Maximum value: 1440

15

link-down-flush

Clear NAC and dynamic devices on switch ports on link down event.

option

-

enable

Option

Description

disable

Disable clearing NAC and dynamic devices on a switch port when link down event happens.

enable

Enable clearing NAC and dynamic devices on a switch port when link down event happens.

name

FortiLink settings name.

string

Maximum length: 35

config nac-ports

Parameter

Description

Type

Size

Default

lan-segment

Enable/disable LAN segment feature on the FortiLink interface.

option

-

disabled

Option

Description

enabled

Enable lan-segment on this interface.

disabled

Disable lan-segment on this interface.

member-change

Member change flag. Read-only.

integer

Minimum value: 0 Maximum value: 255

0

nac-lan-interface

Configure NAC LAN interface.

string

Maximum length: 15

nac-segment-vlans <vlan-name>

Configure NAC segment VLANs.

VLAN interface name.

string

Maximum length: 79

onboarding-vlan

Default NAC Onboarding VLAN when NAC devices are discovered.

string

Maximum length: 15

parent-key

Parent key name. Read-only.

string

Maximum length: 35

config switch-controller fortilink-settings

config switch-controller fortilink-settings

Note

This command is available for model(s): FortiGate 1000D, FortiGate 1000F, FortiGate 1001F, FortiGate 100F, FortiGate 101F, FortiGate 1100E, FortiGate 1101E, FortiGate 1800F, FortiGate 1801F, FortiGate 2000E, FortiGate 200E, FortiGate 200F, FortiGate 201E, FortiGate 201F, FortiGate 2200E, FortiGate 2201E, FortiGate 2500E, FortiGate 2600F, FortiGate 2601F, FortiGate 3000D, FortiGate 3000F, FortiGate 3001F, FortiGate 300E, FortiGate 301E, FortiGate 3100D, FortiGate 3200D, FortiGate 3200F, FortiGate 3201F, FortiGate 3300E, FortiGate 3301E, FortiGate 3400E, FortiGate 3401E, FortiGate 3500F, FortiGate 3501F, FortiGate 3600E, FortiGate 3601E, FortiGate 3700D, FortiGate 3700F, FortiGate 3701F, FortiGate 3960E, FortiGate 3980E, FortiGate 400E Bypass, FortiGate 400E, FortiGate 400F, FortiGate 401E, FortiGate 401F, FortiGate 40F 3G4G, FortiGate 40F, FortiGate 4200F, FortiGate 4201F, FortiGate 4400F, FortiGate 4401F, FortiGate 500E, FortiGate 501E, FortiGate 600E, FortiGate 600F, FortiGate 601E, FortiGate 601F, FortiGate 60F, FortiGate 61F, FortiGate 70F, FortiGate 71F, FortiGate 800D, FortiGate 80F Bypass, FortiGate 80F DSL, FortiGate 80F-POE, FortiGate 80F, FortiGate 81F-POE, FortiGate 81F, FortiGate 900D, FortiGate 900G, FortiGate 901G, FortiGate VM64, FortiGateRugged 60F 3G4G, FortiGateRugged 60F, FortiGateRugged 70F 3G4G, FortiGateRugged 70F, FortiWiFi 40F 3G4G, FortiWiFi 40F, FortiWiFi 60F, FortiWiFi 61F, FortiWiFi 80F 2R 3G4G DSL, FortiWiFi 80F 2R, FortiWiFi 81F 2R 3G4G DSL, FortiWiFi 81F 2R 3G4G-POE, FortiWiFi 81F 2R-POE, FortiWiFi 81F 2R.

It is not available for: FortiGate 5001E1, FortiGate 5001E.

Configure integrated FortiLink settings for FortiSwitch.

config switch-controller fortilink-settings
    Description: Configure integrated FortiLink settings for FortiSwitch.
    edit <name>
        set access-vlan-mode [legacy|fail-open|...]
        set fortilink {string}
        set inactive-timer {integer}
        set link-down-flush [disable|enable]
        config nac-ports
            Description: NAC specific configuration.
            set lan-segment [enabled|disabled]
            set member-change {integer}
            set nac-lan-interface {string}
            set nac-segment-vlans <vlan-name1>, <vlan-name2>, ...
            set onboarding-vlan {string}
            set parent-key {string}
        end
    next
end

config switch-controller fortilink-settings

Parameter

Description

Type

Size

Default

access-vlan-mode

Intra VLAN traffic behavior with loss of connection to the FortiGate.

option

-

legacy

Option

Description

legacy

Backward compatible behavior.

fail-open

When connection to FortiGate is lost, traffic on the VLAN may continue directly between end points.

fail-close

When connection to FortiGate is lost, traffic between endpoints on the VLAN is blocked.

fortilink

FortiLink interface to which this fortilink-setting belongs.

string

Maximum length: 15

inactive-timer

Time interval(minutes) to be included in the inactive devices expiry calculation (mac age-out + inactive-time + periodic scan interval).

integer

Minimum value: 1 Maximum value: 1440

15

link-down-flush

Clear NAC and dynamic devices on switch ports on link down event.

option

-

enable

Option

Description

disable

Disable clearing NAC and dynamic devices on a switch port when link down event happens.

enable

Enable clearing NAC and dynamic devices on a switch port when link down event happens.

name

FortiLink settings name.

string

Maximum length: 35

config nac-ports

Parameter

Description

Type

Size

Default

lan-segment

Enable/disable LAN segment feature on the FortiLink interface.

option

-

disabled

Option

Description

enabled

Enable lan-segment on this interface.

disabled

Disable lan-segment on this interface.

member-change

Member change flag. Read-only.

integer

Minimum value: 0 Maximum value: 255

0

nac-lan-interface

Configure NAC LAN interface.

string

Maximum length: 15

nac-segment-vlans <vlan-name>

Configure NAC segment VLANs.

VLAN interface name.

string

Maximum length: 79

onboarding-vlan

Default NAC Onboarding VLAN when NAC devices are discovered.

string

Maximum length: 15

parent-key

Parent key name. Read-only.

string

Maximum length: 35