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 Next Hop Iteration for BGP VPNv4 Routes Imported into a VPN Instance

Configuring Next Hop Iteration for BGP VPNv4 Routes Imported into a VPN Instance

Usage Scenario

If you do not want a validity check performed for BGP VPNv4 routes received by BGP, you can configure next hop iteration so that the received BGP VPNv4 routes are iterated to next hops after being imported to a VPN instance.

By default, BGP checks the validity of received BGP VPNv4 routes, for example, whether next hops are reachable. If the validity check of a route fails, the route is inactive and cannot be imported into a VPN instance. To prevent such a check, run the peer private-nexthop command. After this configuration, a BGP VPNv4 route is directly imported into a VPN instance whose import RT is the same as the export RT of the BGP VPNv4 route and becomes a VPN route. Then BGP checks whether the VPN route can be iterated based on the next hop IP address in the VPN instance. If the route is iterated, a VPN forwarding entry is generated for the VPN route.

On the network shown in Figure 2-37, different VPN instances VPNA and VPNB are created on SwitchA. VPNA and VPNB are bound to SwitchA's layer 3 sub-interfaces that connect to Site1 and Site2. The customer wants the controller to send BGP VPNv4 routes whose next hop addresses are private IP addresses of the user sites to SwitchA. Then SwitchA can forward traffic over these routes. To meet this requirement, the peer private-nexthop command can be run on SwitchA. After this configuration is performed, BGP does not verify the BGP VPNv4 routes received by SwitchA, which prevents a reachability check failure from causing the routes to be set to inactive. Instead, BGP VPNv4 routes are directly imported into specific VPN instances if the export RTs of the routes match the import RTs of the VPN instances. For example, BGP VPNv4 routes are imported into VPNA, and the next hop address of the routes is the private address of Site1. After receiving traffic Data A, VPNA forwards the traffic to Site1 through Interface 1.1.

Figure 2-37 Networking of next hop iteration

Pre-configuration Tasks

Before configuring next hop iteration for BGP VPNv4 routes imported into a VPN instance, complete the following tasks:

  • Establish BGP VPNv4 peer relationships.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run bgp as-number

    The BGP view is displayed.

  3. Run ipv4-family vpnv4

    The BGP-VPNv4 address family view is displayed.

  4. Run peer ipv4-address private-nexthop

    Next hop iteration is configured for BGP VPNv4 routes imported into a VPN instance. BGP does not verify the received VPNv4 routes. Instead, the routes are directly imported into a VPN instance if the export RT matches the import RT of the VPN instance. Then the imported routes are iterated based on the next hop IP address.

    By default, BGP checks the validity of received BGP VPNv4 routes, and only the routes that pass the check can be imported into a VPN instance.

  5. Run commit

    The configuration is committed.

Translation
Download
Updated: 2019-04-03

Document ID: EDOC1100075353

Views: 16322

Downloads: 26

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