Fortinet Document Library

Version:


Table of Contents

CLI Reference

6.2.1
Copy Link

Configure Spanning Tree Protocol (STP).

  config system stp
      Description: Configure Spanning Tree Protocol (STP).
      set region-name {string}
      set status {option}
      set config-revision {integer}
      set switch-priority [0|4096|...]
      set hello-time {integer}
      set forward-delay {integer}
      set max-age {integer}
      set max-hops {integer}
  end

config system stp

Parameter Name Description Type Size
region-name Set region name. string Maximum length: 31
status Enable/disable STP settings.
option -
config-revision STP configuration revision (0 - 4294967295, default = 0). integer Minimum value: 0 Maximum value: 4294967295
switch-priority STP switch priority; the lower the number the higher the priority (select from 0, 4096, 8192, 12288, 16384, 20480, 24576, 28672, 32768, 36864, 40960, 45056, 49152, 53248, and 57344).
0: 0
4096: 4096
8192: 8192
12288: 12288
16384: 16384
20480: 20480
24576: 24576
28672: 28672
32768: 32768
36864: 36864
40960: 40960
45056: 45056
49152: 49152
53248: 53248
57344: 57344
option -
hello-time Hello time (1 - 10 sec, default = 2). integer Minimum value: 1 Maximum value: 10
forward-delay Forward delay (4 - 30 sec, default = 15). integer Minimum value: 4 Maximum value: 30
max-age Maximum packet age (6 - 40 sec, default = 20). integer Minimum value: 6 Maximum value: 40
max-hops Maximum number of hops (1 - 40, default = 20). integer Minimum value: 1 Maximum value: 40

Configure Spanning Tree Protocol (STP).

  config system stp
      Description: Configure Spanning Tree Protocol (STP).
      set region-name {string}
      set status {option}
      set config-revision {integer}
      set switch-priority [0|4096|...]
      set hello-time {integer}
      set forward-delay {integer}
      set max-age {integer}
      set max-hops {integer}
  end

config system stp

Parameter Name Description Type Size
region-name Set region name. string Maximum length: 31
status Enable/disable STP settings.
option -
config-revision STP configuration revision (0 - 4294967295, default = 0). integer Minimum value: 0 Maximum value: 4294967295
switch-priority STP switch priority; the lower the number the higher the priority (select from 0, 4096, 8192, 12288, 16384, 20480, 24576, 28672, 32768, 36864, 40960, 45056, 49152, 53248, and 57344).
0: 0
4096: 4096
8192: 8192
12288: 12288
16384: 16384
20480: 20480
24576: 24576
28672: 28672
32768: 32768
36864: 36864
40960: 40960
45056: 45056
49152: 49152
53248: 53248
57344: 57344
option -
hello-time Hello time (1 - 10 sec, default = 2). integer Minimum value: 1 Maximum value: 10
forward-delay Forward delay (4 - 30 sec, default = 15). integer Minimum value: 4 Maximum value: 30
max-age Maximum packet age (6 - 40 sec, default = 20). integer Minimum value: 6 Maximum value: 40
max-hops Maximum number of hops (1 - 40, default = 20). integer Minimum value: 1 Maximum value: 40