Fortinet black 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 description {string}

set fortilink {string}

set vlan {string}

set traffic-policy {string}

set count [disable|enable]

set bounce-port-link [disable|enable]

next

end

config switch-controller mac-policy

Parameter

Description

Type

Size

Default

description

Description for the MAC policy.

string

Not Specified

fortilink

FortiLink interface for which this MAC policy belongs to.

string

Not Specified

vlan

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

string

Not Specified

traffic-policy

Traffic policy to be applied when using this MAC policy.

string

Not Specified

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.

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.

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 description {string}

set fortilink {string}

set vlan {string}

set traffic-policy {string}

set count [disable|enable]

set bounce-port-link [disable|enable]

next

end

config switch-controller mac-policy

Parameter

Description

Type

Size

Default

description

Description for the MAC policy.

string

Not Specified

fortilink

FortiLink interface for which this MAC policy belongs to.

string

Not Specified

vlan

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

string

Not Specified

traffic-policy

Traffic policy to be applied when using this MAC policy.

string

Not Specified

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.

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.