11 spanning-tree max-hop, 12 spanning-tree mcheck – PLANET WGSW-50040 User Manual

Page 163

Advertising
background image

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

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

Parameter:

<hop-count> sets maximum hops. The valid range is from 1 to 40.

Command mode:

Global Mode

Default:

The max hop is 20 by default.

Usage Guide:

The MSTP uses max-age to count BPDU lifetime. In addition, MSTP also uses max-hop to count

BPDU lifetime. The max-hop is degressive in the network. The BPDU has the max value when it

initiates from MSTI root bridge. Once the BPDU is received, the value of the max-hop is reduced by

1. When a port receives the BPDU with max-hop as 0, it drops this BPDU and sets itself as

designated port to send the BPDU.

Example:

Set max hop to 32.

Switch(config)#spanning-tree max-hop 32

9.1.12 spanning-tree mcheck

Command:

spanning-tree mcheck

Function:

Force the port to run in the MSTP mode.

Advertising