15 spanning-tree maxage, 16 spanning-tree max-hop, 15 spanning-tree maxage -104 – PLANET WGSW-52040 User Manual

Page 335: 16 spanning-tree max-hop -104

Advertising
background image

19-104

19.1.15 spanning-tree maxage

Command:

spanning-tree maxage <time>

no spanning-tree maxage

Function:

Set the max aging time for BPDU; the command “no spanning-tree maxage” restores the default setting.

Parameter:

<time> is max aging time in seconds. The valid range is from 6 to 40.

Command mode:

Global Mode

Default:

The max age is 20 seconds by default.

Usage Guide:

The lifetime of BPDU is called max age time. The max age is co working with hello time and forward delay. The

parameters should meet the following conditions. Otherwise, the MSTP may work incorrectly.

2 * (Bridge_Forward_Delay - 1.0 seconds) >= Bridge_Max_Age

Bridge_Max_Age >= 2 * (Bridge_Hello_Time + 1.0 seconds)

Example:

In global mode, set max age time to 25 seconds.

Switch(config)#spanning-tree maxage 25

19.1.16 spanning-tree max-hop

Command:

spanning-tree max-hop <hop-count>

no spanning-tree max-hop

Function:

Set maximum hops of BPDU in the MSTP region; the command “no spanning-tree max-hop” restores the default

setting.

Advertising