6 spanning-tree, 7 spanning-tree forward-time – PLANET WGSW-50040 User Manual

Page 160

Advertising
background image

9.1.6 spanning-tree

Command:

spanning-tree

no spanning-tree

Function:

Enable MSTP in global mode and in Port Mode; The command “no spanning-tree” is to disable

MSTP.

Command mode:

Global Mode and Port Mode

Default:

MSTP is not enabled by default.

Usage Guide:

If the MSTP is enabled in global mode, the MSTP is enabled in all the ports except for the ports

which are set to disable the MSTP explicitly.

Example:

Enable the MSTP in global mode, and disable the MSTP in the interface1/2.

Switch(config)#spanning-tree

Switch(config)#interface ethernet 1/2

Switch(Config-If-Ethernet1/2)#no spanning-tree

9.1.7 spanning-tree forward-time

Command:

spanning-tree forward-time <time>

no spanning-tree forward-time

Function:

Set the switch forward delay time; the command “no spanning-tree forward-time” restores the

default setting.

Parameter:

<time> is forward delay time in seconds. The valid range is from 4 to 30.

Command mode:

Global Mode

Default:

The forward delay time is 15 seconds by default.

Usage Guide:

When the network topology changes, the status of the port is changed from blocking to forwarding.

Advertising