
119
stp mode
Syntax
stp mode
{
stp
|
rstp
|
mstp
}
undo stp mode
View
System view
Default level
2: System level
Parameters
stp
: Configures the MSTP-enabled switch to work in STP-compatible mode.
rstp
: Configures an MSTP-enabled switch to work in RSTP mode.
mstp
: Configures an MSTP-enabled switch to work in MSTP mode.
Description
Use the
stp mode
command to configure the MSTP work mode of the switch.
Use the
undo stp mode
command to restore the MSTP work mode to the default setting.
By default, an MSTP-enabled switch works in MSTP mode.
Related commands:
stp mcheck
and
stp enable
.
Examples
# Configure the MSTP-enabled switch to work in STP-compatible mode.
<Sysname> system-view
[Sysname] stp mode stp
stp no-agreement-check
Syntax
stp no-agreement-check
undo stp no-agreement-check
View
Layer 2 Ethernet interface view, port group view, Layer 2 aggregate interface view
Default level
2: System level
Parameters
None
Description
Use the
stp no-agreement-check
command to enable No Agreement Check on the port(s).
Use the
undo stp no-agreement-check
command to disable No Agreement Check on the port(s).
By default, No Agreement Check is disabled.