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

CloudEngine 12800 and 12800E V200R005C10

This document describes the configurations of VPN, including GRE, BGP/MPLS IP VPN, BGP/MPLS IPv6 VPN, VLL, PWE3, and VPLS.
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 VPN Instances on PE Devices

Configuring VPN Instances on PE Devices

Context

Configure VPN instances on each Spoke-PE device and the Hub-PE device. This section provides only the mandatory configuration for a VPN instance. For the optional configuration of a VPN instance, see Configuring a VPN Instance on a PE Device in the Configuring Basic BGP/MPLS IP VPN Functions.

Procedure

  • Configuring VPN instances on the Hub-PE device

    Configure the following two VPN instances on the Hub-PE device:

    • VPN-in: accepts and maintains all the VPNv4 routes advertised by all the Spoke-PE devices.

    • VPN-out: maintains the routes of the Hub site and all the Spoke sites and advertises these routes to all the Spoke-PE devices.

    1. Run system-view

      The system view is displayed.

    2. Run ip vpn-instance VPN-in

      The VPN-in instance is created and the VPN-in instance view is displayed.

    3. Run ipv4-family

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

    4. Run route-distinguisher route-distinguisher

      The RD of the VPN-in instance IPv4 address family is configured.

    5. Run vpn-target vpn-target1 &<1-8> import-extcommunity

      The VPN target extended community for the VPN-in instance IPv4 address family is created to import the VPNv4 routes advertised by all the Spoke-PE devices.

      vpn-target1 lists the export VPN targets advertised by all the Spoke-PE devices.

    6. Run quit

      The VPN instance view is displayed.

    7. Run quit

      Return to the system view.

    8. Run ip vpn-instance VPN-out

      The VPN-out instance is created and the VPN-out instance view is displayed.

    9. Run ipv4-family

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

    10. Run route-distinguisher route-distinguisher

      The RD of the VPN-out instance IPv4 address family is configured.

    11. Run vpn-target vpn-target2 &<1-8> export-extcommunity

      The VPN target extended community for the VPN-out instance IPv4 address family is created to advertise the routes of all the Hub sites and Spoke sites.

      vpn-target2 lists the import VPN targets advertised by all the Spoke-PE devices.

    12. Run commit

      The configuration is committed.

  • Configuring a VPN instance on each Spoke-PE device

    Every Spoke-PE device needs to be configured with a VPN instance.

    1. Run system-view

      The system view is displayed.

    2. Run ip vpn-instance VPN-in

      The VPN instance view of VPN-in is displayed.

    3. Run ipv4-family

      The VPN instance IPv4 address family view is displayed.

    4. Run route-distinguisher route-distinguisher

      The RD of the VPN-in instance is configured.

    5. Run vpn-target vpn-target2 &<1-8> import-extcommunity

      The VPN target extended community is configured for the VPN instance IPv4 address family to receive the VPNv4 routes advertised by the Hub-PE device.

      vpn-target2 must be in the export VPN target list configured on the Hub-PE device.

    6. Run vpn-target vpn-target1 &<1-8> export-extcommunity

      The VPN target extended community is configured for the VPN instance IPv4 address family to advertise the routes of Spoke sites.

      vpn-target1 must be in the import VPN target list configured on the Hub-PE device.

    7. Run commit

      The configuration is committed.

Translation
Download
Updated: 2019-04-03

Document ID: EDOC1100075353

Views: 13991

Downloads: 25

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