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 IPv4 Route Import Between VPN Instances

Configuring IPv4 Route Import Between VPN Instances

Context

IPv4 route import between VPN instances enables users in different VPNs to communicate with each other.

Perform the following steps for target VPN 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

  • Configure the device to import IPv4 direct routes, static routes, or IGP routes from one VPN instance to another VPN instance.
    1. Run system-view

      The system view is displayed.

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

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

    3. Run ipv4-family

      The VPN instance IPv4 address family view is displayed.

    4. Configure the device to import different types of IPv4 routes from the specified VPN instance to the routing table of the current VPN instance.

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

        The device is enabled to import IPv4 direct routes from the specified VPN instance to the routing table of the current VPN instance.

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

        The device is enabled to import IPv4 static routes or IGP routes from the specified VPN instance to the routing table of the current VPN instance.

    5. Run commit

      The configuration is committed.

  • Configure the device to import IPv4 BGP routes from one VPN instance to the BGP routing table of the specified VPN instance.
    1. Run system-view

      The system view is displayed.

    2. Run bgp as-number

      The BGP view is displayed.

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

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

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

      The device is enabled to import IPv4 BGP routes from a VPN instance to the BGP routing table of the specified VPN instance.

    5. Run commit

      The configuration is committed.

Translation
Download
Updated: 2019-04-03

Document ID: EDOC1100075353

Views: 14221

Downloads: 25

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