Fortinet Document Library

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:


Table of Contents

CLI Reference

config switch-controller dynamic-port-policy

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

config switch-controller dynamic-port-policy

Description: Configure Dynamic port policy to be applied on the managed FortiSwitch ports through DPP device.

edit <name>

set description {string}

set fortilink {string}

config policy

Description: Port policies with matching criteria and actions.

edit <name>

set description {string}

set status [enable|disable]

set category [device|interface-tag]

set interface-tags <tag-name1>, <tag-name2>, ...

set mac {string}

set type {string}

set family {string}

set host {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

next

end

config switch-controller dynamic-port-policy

Parameter

Description

Type

Size

Default

description

Description for the Dynamic port policy.

string

Maximum length: 63

fortilink

FortiLink interface for which this Dynamic port policy belongs to.

string

Maximum length: 15

config policy

Parameter

Description

Type

Size

Default

description

Description for the policy.

string

Maximum length: 63

status

Enable/disable policy.

option

-

enable

 

Option

Description

enable

Enable policy.

disable

Disable policy.

category

Category of Dynamic port policy.

option

-

device

 

Option

Description

device

Device category.

interface-tag

Interface Tag category.

interface-tags <tag-name>

Policy matching the FortiSwitch interface object tags.

FortiSwitch port tag name.

string

Maximum length: 63

mac

Policy matching MAC address.

string

Maximum length: 17

type

Policy matching type.

string

Maximum length: 15

family

Policy matching family.

string

Maximum length: 31

host

Policy matching host.

string

Maximum length: 64

lldp-profile

LLDP profile to be applied when using this policy.

string

Maximum length: 63

qos-policy

QoS policy to be applied when using this policy.

string

Maximum length: 63

802-1x

802.1x security policy to be applied when using this policy.

string

Maximum length: 31

vlan-policy

VLAN policy to be applied when using this policy.

string

Maximum length: 63

bounce-port-link

Enable/disable bouncing (administratively bring the link down, up) of a switch port where this 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 policy is applied.

enable

Enable bouncing (administratively bring the link down, up) of a switch port where this policy is applied.

config switch-controller dynamic-port-policy

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

config switch-controller dynamic-port-policy

Description: Configure Dynamic port policy to be applied on the managed FortiSwitch ports through DPP device.

edit <name>

set description {string}

set fortilink {string}

config policy

Description: Port policies with matching criteria and actions.

edit <name>

set description {string}

set status [enable|disable]

set category [device|interface-tag]

set interface-tags <tag-name1>, <tag-name2>, ...

set mac {string}

set type {string}

set family {string}

set host {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

next

end

config switch-controller dynamic-port-policy

Parameter

Description

Type

Size

Default

description

Description for the Dynamic port policy.

string

Maximum length: 63

fortilink

FortiLink interface for which this Dynamic port policy belongs to.

string

Maximum length: 15

config policy

Parameter

Description

Type

Size

Default

description

Description for the policy.

string

Maximum length: 63

status

Enable/disable policy.

option

-

enable

 

Option

Description

enable

Enable policy.

disable

Disable policy.

category

Category of Dynamic port policy.

option

-

device

 

Option

Description

device

Device category.

interface-tag

Interface Tag category.

interface-tags <tag-name>

Policy matching the FortiSwitch interface object tags.

FortiSwitch port tag name.

string

Maximum length: 63

mac

Policy matching MAC address.

string

Maximum length: 17

type

Policy matching type.

string

Maximum length: 15

family

Policy matching family.

string

Maximum length: 31

host

Policy matching host.

string

Maximum length: 64

lldp-profile

LLDP profile to be applied when using this policy.

string

Maximum length: 63

qos-policy

QoS policy to be applied when using this policy.

string

Maximum length: 63

802-1x

802.1x security policy to be applied when using this policy.

string

Maximum length: 31

vlan-policy

VLAN policy to be applied when using this policy.

string

Maximum length: 63

bounce-port-link

Enable/disable bouncing (administratively bring the link down, up) of a switch port where this 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 policy is applied.

enable

Enable bouncing (administratively bring the link down, up) of a switch port where this policy is applied.