Global configuration mode
Example
switch(config)# spanning-tree mode rstp
//Set the STP version to RSTP.
4.5.3
spanning-tree max-age
Command Description
spanning-tree max-age {6-40}
Parameter
seconds
Default
20s
Command Mode
Global configuration mode
Example
//This command configure the STP the largest survival time for 24 seconds.
switch(config)# spanning-tree max-age 24
4.5.4
spanning-tree hello-time
Command Description
spanning-tree hello-time{1-10}
Parameter
Time
Default
2s
Command Mode
Global configuration mode
Example
Switch(config)# spanning-tree hello-time 10
//This command configure the STP hello message sending time interval to 10 seconds.
4.5.5
spanning-tree forward-delay
Command Description
spanning-tree forward-delay{4-30}
BPDU biggest survival time.Value range:6-40s.
Hello message sending interval,Value range:1-10s.