Fortinet white logo
Fortinet white logo

CLI Reference

switch-controller mac-policy

Configure MAC policy to be applied on the managed FortiSwitch devices through NAC device.

  config switch-controller mac-policy
      Description: Configure MAC policy to be applied on the managed FortiSwitch devices through NAC device.
      edit <name>
          set description {string}
          set fortilink {string}
          set vlan {string}
          set traffic-policy {string}
          set count [disable|enable]
          set drop [disable|enable]
      next
  end

config switch-controller mac-policy

Parameter Name Description Type Size
description Description for the MAC policy. string Maximum length: 63
fortilink FortiLink interface for which this MAC policy belongs to. string Maximum length: 15
vlan Ingress traffic VLAN assignment for the MAC address matching this MAC policy. string Maximum length: 15
traffic-policy Traffic policy to be applied when using this MAC policy. string Maximum length: 63
count Enable/Disable packet count on the NAC device.
disable: Enable packet count on the NAC device.
enable: Disable packet count on the NAC device.
option -
drop Enable/disable dropping of NAC device traffic.
disable: Allow NAC device traffic.
enable: Blocks NAC device traffic.
option -

switch-controller mac-policy

Configure MAC policy to be applied on the managed FortiSwitch devices through NAC device.

  config switch-controller mac-policy
      Description: Configure MAC policy to be applied on the managed FortiSwitch devices through NAC device.
      edit <name>
          set description {string}
          set fortilink {string}
          set vlan {string}
          set traffic-policy {string}
          set count [disable|enable]
          set drop [disable|enable]
      next
  end

config switch-controller mac-policy

Parameter Name Description Type Size
description Description for the MAC policy. string Maximum length: 63
fortilink FortiLink interface for which this MAC policy belongs to. string Maximum length: 15
vlan Ingress traffic VLAN assignment for the MAC address matching this MAC policy. string Maximum length: 15
traffic-policy Traffic policy to be applied when using this MAC policy. string Maximum length: 63
count Enable/Disable packet count on the NAC device.
disable: Enable packet count on the NAC device.
enable: Disable packet count on the NAC device.
option -
drop Enable/disable dropping of NAC device traffic.
disable: Allow NAC device traffic.
enable: Blocks NAC device traffic.
option -