Fortinet black logo

CLI Reference

config switch-controller nac-settings

config switch-controller nac-settings

Note

This command is available for model(s): FortiGate 1000D, FortiGate 100EF, FortiGate 100E, FortiGate 100F, FortiGate 101E, FortiGate 101F, FortiGate 1100E, FortiGate 1101E, FortiGate 1200D, FortiGate 140E-POE, FortiGate 140E, FortiGate 1500DT, FortiGate 1500D, 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 300D, FortiGate 300E, FortiGate 301E, FortiGate 3100D, FortiGate 3200D, FortiGate 3300E, FortiGate 3301E, FortiGate 3400E, FortiGate 3401E, FortiGate 3600E, FortiGate 3601E, FortiGate 3700D, FortiGate 3800D, FortiGate 3810D, FortiGate 3815D, FortiGate 3960E, FortiGate 3980E, FortiGate 400D, FortiGate 400E Bypass, FortiGate 400E, FortiGate 401E, FortiGate 40F 3G4G, FortiGate 40F, FortiGate 4200F, FortiGate 4201F, FortiGate 4400F, FortiGate 4401F, FortiGate 500D, FortiGate 500E, FortiGate 501E, FortiGate 600D, FortiGate 600E, FortiGate 601E, FortiGate 60E DSLJ, FortiGate 60E DSL, FortiGate 60E-POE, FortiGate 60E, FortiGate 60F, FortiGate 61E, FortiGate 61F, FortiGate 800D, FortiGate 80E-POE, FortiGate 80E, FortiGate 80F Bypass, FortiGate 80F-POE, FortiGate 80F, FortiGate 81E-POE, FortiGate 81E, FortiGate 81F-POE, FortiGate 81F, FortiGate 900D, FortiGate 90E, FortiGate 91E, FortiGate VM64, FortiGateRugged 60F 3G4G, FortiGateRugged 60F, FortiWiFi 40F 3G4G, FortiWiFi 40F, FortiWiFi 60E DSLJ, FortiWiFi 60E DSL, FortiWiFi 60E, FortiWiFi 60F, FortiWiFi 61E, FortiWiFi 61F, FortiWiFi 80F 2R, FortiWiFi 81F 2R 3G4G-POE, FortiWiFi 81F 2R-POE, FortiWiFi 81F 2R.

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

Configure integrated NAC settings for FortiSwitch.

config switch-controller nac-settings
    Description: Configure integrated NAC settings for FortiSwitch.
    edit <name>
        set auto-auth [disable|enable]
        set bounce-nac-port [disable|enable]
        set inactive-timer {integer}
        set link-down-flush [disable|enable]
        set mode [local|global]
        set name {string}
        set onboarding-vlan {string}
    next
end

config switch-controller nac-settings

Parameter

Description

Type

Size

Default

auto-auth

Enable/disable NAC device auto authorization when discovered and nac-policy matched.

option

-

enable

Option

Description

disable

Disable NAC device auto authorization.

enable

Enable NAC device auto authorization.

bounce-nac-port

Enable/disable bouncing (administratively bring the link down, up) of a switch port when NAC mode is configured on the port. Helps to re-initiate the DHCP process for a device.

option

-

enable

Option

Description

disable

Disable bouncing (administratively bring the link down, up) of a switch port when NAC mode is configured.

enable

Enable bouncing (administratively bring the link down, up) of a switch port when NAC mode is configured.

inactive-timer

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

integer

Minimum value: 0 Maximum value: 1440

15

link-down-flush

Clear NAC devices on switch ports on link down event.

option

-

enable

Option

Description

disable

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

enable

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

mode

Set NAC mode to be used on the FortiSwitch ports.

option

-

local

Option

Description

local

Local mode in which managed FortiSwitch port local settings is used.

global

Global mode which enables NAC on all the managed FortiSwitch ports.

name

NAC settings name.

string

Not Specified

onboarding-vlan

Default NAC Onboarding VLAN when NAC devices are discovered.

