R2511-HP MSR Router Series Layer 2 - LAN Switching Command Reference(V5)
76
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, and 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 mcheck
• stp enable
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
Default
No Agreement Check is disabled.
Views
Ethernet interface view, port group view, Layer 2 aggregate interface view










