Fortinet white logo
Fortinet white logo

CLI Reference

config switch-controller port-policy

config 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

Description

Type

Size

Default

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.

option

-

enable

Option

Description

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.

config switch-controller port-policy

config 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

Description

Type

Size

Default

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.

option

-

enable

Option

Description

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.