< Home

stp binding process link-share

Function

The stp binding process link-share command adds an interface to multiple MSTP processes for status calculation.

The undo stp binding process command removes the interface from status calculation of a certain MSTP process.

By default, an interface enabled with MSTP participates only in the status calculation of MSTP process 0.

Format

stp binding process process-id1 [ to process-id2 ] link-share

undo stp binding process process-id1 [ to process-id2 ]

Parameters

Parameter Description Value
process-id1 Specifies the ID of the start MSTP process. The value is an integer ranging from 1 to 31.
to process-id2 Specifies the ID of the end MSTP process. The value is an integer ranging from 1 to 31.

Views

Ethernet interface view, GE interface view, XGE interface view, MultiGE interface view, 40GE interface view, 100GE interface view, Eth-Trunk interface view, port group view, 25GE interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

On a Layer 2 network running MSTP, the link shared by multiple access rings is called a public link. A port on a public link participates in the spanning tree calculation for multiple MSTP processes and access rings. As a result, the port may have multiple statuses. Which spanning tree status can be used as the port status cannot be determined. To prevent this situation, the stp binding process link-share command can be used to add this port to an MSTP process. Then, the port always uses its status in MSTP process 0 after participating in the calculation for multiple MSTP processes.

Precautions

After the stp binding process link-share command is run on a port, the port will perform the following operations:

  • Participates in the status calculation of a specified MSTP process without affecting packet forwarding of this MSTP process.

  • Participates in the status calculation of MSTP process 0, affecting packet forwarding of this MSTP process.

If the stp binding process link-share command is run more than once, all configurations take effect.

The port configured with the stp binding process link-share command must be a port on the public link between devices configured with MSTP multi-process, but not a port that connects an access ring and a device.

If a process has a public link, the stp enable command must be run in the view of this process to enable MSTP globally.

For a port that is added to the process in link-share mode, you must run the stp enable command in the interface view to enable MSTP.

For a port that is added to the process in link-share mode, the port participates in status calculation of MSTP process 0. Therefore, you must run the stp enable command to enable MSTP for process 0.

Example

# Configure the port to participate in the status calculation of MSTP process 1 and MSTP process 2.

<HUAWEI> system-view
[HUAWEI] stp process 1
[HUAWEI-mst-process-1] quit
[HUAWEI] stp process 2
[HUAWEI-mst-process-2] quit
[HUAWEI] interface gigabitethernet 0/0/1 
[HUAWEI-GigabitEthernet0/0/1] stp binding process 1 to 2 link-share
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >