stp binding process to link-share (VSI-LDP-PW view)

Function

The stp binding process to link-share command configures an interface to participate in status calculation in multiple MSTP processes.

The undo stp binding process to link-share command removes an interface from status calculation of a certain MSTP process.

By default, an MSTP interface participates in status calculation only in 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 256.

to process-id2

Specifies the ID of the end MSTP process.

The value is an integer ranging from 1 to 256.

Views

VSI-LDP-PW view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mstp write

Usage Guidelines

Usage Scenario

On a Layer 2 network running MSTP, the link used by multiple access rings is a public link. An interface on the public link participates in the spanning tree calculation for multiple MSTP processes and access rings. Each MSTP process calculates an interface status. As a result, the interface may have multiple status, and which status is used cannot be determined. To prevent this problem, run the stp binding process link-share command to add the interface to multiple MSTP processes. The interface always uses its status in MSTP process 0, although it participates in status calculation in multiple MSTP processes.

Configuration Impact

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

  • Participates in status calculation of a specified MSTP process without affecting packet forwarding of this MSTP process.
  • Participates in 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.

Precautions

  • The interface configured with the stp binding process link-share command must be an interface on the public link between devices configured with the MSTP multi-process, but not an interface that connects a device to an access ring.
  • 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 an interface that is added to a process in link-share mode, you must run the stp enable command in the interface view to enable MSTP.
  • For an interface that is added to a process in link-share mode, the interface participates in status calculation of MSTP process 0. You must run the stp enable command to enable MSTP for process 0.

Example

# Configure pw1 to participate in status calculation in MSTP processes 1 and 2.
<HUAWEI> system-view
[*HUAWEI] stp process 1
[*HUAWEI-mst-process-1] quit
[*HUAWEI] stp process 2
[*HUAWEI-mst-process-2] quit
[*HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] quit
[*HUAWEI] vsi 1
[*HUAWEI-vsi-1] pwsignal ldp
[*HUAWEI-vsi-1-ldp] vsi-id 33
[*HUAWEI-vsi-1-ldp] peer 1.1.1.1
[*HUAWEI-vsi-1-ldp] peer 1.1.1.1 pw pw1
[*HUAWEI-vsi-1-ldp-pw-pw1] stp enable
[*HUAWEI-vsi-1-ldp-pw-pw1] stp binding process 1 to 2 link-share
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >