Fortinet white logo
Fortinet white logo

CLI Reference

switch-controller nac-device

Configure/list NAC devices learned on the managed FortiSwitch ports which matches NAC policy.

  config switch-controller nac-device
      Description: Configure/list NAC devices learned on the managed FortiSwitch ports which matches NAC policy.
      edit <id>
          set description {string}
          set status [enable|disable]
          set mac {mac-address}
          set last-known-switch {string}
          set last-known-port {string}
          set matched-nac-policy {string}
          set port-policy {string}
          set mac-policy {string}
          set last-seen {integer}
      next
  end

config switch-controller nac-device

Parameter Name Description Type Size
description Description for the learned NAC device. string Maximum length: 127
status Status of the learned NAC device. Set enable to authorize the NAC device.
enable: Enable the NAC device.
disable: Disable the NAC device.
option -
mac MAC address of the learned NAC device. mac-address Not Specified
last-known-switch Managed FortiSwitch where NAC device is last learned. string Maximum length: 63
last-known-port Managed FortiSwitch port where NAC device is last learned. string Maximum length: 35
matched-nac-policy Matched NAC policy for the learned NAC device. string Maximum length: 63
port-policy Port policy to be applied on this learned NAC device. string Maximum length: 63
mac-policy MAC policy to be applied on this learned NAC device. string Maximum length: 63
last-seen Device last seen. integer Minimum value: 0 Maximum value: 4294967295

switch-controller nac-device

Configure/list NAC devices learned on the managed FortiSwitch ports which matches NAC policy.

  config switch-controller nac-device
      Description: Configure/list NAC devices learned on the managed FortiSwitch ports which matches NAC policy.
      edit <id>
          set description {string}
          set status [enable|disable]
          set mac {mac-address}
          set last-known-switch {string}
          set last-known-port {string}
          set matched-nac-policy {string}
          set port-policy {string}
          set mac-policy {string}
          set last-seen {integer}
      next
  end

config switch-controller nac-device

Parameter Name Description Type Size
description Description for the learned NAC device. string Maximum length: 127
status Status of the learned NAC device. Set enable to authorize the NAC device.
enable: Enable the NAC device.
disable: Disable the NAC device.
option -
mac MAC address of the learned NAC device. mac-address Not Specified
last-known-switch Managed FortiSwitch where NAC device is last learned. string Maximum length: 63
last-known-port Managed FortiSwitch port where NAC device is last learned. string Maximum length: 35
matched-nac-policy Matched NAC policy for the learned NAC device. string Maximum length: 63
port-policy Port policy to be applied on this learned NAC device. string Maximum length: 63
mac-policy MAC policy to be applied on this learned NAC device. string Maximum length: 63
last-seen Device last seen. integer Minimum value: 0 Maximum value: 4294967295