Fortinet black logo

CLI Reference

switch-controller port-policy

Configure port policy to be applied on the managed FortiSwitch ports through NAC device.

  config switch-controller port-policy
      Description: Configure port policy to be applied on the managed FortiSwitch ports through NAC device.
      edit <name>
          set description {string}
          set fortilink {string}
          set lldp-profile {string}
          set qos-policy {string}
          set 802-1x {string}
          set vlan-policy {string}
          set bounce-port-link [disable|enable]
      next
  end

config switch-controller port-policy

Parameter Name Description Type Size
description Description for the port policy. string Maximum length: 63
fortilink FortiLink interface for which this port policy belongs to. string Maximum length: 15
lldp-profile LLDP profile to be applied when using this port-policy. string Maximum length: 63
qos-policy QoS policy to be applied when using this port-policy. string Maximum length: 63
802-1x 802.1x security policy to be applied when using this port-policy. string Maximum length: 31
vlan-policy VLAN policy to be applied when using this port-policy. string Maximum length: 63
bounce-port-link Enable/disable bouncing (administratively bring the link down, up) of a switch port where this port policy is applied. Helps to clear and reassign VLAN from lldp-profile.
disable: Disable bouncing (administratively bring the link down, up) of a switch port where this port policy is applied.
enable: Enable bouncing (administratively bring the link down, up) of a switch port where this port policy is applied.
option -

Configure port policy to be applied on the managed FortiSwitch ports through NAC device.

  config switch-controller port-policy
      Description: Configure port policy to be applied on the managed FortiSwitch ports through NAC device.
      edit <name>
          set description {string}
          set fortilink {string}
          set lldp-profile {string}
          set qos-policy {string}
          set 802-1x {string}
          set vlan-policy {string}
          set bounce-port-link [disable|enable]
      next
  end

config switch-controller port-policy

Parameter Name Description Type Size
description Description for the port policy. string Maximum length: 63
fortilink FortiLink interface for which this port policy belongs to. string Maximum length: 15
lldp-profile LLDP profile to be applied when using this port-policy. string Maximum length: 63
qos-policy QoS policy to be applied when using this port-policy. string Maximum length: 63
802-1x 802.1x security policy to be applied when using this port-policy. string Maximum length: 31
vlan-policy VLAN policy to be applied when using this port-policy. string Maximum length: 63
bounce-port-link Enable/disable bouncing (administratively bring the link down, up) of a switch port where this port policy is applied. Helps to clear and reassign VLAN from lldp-profile.
disable: Disable bouncing (administratively bring the link down, up) of a switch port where this port policy is applied.
enable: Enable bouncing (administratively bring the link down, up) of a switch port where this port policy is applied.
option -