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 IPv6 Route Import Between VPN and Public Network Instances

Configuring IPv6 Route Import Between VPN and Public Network Instances

Context

IPv6 route import between VPN and public network instances enables IPv6 VPN users to communicate with IPv6 public network users.

Perform the following steps for target VPN and public network instances.
NOTE:

To prevent a VPN instance from changing the next hops of imported routes when advertising these routes to its IBGP peers, run the import-rib route next-hop-invariable command for the VPN instance.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Configure the device to import different types of IPv6 VPN routes to the routing tables of a public network instance.

    • Run ipv6 import-rib vpn-instance vpn-instance-name protocol direct [ route-policy route-policy-name ]

      The device is enabled to import IPv6 VPN direct routes to the routing table of a specified protocol type of a public network instance.

    • Run ipv6 import-rib vpn-instance vpn-instance-name protocol { static | isis process-id | ospfv3 process-id } [ valid-route ] [ route-policy route-policy-name ]

      The device is enabled to import static routes or IGP routes of a VPN instance to the corresponding routing table of a public network instance.

    • Configure the device to import BGP4+ routes of a VPN instance to the BGP4+ routing table of a public network instance.
      1. Run bgp as-number

        The BGP view is displayed.

      2. Run ipv6-family unicast

        The BGP-IPv6 unicast address family view is displayed.

      3. Run import-rib vpn-instance vpn-instance-name [ valid-route ] [ route-policy route-policy-name ]

        The device is enabled to import BGP routes of a VPN instance to the BGP routing table of a public network instance.

      4. Run quit

        Return to the BGP view.

      5. Run quit

        Return to the system view.

  3. Configure the device to import different types of IPv6 public network routes to the routing tables of a VPN instance.

    • Configure the device to import direct routes, static routes, or IGP routes of a public network instance to the routing table of a VPN instance.
      1. Run ip vpn-instance vpn-instance-name

        A VPN instance is created and the VPN instance view is displayed.

      2. Run ipv6-family

        The VPN instance IPv6 address family view is displayed.

      3. Configure the device to import different types of IPv6 public network routes to routing tables of a VPN instance.

        • Run import-rib public protocol direct [ route-policy route-policy-name ]

          The device is enabled to import IPv6 public network direct routes to the routing table of a VPN instance.

        • Run import-rib public protocol { static | isis process-id | ospfv3 process-id } [ valid-route ] [ route-policy route-policy-name ]

          The device is enabled to import IPv6 public network static routes or IGP routes to the routing table of a VPN instance.

    • Configure the device to import public network BGP4+ routes to the BGP4+ routing table of a VPN instance.
      1. Run bgp as-number

        The BGP view is displayed.

      2. Run ipv6-family vpn-instance vpn-instance-name

        The BGP-VPN instance IPv6 address family view is displayed.

      3. Run import-rib public [ valid-route ] [ route-policy route-policy-name ]

        The device is enabled to import public network BGP routes to the routing table of a VPN instance.

  4. Run commit

    The configuration is committed.

Translation
Download
Updated: 2019-04-03

Document ID: EDOC1100075353

Views: 14412

Downloads: 25

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