14 spanning-tree link-type p2p, 14 spanning-tree link-type p2p -103 – PLANET WGSW-52040 User Manual

Page 334

Advertising
background image

19-103

Hello time is the interval that the switch sends BPDUs. Hello time is co working with forward delay and max age. 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:

Set MSTP hello time to 5 seconds in global mode.

Switch(config)#spanning-tree hello-time 5

19.1.14 spanning-tree link-type p2p

Command:

spanning-tree link-type p2p {auto | force-true | force-false}

no spanning-tree link-type

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

Advertising