Configuring a PW APS Instance and Bind a PW Protection Group to the PW APS Instance

This section describes how to bind a PW protection group to a PW APS instance.

Context

In an E-PW APS scenario, PW APS instances are further divided into master PW APS instances and slave PW APS instances. Only a master PW APS instance will establish the APS state machine, exchange APS signaling with the peer PW end, and notify the slave PW APS instance of the negotiated status through the bypass PW. APS protocol packets always travel along the backup channel. The transmit and receive ends both know that they receive APS protocol packets through each other's backup channel. This implementation helps determine whether the primary and backup channel configurations on the two ends are consistent. In this example, the PW between PE1 and PE2 serves as the primary PW and the PW between PE1 and PE3 serves as the secondary PW. You need to configure the PW APS instance on PE3 as the master one and the PW APS instance on PE2 as the slave one.

In the E-PW APS scenario, perform the following configurations on PE1, PE2, and PE3.

Procedure

  • Configure a PW APS instance and bind a PW protection group to the instance.

    To configure a PW APS instance on PE1 and bind a PW protection group to the instance, see Configuring a PW APS Instance and Bind a PW Protection Group to the PW APS Instance.

  • Configure E-PW APS instances and bind a PW protection group to each E-PW APS instance.

    Perform the following steps on PE2 and PE3.

    1. Run system-view

      The system view is displayed.

    2. Run pw-aps aps-id

      A PW APS instance is created.

    3. (Optional) Run description text

      A description is configured for the PW APS instance.

    4. Run role { master | slave }

      A master or slave role is configured for the PW APS instance.

      Specify the role as slave for the PW APS instance on PE2 and as master for the PW APS instance on PE3.

    5. Run remote-aps remoteApsId

      A remote number is configured for the PW APS instance.

      The remote number of the master PW APS instance must be the number of the slave PW APS instance, and the remote number of the slave PW APS instance must be the number of the master PW APS instance.

    6. Run quit

      Return to the system view.

    7. Run interface interface-type interface-number

      The AC interface view is displayed.

    8. Run mpls l2vpn pw-aps aps-id { admin | reference }

      The PW protection group is bound to the PW APS instance.

    9. Run quit

      Return to the system view.

    10. Run commit

      The configuration is committed.

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