stp binding process

Function

The stp binding process command adds an interface to a specified MSTP process.

The undo stp binding process command removes an interface from a specified MSTP process.

By default, an interface is added to MSTP process 0.

Format

stp binding process process-id

undo stp binding process process-id

Parameters

Parameter Description Value
process-id

Specifies the ID of an MSTP process.

The value is an integer ranging from 1 to 256.

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 write

Usage Guidelines

Usage Scenario

After an MSTP device properly starts, each port of this device belongs to MSTP process 0 by default. The link connecting an MSTP device to an access ring is an access link. To isolate services on access rings using an MSTP process, run the stp binding process command to add an interface on an access link to a specified MSTP process.

Prerequisites

An MSTP process has been configured using the stp process command.

Precautions

An interface on an access link can be added to only one MSTP process. If the stp binding process command is run more than once, the latest configuration overrides the previous one.

Example

# Add an interface Eth-Trunk1 to MSTP process 1.
<HUAWEI> system-view
[~HUAWEI] stp process 1
[*HUAWEI-mst-process-1] quit
[*HUAWEI] interface eth-trunk 1
[*HUAWEI-Eth-Trunk1] portswitch
[*HUAWEI-Eth-Trunk1] stp binding process 1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >