Fortinet white logo
Fortinet white logo

CLI Reference

config switch-controller mac-policy

config 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 bounce-port-duration {integer}
        set bounce-port-link [disable|enable]
        set count [disable|enable]
        set description {string}
        set fortilink {string}
        set poe-reset [disable|enable]
        set traffic-policy {string}
        set vlan {string}
    next
end

config switch-controller mac-policy

Parameter

Description

Type

Size

Default

bounce-port-duration

Bounce duration in seconds of a switch port where this mac-policy is applied.

integer

Minimum value: 1 Maximum value: 30

5

bounce-port-link

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

option

-

enable

Option

Description

disable

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

enable

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

count

Enable/disable packet count on the NAC device.

option

-

disable

Option

Description

disable

Enable packet count on the NAC device.

enable

Disable packet count on the NAC device.

description

Description for the MAC policy.

string

Maximum length: 63

fortilink

FortiLink interface for which this MAC policy belongs to.

string

Maximum length: 15

name

MAC policy name.

string

Maximum length: 63

poe-reset

Enable/disable POE reset of a switch port where this mac-policy is applied.

option

-

disable

Option

Description

disable

Disable POE reset of a switch port where this mac-policy is applied.

enable

Enable POE reset of a switch port where this mac-policy is applied.

traffic-policy

Traffic policy to be applied when using this MAC policy.

string

Maximum length: 63

vlan

Ingress traffic VLAN assignment for the MAC address matching this MAC policy.

string

Maximum length: 15

config switch-controller mac-policy

config 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 bounce-port-duration {integer}
        set bounce-port-link [disable|enable]
        set count [disable|enable]
        set description {string}
        set fortilink {string}
        set poe-reset [disable|enable]
        set traffic-policy {string}
        set vlan {string}
    next
end

config switch-controller mac-policy

Parameter

Description

Type

Size

Default

bounce-port-duration

Bounce duration in seconds of a switch port where this mac-policy is applied.

integer

Minimum value: 1 Maximum value: 30

5

bounce-port-link

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

option

-

enable

Option

Description

disable

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

enable

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

count

Enable/disable packet count on the NAC device.

option

-

disable

Option

Description

disable

Enable packet count on the NAC device.

enable

Disable packet count on the NAC device.

description

Description for the MAC policy.

string

Maximum length: 63

fortilink

FortiLink interface for which this MAC policy belongs to.

string

Maximum length: 15

name

MAC policy name.

string

Maximum length: 63

poe-reset

Enable/disable POE reset of a switch port where this mac-policy is applied.

option

-

disable

Option

Description

disable

Disable POE reset of a switch port where this mac-policy is applied.

enable

Enable POE reset of a switch port where this mac-policy is applied.

traffic-policy

Traffic policy to be applied when using this MAC policy.

string

Maximum length: 63

vlan

Ingress traffic VLAN assignment for the MAC address matching this MAC policy.

string

Maximum length: 15