No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Configuration Guide - VPN 01

NE05E and NE08E V300R003C10SPC500

This is NE05E and NE08E V300R003C10SPC500 Configuration Guide - VPN
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring PW Status Negotiation

Configuring PW Status Negotiation

In PW redundancy in Independent mode, the master/backup status of the local PE is determined by the status of signaling sent from the remote PE.

Context

When PW redundancy in Independent mode is used and CEs are asymmetrically connected to PEs, the master/backup status of the local PE is determined by the status of signaling sent from the remote PE, and the master/backup status of the ACs is determined by the E-Trunk status.

Procedure

  1. Configure Eth-Trunk interfaces.

    Perform the following steps on a CE and the PEs to which the CE is dual-homed:

    1. Run:

      system-view

      The system view is displayed.

    2. Run:

      interface eth-trunk trunk-id

      An Eth-Trunk interface is created.

    3. (Optional) Run:

      portswitch

      The Eth-Trunk interface is switched to Layer 2 mode.

      This command is needed only on CEs. Eth-Trunk sub-interfaces on PEs are AC interfaces for service PWs.

    4. Run:

      mode lacp-static

      The working mode of the Eth-Trunk interface is configured as the static LACP mode.

      By default, an Eth-Trunk interface works in load balancing mode.

    5. (Optional) Run:

      port trunk allow-pass vlan { { vlan-id1 [ to vlan-id2 ] } &<1-10> | all }

      The Eth-Trunk interface is configured to allow packets with specified VLAN tags to pass through.

      This command is needed only on CEs, and the specified VLANs must be configured on the CEs.

    6. Run:

      trunkport interface-type interface-number

      An interface is added to the Eth-Trunk interface.

    7. Run:

      quit

      Return to the system view.

    8. Run:

      commit

      The configuration is committed.

  2. Configure an E-Trunk.

    Perform the following steps on the PEs to which a CE is dual-homed:

    1. Run:

      lacp e-trunk system-id mac-address

      An E-Trunk LACP system ID is configured.

      mac-address is in the format of H-H-H and cannot be all 0s or Fs. By default, the LACP E-Trunk system ID in the system view is the bridge MAC address..

      The LACP system IDs of the master and backup devices in an E-Trunk must be the same.

    2. Run:

      lacp e-trunk priority priority

      An E-Trunk LACP priority is configured.

      priority is an integer ranging from 0 to 65535. The default value is 32768. The smaller the LACP priority value, the higher the priority.

      The LACP priorities of the master and backup devices in an E-Trunk must be the same.

    3. Run:

      e-trunk e-trunk-id

      An E-Trunk is created.

      e-trunk-id is an integer ranging from 1 to 16.

    4. Run:

      priority priority

      A priority is configured for the E-Trunk.

      priority is an integer ranging from 1 to 254. The default value is 100. The smaller the priority value, the higher the priority.

    5. Run:

      peer-address peer-ip-address source-address source-ip-address

      The local and peer IP addresses are configured.

    6. Run:

      quit

      Return to the system view.

    7. Run:

      interface eth-trunk trunk-id

      The Eth-Trunk interface view is displayed.

    8. Run:

      e-trunk e-trunk-id

      The Eth-Trunk interface is added to the E-Trunk.

    9. Run:

      quit

      Return to the system view.

    10. Run:

      commit

      The configuration is committed.

  3. Bind BFD to the E-Trunk.

    Perform the following steps on the PEs to which a CE is dual-homed:

    1. Run:

      bfd bfd-name bind peer-ip peer-ip [ interface interface-type interface-number ] [ source-ip source-ip ]

      A BFD session is created.

      bfd-name specifies a BFD configuration name. The value is a string of 1 to 15 characters.

      interface interface-type interface-number specifies the Layer 3 outbound interface on which a BFD session is created.

      The local and peer IP addresses bound to a BFD session must be the same as the local and peer IP addresses configured for the E-Trunk.

    2. Run:

      discriminator local discr-value

      A local BFD session discriminator is configured.

    3. Run:

      discriminator remote discr-value

      A remote BFD session discriminator is configured.

      discr-value specifies a BFD session discriminator. The value is an integer ranging from 1 to 8191.

      The local BFD session discriminator on one end must be the remote BFD session discriminator on the other end. Otherwise, the BFD session cannot be established. In addition, the local and remote BFD session discriminators cannot be modified after being configured.

    4. Run:

      commit

      The configuration is committed.

    5. Run:

      quit

      Return to the system view.

    6. Run:

      e-trunk e-trunk-id

      The E-Trunk view is displayed.

    7. Run:

      e-trunk track bfd-session session-name bfd-session-name

      The BFD session is bound to the E-Trunk.

    8. Run:

      commit

      The configuration is committed.

Translation
Download
Updated: 2019-01-14

Document ID: EDOC1100058925

Views: 37247

Downloads: 61

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next