stp mcheck (Ethernet interface view)

Function

The stp mcheck command configures a port to automatically switch from the STP mode back to the Rapid Spanning Tree Protocol (RSTP)/MSTP mode.

By default, a port cannot switch from the STP mode back to the RSTP/MSTP mode.

Format

stp mcheck

Parameters

None

Views

100GE interface view, 10GE interface view, 25GE interface view, 400GE interface view, 40GE interface view, 50GE interface view, Eth-Trunk interface view, GE optical interface view, GE electrical interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mstp execute

Usage Guidelines

Usage Scenario

If a port of an RSTP/MSTP device is directly connected to an STP device, the port automatically switches to the STP mode and then sends configuration BPDUs to communicate with the remote device. If the STP device is powered off, removed, or is configured to run RSTP/MSTP, the port on the RSTP/MSTP device cannot switch back to the RSTP/MSTP mode. As a result, the RSTP/MSTP device cannot communicate with other RSTP/MSTP devices.

To address this problem, run the stp mcheck command. After this command is run on a port, the port will automatically switch from the STP mode back to the RSTP/MSTP mode.

Precautions

Running the stp mcheck command in the interface view configures only the current port to automatically switch back to the RSTP/MSTP mode.

Example

# Perform MCheck on interface Eth-Trunk1 and switch it to the MSTP mode.
<HUAWEI> system-view
[~HUAWEI] interface eth-trunk 1
[*HUAWEI-Eth-Trunk1] portswitch
[*HUAWEI-Eth-Trunk1] stp mcheck
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >