75
Examples
# Perform mCheck on Ethernet 1/1.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] stp mcheck
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, 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