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 the Level 1 Carrier CE to Access the Level 1 Carrier PE (Inter-AS)

Configuring the Level 1 Carrier CE to Access the Level 1 Carrier PE (Inter-AS)

When the first carrier and the second carrier are in different ASs, the second carrier functions as the VPN user of the first carrier, the same as the CE of the PE in the basic BGP/MPLS IP VPN.

Procedure

  • Create the VPN instance on a Level 1 carrier PE.
    1. Run system-view

      The system view is displayed.

    2. Run ip vpn-instance vpn-instance-name

      The VPN instance is created, and the VPN instance view is entered.

    3. Run ipv4-family

      The IPv4 address family is enabled for the VPN instance and the VPN instance IPv4 address family view is displayed.

    4. Run route-distinguisher route-distinguisher

      The RD of the VPN instance is configured.

    5. Run vpn-target vpn-target & <1-8> [ both | export-extcommunity | import-extcommunity ]

      The VPN target of the VPN instance is configured.

    6. Run quit

      Return to the system view.

    7. Run interface interface-type interface-number

      The view of the interface connecting the Level 1 carrier CE is displayed.

    8. Run ip binding vpn-instance vpn-instance-name

      The interface is associated with the VPN instance.

    9. Run ip address ip-address { mask | mask-length }

      An IP address is assigned for the interface.

    10. Run mpls

      The MPLS function is enabled.

    11. Run commit

      The configuration is committed.

  • Configure the labeled BGP on a Level 1 carrier PE.
    1. Run system-view

      The system view is displayed.

    2. Run route-policy route-policy-name permit node node

      The routing policy of the Level 1 carrier CE is created.

    3. Run apply mpls-label

      Labels are distributed to IPv4 routes.

    4. Run quit

      Return to the system view.

    5. Run bgp as-number1

      The BGP view is displayed.

    6. Run ipv4-family vpn-instance vpn-instance-name

      The BGP VPN instance view is displayed.

    7. Run peer ipv4-address as-number as-number2

      The EBGP peer of the Level 1 carrier CE is specified.

    8. Run peer ipv4-address label-route-capability

      The function of labeled IPv4 routes exchange is enabled.

    9. Run peer ipv4-address route-policy route-policy-name export

      Labels are distributed to routes advertised to the Level 1 carrier CE.

    10. Run commit

      The configuration is committed.

  • On a Level 1 carrier CE, configure the labeled BGP to a Level 1 carrier PE.
    1. Run system-view

      The system view is displayed.

    2. Run interface interface-type interface-number

      The view of the interface connecting the Level 1 carrier PE is displayed.

    3. Run ip address ip-address { mask | mask-length }

      An IP address is assigned for the interface.

    4. Run mpls

      The MPLS function is enabled on the interface.

    5. Run quit

      Return to the system view.

    6. Run route-policy route-policy-name1 permit node node

      The routing policy for the Level 1 carrier PE is created.

    7. Run apply mpls-label

      Labels are distributed for IPv4 routes.

    8. Run quit

      Return to the system view.

    9. Run bgp as-number2

      The BGP view is displayed.

    10. Run peer ipv4-address as-number as-number1

      The Level 1 carrier PE is configured as the EBGP peer.

    11. Run peer ipv4-address label-route-capability

      The function of labeled IPv4 route exchange is enabled.

    12. Run peer ipv4-address route-policy route-policy-name1 export

      Labels are distributed for the routes advertised to the Level 1 carrier PE.

    13. (Optional) Run peer ip-address allow-as-loop [ number ]

      The routing loop is permitted.

      NOTE:
      This step is mandatory when Level 1 carriers and Level 2 carriers are not in the same AS but Level 2 carriers are in the same AS.

    14. Run commit

      The configuration is committed.

Translation
Download
Updated: 2019-01-14

Document ID: EDOC1100058925

Views: 33637

Downloads: 59

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