Fortinet black logo

CLI Reference

switch-controller stp-settings

Configure FortiSwitch spanning tree protocol (STP).

  config switch-controller stp-settings
      Description: Configure FortiSwitch spanning tree protocol (STP).
      set name {string}
      set status [enable|disable]
      set revision {integer}
      set hello-time {integer}
      set forward-time {integer}
      set max-age {integer}
      set max-hops {integer}
      set pending-timer {integer}
  end

config switch-controller stp-settings

Parameter Name Description Type Size
name Name of global STP settings configuration. string Maximum length: 31
status Enable/disable STP.
enable: Enable STP.
disable: Disable STP.
option -
revision STP revision number (0 - 65535). integer Minimum value: 0 Maximum value: 65535
hello-time Period of time between successive STP frame Bridge Protocol Data Units (BPDUs) sent on a port (1 - 10 sec, default = 2). integer Minimum value: 1 Maximum value: 10
forward-time Period of time a port is in listening and learning state (4 - 30 sec, default = 15). integer Minimum value: 4 Maximum value: 30
max-age Maximum time before a bridge port saves its configuration BPDU information (6 - 40 sec, default = 20). integer Minimum value: 6 Maximum value: 40
max-hops Maximum number of hops between the root bridge and the furthest bridge (1- 40, default = 20). integer Minimum value: 1 Maximum value: 40
pending-timer Pending time (1 - 15 sec, default = 4). integer Minimum value: 1 Maximum value: 15

Configure FortiSwitch spanning tree protocol (STP).

  config switch-controller stp-settings
      Description: Configure FortiSwitch spanning tree protocol (STP).
      set name {string}
      set status [enable|disable]
      set revision {integer}
      set hello-time {integer}
      set forward-time {integer}
      set max-age {integer}
      set max-hops {integer}
      set pending-timer {integer}
  end

config switch-controller stp-settings

Parameter Name Description Type Size
name Name of global STP settings configuration. string Maximum length: 31
status Enable/disable STP.
enable: Enable STP.
disable: Disable STP.
option -
revision STP revision number (0 - 65535). integer Minimum value: 0 Maximum value: 65535
hello-time Period of time between successive STP frame Bridge Protocol Data Units (BPDUs) sent on a port (1 - 10 sec, default = 2). integer Minimum value: 1 Maximum value: 10
forward-time Period of time a port is in listening and learning state (4 - 30 sec, default = 15). integer Minimum value: 4 Maximum value: 30
max-age Maximum time before a bridge port saves its configuration BPDU information (6 - 40 sec, default = 20). integer Minimum value: 6 Maximum value: 40
max-hops Maximum number of hops between the root bridge and the furthest bridge (1- 40, default = 20). integer Minimum value: 1 Maximum value: 40
pending-timer Pending time (1 - 15 sec, default = 4). integer Minimum value: 1 Maximum value: 15