101
Configured in port group view, the setting takes effect on all member ports in the port group.
Configured in Layer 2 aggregate interface view, the setting takes effect only on the aggregate interface.
Configured on a member port in an aggregation group, the setting takes effect only after the port leaves
the aggregation group.
Related commands:
stp mode
.
Examples
# Perform mCheck on GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] stp mcheck
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