string

Not Specified

config switch-controller nac-settings

Note

This command is available for model(s): FortiGate 1000D, FortiGate 100EF, FortiGate 100E, FortiGate 100F, FortiGate 101E, FortiGate 101F, FortiGate 1100E, FortiGate 1101E, FortiGate 1200D, FortiGate 140E-POE, FortiGate 140E, FortiGate 1500DT, FortiGate 1500D, 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 300D, FortiGate 300E, FortiGate 301E, FortiGate 3100D, FortiGate 3200D, FortiGate 3300E, FortiGate 3301E, FortiGate 3400E, FortiGate 3401E, FortiGate 3600E, FortiGate 3601E, FortiGate 3700D, FortiGate 3800D, FortiGate 3810D, FortiGate 3815D, FortiGate 3960E, FortiGate 3980E, FortiGate 400D, FortiGate 400E Bypass, FortiGate 400E, FortiGate 401E, FortiGate 40F 3G4G, FortiGate 40F, FortiGate 4200F, FortiGate 4201F, FortiGate 4400F, FortiGate 4401F, FortiGate 500D, FortiGate 500E, FortiGate 501E, FortiGate 600D, FortiGate 600E, FortiGate 601E, FortiGate 60E DSLJ, FortiGate 60E DSL, FortiGate 60E-POE, FortiGate 60E, FortiGate 60F, FortiGate 61E, FortiGate 61F, FortiGate 800D, FortiGate 80E-POE, FortiGate 80E, FortiGate 80F Bypass, FortiGate 80F-POE, FortiGate 80F, FortiGate 81E-POE, FortiGate 81E, FortiGate 81F-POE, FortiGate 81F, FortiGate 900D, FortiGate 90E, FortiGate 91E, FortiGate VM64, FortiGateRugged 60F 3G4G, FortiGateRugged 60F, FortiWiFi 40F 3G4G, FortiWiFi 40F, FortiWiFi 60E DSLJ, FortiWiFi 60E DSL, FortiWiFi 60E, FortiWiFi 60F, FortiWiFi 61E, FortiWiFi 61F, FortiWiFi 80F 2R, FortiWiFi 81F 2R 3G4G-POE, FortiWiFi 81F 2R-POE, FortiWiFi 81F 2R.

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

Configure integrated NAC settings for FortiSwitch.

config switch-controller nac-settings
    Description: Configure integrated NAC settings for FortiSwitch.
    edit <name>
        set auto-auth [disable|enable]
        set bounce-nac-port [disable|enable]
        set inactive-timer {integer}
        set link-down-flush [disable|enable]
        set mode [local|global]
        set name {string}
        set onboarding-vlan {string}
    next
end

config switch-controller nac-settings

Parameter

Description

Type

Size

Default

auto-auth

Enable/disable NAC device auto authorization when discovered and nac-policy matched.

option

-

enable

Option

Description

disable

Disable NAC device auto authorization.

enable

Enable NAC device auto authorization.

bounce-nac-port

Enable/disable bouncing (administratively bring the link down, up) of a switch port when NAC mode is configured on the port. Helps to re-initiate the DHCP process for a device.

option

-

enable

Option

Description

disable

Disable bouncing (administratively bring the link down, up) of a switch port when NAC mode is configured.

enable

Enable bouncing (administratively bring the link down, up) of a switch port when NAC mode is configured.

inactive-timer

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

integer

Minimum value: 0 Maximum value: 1440

15

link-down-flush

Clear NAC devices on switch ports on link down event.

option

-

enable

Option

Description

disable

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

enable

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

mode

Set NAC mode to be used on the FortiSwitch ports.

option

-

local

Option

Description

local

Local mode in which managed FortiSwitch port local settings is used.

global

Global mode which enables NAC on all the managed FortiSwitch ports.

name

NAC settings name.

string

Not Specified

onboarding-vlan

Default NAC Onboarding VLAN when NAC devices are discovered.

string

Not Specified