18 spanning-tree mode, 18 spanning-tree mode -106 – PLANET WGSW-52040 User Manual

Page 337

Advertising
background image

19-106

IEEE802.1D STP mode, this command is invalid.

Example:

Force the port 1/2 to run in the MSTP mode.

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

19.1.18 spanning-tree mode

Command:

spanning-tree mode {mstp | stp | rstp}

no spanning-tree mode

Function:

Set the spanning-tree mode in the switch; the command “no spanning-tree mode” restores the default setting.

Parameter:

19.1.19 mstp sets the switch in IEEE802.1s MSTP mode; stp sets

the switch in IEEE802.1D STP mode; rstp sets the switch in

IEEE802.1D RSTP mode.

Command mode:

Global Mode

Default:

The switch is in the MSTP mode by default.

Usage Guide:

When the switch is in IEEE802.1D STP mode, it only sends standard IEEE802.1D BPDU and TCN BPDU. It drops

any MSTP BPDUs.

Example:

Set the switch in the STP mode.

Switch(config)#spanning-tree mode stp

Advertising