Fortinet black logo

CLI Reference

switch-controller global

switch-controller global

Configure global settings for managed FortiSwitches. The settings include the mac address age interval, whether multiple FortiGate interfaces can be used as FortiLink interfaces, and enabling or disabling auto-discovery for specific managed FortiSwitches.

History

The following table shows all newly added, changed, or removed entries as of FortiOS 6.0.1.

Command Description

set log-mac-limit-violations {enable | disable}

set mac-violation-timer <minutes>

Enable or disable FortiLink MAC learning limit violations and timer in minutes. Set the range between 0-1500 (or up to 25 hours).

Note that mac-violation-timer is only available when log-mac-violations is set to enable.

The following table shows all newly added, changed, or removed entries as of FortiOS 6.0.

Command Description

set https-image-push {enable | disable}

Enable or disable image push to FortiSwitch using HTTPS.

set default-virtual-switch-vlan <string>

Configure virtual-switch default VLAN settings.
config switch-controller global
    set mac-aging-interval {integer}   Time after which an inactive MAC is aged out (10 - 1000000 sec, default = 300, 0 = disable). range[10-1000000]
    set allow-multiple-interfaces {enable | disable}   Enable/disable multiple FortiLink interfaces for redundant connections between a managed FortiSwitch and FortiGate.
    set https-image-push {enable | disable}   Enable/disable image push to FortiSwitch using HTTPS.
    config disable-discovery
        edit {name}
        # Prevent this FortiSwitch from discovering.
            set name {string}   Managed device ID. size[64]
        next
    set mac-retention-period {integer}   Time in hours after which an inactive MAC is removed from client DB. range[1-168]
    set default-virtual-switch-vlan {string}   Default VLAN for ports when added to the virtual-switch. size[15] - datasource(s): system.interface.name
    set log-mac-limit-violations {enable | disable}   Enable/disable logs for Learning Limit Violations.
    set mac-violation-timer {integer}   Set timeout for Learning Limit Violations (0 = disabled). range[0-4294967295]
end

switch-controller global

Configure global settings for managed FortiSwitches. The settings include the mac address age interval, whether multiple FortiGate interfaces can be used as FortiLink interfaces, and enabling or disabling auto-discovery for specific managed FortiSwitches.

History

The following table shows all newly added, changed, or removed entries as of FortiOS 6.0.1.

Command Description

set log-mac-limit-violations {enable | disable}

set mac-violation-timer <minutes>

Enable or disable FortiLink MAC learning limit violations and timer in minutes. Set the range between 0-1500 (or up to 25 hours).

Note that mac-violation-timer is only available when log-mac-violations is set to enable.

The following table shows all newly added, changed, or removed entries as of FortiOS 6.0.

Command Description

set https-image-push {enable | disable}

Enable or disable image push to FortiSwitch using HTTPS.

set default-virtual-switch-vlan <string>

Configure virtual-switch default VLAN settings.
config switch-controller global
    set mac-aging-interval {integer}   Time after which an inactive MAC is aged out (10 - 1000000 sec, default = 300, 0 = disable). range[10-1000000]
    set allow-multiple-interfaces {enable | disable}   Enable/disable multiple FortiLink interfaces for redundant connections between a managed FortiSwitch and FortiGate.
    set https-image-push {enable | disable}   Enable/disable image push to FortiSwitch using HTTPS.
    config disable-discovery
        edit {name}
        # Prevent this FortiSwitch from discovering.
            set name {string}   Managed device ID. size[64]
        next
    set mac-retention-period {integer}   Time in hours after which an inactive MAC is removed from client DB. range[1-168]
    set default-virtual-switch-vlan {string}   Default VLAN for ports when added to the virtual-switch. size[15] - datasource(s): system.interface.name
    set log-mac-limit-violations {enable | disable}   Enable/disable logs for Learning Limit Violations.
    set mac-violation-timer {integer}   Set timeout for Learning Limit Violations (0 = disabled). range[0-4294967295]
end