switch-controller stp-settings
Use this command to configure global STP configuration for all managed FortiSwitches.
You can override the global STP settings for a FortiSwitch using the following commands:
config switch-controller managed-switch
edit <switch-id>
config stp-settings
set local-override enable
end
config switch-controller stp-settings set name {string} Name of global STP settings configuration. size[31] set status {enable | disable} Enable/disable STP. set revision {integer} STP revision number (0 - 65535). range[0-65535] set hello-time {integer} Period of time between successive STP frame Bridge Protocol Data Units (BPDUs) sent on a port (1 - 10 sec, default = 2). range[1-10] set forward-time {integer} Period of time a port is in listening and learning state (4 - 30 sec, default = 15). range[4-30] set max-age {integer} Maximum time before a bridge port saves its configuration BPDU information (6 - 40 sec, default = 20). range[6-40] set max-hops {integer} Maximum number of hops between the root bridge and the furthest bridge (1- 40, default = 20). range[1-40] set pending-timer {integer} Pending time (1 - 15 sec, default = 4). range[1-15] end