stp no-agreement-check (VSI-LDP-PW view)

Function

The stp no-agreement-check command configures the common fast transition mechanism on an interface.

The undo stp no-agreement-check command restores the default fast transition mechanism on an interface.

By default, the enhanced fast transition mechanism is configured on an interface.

Format

stp no-agreement-check

undo stp no-agreement-check

Parameters

None

Views

VSI-LDP-PW view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mstp write

Usage Guidelines

Usage Scenario

If Huawei and non-Huawei data communication devices are deployed on a network running STP, the Huawei and non-Huawei devices may fail to communicate with each other, because they have different Proposal/Agreement mechanisms. To address this problem, run the stp no-agreement-check or undo stp no-agreement-check command to set a common or enhanced fast transition mechanism based on the Proposal/Agreement mechanism of the non-Huawei device.

Precautions

Between two interconnected devices on a spanning tree, the device closer to the root bridge is the upstream device of the other device. The fast transition mechanism is also called the Proposal/Agreement mechanism. The

VRP currently supports the following modes:

  • Enhanced mode: The current interface counts a root port when it calculates the synchronization flag bit.
  • An upstream device sends a Proposal message to a downstream device requesting fast status transition. After receiving the message, the downstream device sets the port connected to the upstream device to the root port and blocks all non-edge ports.
  • The upstream device then sends an Agreement message to the downstream device. After the downstream device receives the message, the root port changes to the Forwarding state.
  • The downstream device then responds with an Agreement message. After receiving the message, the upstream device sets the port connected to the downstream device to the designated port, and then the status of the designated port changes to Forwarding.
  • Common mode: The current interface ignores the root port when it calculates the synchronization flag bit.
  • An upstream device sends a Proposal message to a downstream device requesting fast status transition. After receiving the message, the downstream device sets the port connected to the upstream device to the root port and blocks all non-edge ports. Then, the status of the root port changes to Forwarding.
  • The downstream device then responds with an Agreement message. After receiving the message, the upstream device sets the port connected to the downstream device to the designated port, and then the status of the designated port changes to Forwarding.

Example

# Configure the common fast transition mechanism for pw1.
<HUAWEI> system-view
[~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] quit
[*HUAWEI-vsi-1-ldp] pw pw1
[*HUAWEI-vsi-1-ldp-pw-pw1] stp no-agreement-check
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >