Fortinet black logo

CLI Reference

config system stp

config system stp

Note

This command is available for reference model(s) FortiGate 140E-POE, FortiWiFi 61F. It is not available for FortiGate 501E, FortiGate 3000D, FortiGate VM64.

Configure Spanning Tree Protocol (STP).

config system stp

Description: Configure Spanning Tree Protocol (STP).

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

Description

Type

Size

Default

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).

option

-

32768

Option

Description

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

hello-time

Hello time .

integer

Minimum value: 1 Maximum value: 10

2

forward-delay

Forward delay .

integer

Minimum value: 4 Maximum value: 30

15

max-age

Maximum packet age .

integer

Minimum value: 6 Maximum value: 40

20

max-hops

Maximum number of hops .

integer

Minimum value: 1 Maximum value: 40

20

config system stp

Note

This command is available for reference model(s) FortiGate 140E-POE, FortiWiFi 61F. It is not available for FortiGate 501E, FortiGate 3000D, FortiGate VM64.

Configure Spanning Tree Protocol (STP).

config system stp

Description: Configure Spanning Tree Protocol (STP).

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

Description

Type

Size

Default

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).

option

-

32768

Option

Description

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

hello-time

Hello time .

integer

Minimum value: 1 Maximum value: 10

2

forward-delay

Forward delay .

integer

Minimum value: 4 Maximum value: 30

15

max-age

Maximum packet age .

integer

Minimum value: 6 Maximum value: 40

20

max-hops

Maximum number of hops .

integer

Minimum value: 1 Maximum value: 40

20