8 spanning-tree hello-time, 9 spanning-tree link-type p2p – PLANET XGS3-24040 User Manual

Page 198

Advertising
background image

13-64

13.1.8 spanning-tree hello-time

Command:

spanning-tree hello-time <time>

no spanning-tree hello-time

Function:

Set switch Hello time; The command “no spanning-tree hello-time” restores the default setting.

Parameter:

<time> is Hello time in seconds. The valid range is from 1 to 10.

Command mode:

Global Mode

Default:

Hello Time is 2 seconds by default.

Usage Guide:

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

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

Advertising