Creating VSIs and Configuring PW Connections

Before enabling interconnection between PE1, PE2, and PE3 on an MPLS VPLS network, you must create VSIs and configure PWs on them.

Procedure

  • Configure PE1 and PE2.
    1. Run system-view

      The system view is displayed.

    2. Run vsi vsi-name [ static | auto ] bd-mode

      A VSI in BD mode is created.

    3. Run pwsignal { ldp | bgp }

      LDP is configured as the VSI signaling protocol, and the VSI-LDP view is displayed.

    4. Run vsi-id vsi-id

      An ID is configured for the VSI.

    5. Run peer peer-address [ negotiation-vc-id vc-id ] pw pw-name

      PE3 is specified as the VSI peer.

    6. Run commit

      The configuration is committed.

  • Configure PE3.
    1. Run system-view

      The system view is displayed.

    2. Run vsi vsi-name [ static | auto ] bd-mode

      A VSI in BD mode is created.

    3. Run pwsignal { ldp | bgp }

      The VSI-LDP view is displayed.

    4. Run vsi-id vsi-id

      An ID is configured for the VSI.

    5. Run peer peer-address [ negotiation-vc-id vc-id ] pw pw-name

      PE1 and PE2 are specified as the VSI peers of PE3.

    6. Run protect-group group-name

      A PW protection group is created, and the PW protection group view is displayed.

    7. Run protect-mode pw-redundancy { master | independent }

      The PW redundancy mode of the current PW protection group is specified.

      Network protection depends on the VPLS's network's protection solution. It is recommended that PW redundancy in master mode instead of independent be configured on PE3.

    8. Run peer peer-address [ negotiation-vc-id vc-id ] preference preference-value

      The PWs connected to PE1 and PE2 are added to the PW protection group, and priorities of the PWs are specified. The smaller the value, the higher the priority. The PW with a higher priority serves as the primary PW.

    9. Run quit

      Exit from the PW protection group view.

    10. Run quit

      Exit from the VSI-LDP view.

    11. Run pw-redundancy mac-withdraw rfc-compatible

      PE3 is enabled to instruct the peer PEs to clear the MAC addresses of the PWs if their primary/secondary status is changed.

      When the master/backup status of PE1 and PE2 changes, PE3 performs a primary/secondary PW switchover. In this case, PE3 must notify PE1 and PE2 of the current PW status and instruct them to clear the MAC addresses.

    12. Run commit

      The configuration is committed.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >