< Home

stp process

Function

The stp process command has the following functions:

  • Create an MSTP process with a specified ID and enter the MSTP process view if the specified MSTP process does not exist.

  • Display the MSTP process view if the specified MSTP process exists.

The undo stp process command deletes a specified MSTP process.

By default, all MSTP configurations on a device belong to MSTP process 0.

Format

stp process process-id

undo stp process process-id

Parameters

Parameter Description Value
process-id Indicates the ID of an MSTP process. The value is an integer ranging from 1 to 31.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

On a Layer 2 network where MSTP is run, if devices belong to multiple access rings that are isolated from each other and these access rings do not need intercommunication, MSTP cannot be used to calculate one spanning tree for all these access rings. Instead, MSTP must be enabled on each access ring to calculate the spanning trees independently.

Each switching device on these access rings can be configured with multiple MSTP processes. After ports of each switching device are bound to different MSTP processes, they participate in the MSTP calculations of different MSTP processes. MSTP calculations in different MSTP processes are independent of each other.

Follow-up Procedure

After an MSTP process is created, run the stp binding process command to bind relevant interfaces to the MSTP process.

Precautions

After a switching device that runs MSTP starts correctly, MSTP process 0 exists by default. MSTP configurations in the system view and interface view both belong to this process.

VBST does not support processes. Therefore, this command does not take effect when the spanning tree protocol is VBST. If this command has been run in MSTP mode, switching the MSTP mode to VBST mode fails, and the system displays a message indicating switching failure.

Example

# Create MSTP process 1.

<HUAWEI> system-view
[HUAWEI] stp process 1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >