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

S12700 V200R011C10 Configuration Guide - VPN

This document describes the VPN configuration procedures and provides configuration examples.
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 PEs

Configuring VPN instances on PEs

Context

Configure the VPN instance on each Spoke-PE and Hub-PE. This section provides only the mandatory configuration for a VPN instance. For the optional configuration of a VPN instance, see Configuring VPN Instances on PEs.

Procedure

  • Configure a VPN instance on the Hub-PE.

    Each Hub-PE is configured with the following two VPN instances:

    • VPN-in: receives and maintains all the VPNv6 routes advertised by all the Spoke-PEs.

    • VPN-out: maintains the routes of all the Hub stations and Spoke stations and advertises those routes to all the Spoke-PEs.

    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 ipv6-family

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

    4. Run route-distinguisher route-distinguisher

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

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

      The VPN target extended community for the VPN-in instance IPv6 address family is created to import the IPv6 routes advertised by all the Spoke-PEs.

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

    6. Run quit

      Return to the VPN instance view.

    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 ipv6-family

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

    10. Run route-distinguisher route-distinguisher

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

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

      The VPN target extended community for the VPN-out instance IPv6 address family is created to advertise the routes of all the Hubs and Spokes.

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

  • Configure the Spoke-PE.

    Every Spoke-PE is configured with a VPN instance.

    1. Run system-view

      The system view is displayed.

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

      The VPN instance view of VPN-in is displayed.

    3. Run ipv6-family

      The VPN instance IPv6 address family view is displayed.

    4. Run route-distinguisher route-distinguisher

      The RD of the VPN instance IPv6 address family is configured.

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

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

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

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

      The VPN target extended community is configured for the VPN instance IPv6 address family to advertise the routes of the sites the Spoke-PEs access.

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

Translation
Download
Updated: 2019-04-01

Document ID: EDOC1000178118

Views: 158280

Downloads: 159

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