10 spanning-tree maxage – PLANET WGSW-50040 User Manual

Page 162

Advertising
background image

Function:

Set the link type of the current port; the command “no spanning-tree link-type” restores link type to

auto-negotiation.

Parameter:

auto sets auto-negotiation,

force-true forces the link as point-to-point type,

force-false forces the link as non point-to-point type.

Command mode:

Port Mode

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

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

Advertising