beautypg.com

11 spanning-tree maxage, 12 spanning-tree max-hop – Accton Technology ES4626 User Manual

Page 230

background image

230

Default:

The link type is auto by default, The MSTP detects the link type automatically.

Usage Guide:

When the port is full-duplex, MSTP sets the port link type as point-to-point;

When the port is half-duplex, MSTP sets the port link type as shared.

Example:

Force the port 1/7-8 as point-to-point type.

Switch(Config)#interface ethernet 1/7-8

Switch(Config-Port-Range)#spanning-tree link-type p2p force-true

7.3.11 spanning-tree maxage

Command: spanning-tree maxage

no spanning-tree maxage

Function:

Set the max aging time for BPDU; The command “no spanning-tree maxage

restores the default setting.

Parameter:

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

7.3.12 spanning-tree max-hop

Command: spanning-tree max-hop

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:

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.

This manual is related to the following products: