R3102-R3103-HP 6600/HSR6600 Routers Layer 2 - LAN Switching Command Reference

69
Related commands
stp mode
stp mode
Use stp mode to configure the spanning tree operating mode.
Use undo stp mode to restore the default.
Syntax
stp mode { mstp | rstp | stp }
undo stp mode
Default
A spanning tree device operates in MSTP mode.
Views
System view
Default command level
2: System level
Parameters
mstp: Configures the spanning tree device to operate in MSTP mode.
rstp: Configures the spanning tree device to operate in RSTP mode.
stp: Configures the spanning tree device to operate in STP mode.
Usage guidelines
MSTP mode is compatible with RSTP mode, RSTP mode is compatible with STP mode.
Examples
# Configure the spanning tree device to operate in STP mode.
<Sysname> system-view
[Sysname] stp mode stp
Related commands
stp enable
stp mcheck
stp no-agreement-check
Use stp no-agreement-check to enable No Agreement Check on the ports.
Use undo stp no-agreement-check to disable No Agreement Check on the ports.
Syntax
stp no-agreement-check
undo stp no-agreement-check