< Home

track hub-pw (VSI-LDP-PW view)

Function

The track hub-pw associates spoke PW status with hub PW status.

The undo track hub-pw deletes the association between spoke PW status and hub PW status.

By default, spoke PW status is not associated with hub PW status.

Format

track hub-pw

undo track hub-pw

Parameters

None

Views

VSI-LDP-PW view

Default Level

2. Configuration level

Usage Guidelines

Usage Scenario

Figure 1 shows a VPLS PW redundancy scenario. The UPE connects to SPE1 over PW1, a primary PW, and connects to SPE2 over PW2, a secondary PW. PW1 and PW2 work in backup mode. SPEs and NPEs are connected using hub PWs.

Under normal circumstances, if all hub PWs connected to SPE1 go Down but PW1 is Up, the upstream traffic still travels along the primary PW, PW1. As a result, traffic gets lost. To prevent traffic loss, you can run the track hub-pw command on SPE1 to associate spoke PW status with hub PW status. After the track hub-pw command is configured, SPE1 notifies the UPE of switching traffic to the secondary PW for transmission after detecting that all connected hub PWs go Down.

Figure 1 VPLS PW redundancy networking

Prerequisites

The track hub-pw command takes effect only if the following conditions are met:
  • This command can only be used for a spoke PW to track the status of hub PWs. The peer peer-address [ negotiation-vc-id vc-id ] [ tnl-policy policy-name ] upe must have been run the create a spoke PW.

  • The peer peer-address [ negotiation-vc-id vc-id ] pw pw-name command must have been run to display the PW view. This is because the track hub-pw command can only be run in the VSI-LDP-PW view.

Example

# Enable the association between spoke PW status and hub PW status.

<HUAWEI> system-view
[HUAWEI] vsi vsi1
[HUAWEI-vsi-vsi1] pwsignal ldp
[HUAWEI-vsi-vsi1-ldp] peer 2.2.2.2 upe
[HUAWEI-vsi-vsi1-ldp] peer 2.2.2.2 pw 1
[HUAWEI-vsi-vsi1-ldp-pw-1] track hub-pw
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >