3Com 4500 50-PORT Switch User Manual


 
RSTP Configuration Commands 223
Parameter
stp: Specifies to run Spanning Tree in STP compatible mode.
rstp: Specifies to run Spanning Tree in RSTP mode.
Description
Use the stp mode command to configure Spanning Tree’s running mode.
Use the undo stp mode command to restore the default Spanning Tree’s running
mode.
By default, the value is rstp.
This command can be used for specifying the current Ethernet Switch to run the
Spanning Tree in RSTP mode or in STP compatible mode.
Related commands: stp, stp mcheck.
Example
To set Spanning Tree to work in STP compatible mode, enter the following:
<4500>system-view
System View: return to User View with Ctrl+Z.
[4500]stp mode stp
stp pathcost-standard Syntax
stp pathcost-standard { dot1d-1998 | dot1t }
undo stp pathcost-standard
View
System view
Parameter
dot1d-1998: The Switch calculates the default Path Cost of a port by the IEEE
802.1D-1998 standard.
dot1t: The Switch calculates the default Path Cost of a port by the IEEE 802.1t
standard.
Description
Use the stp pathcost-standard command to specify the standard to be used by
the Switch in calculating the default Path Cost.
Use the undo stp pathcost-standard command to restore the default choice of
the standard.
By default, the Switch calculates the default Path Cost of a port by the IEEE 802.1t
standard.
Example
To configure the Switch to calculate the default Path Cost of a port by the IEEE
802.1D-1998 standard, enter the following: