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 Route Exchange Between PE and CE Devices

Configuring Route Exchange Between PE and CE Devices

Context

The Hub-PE and Hub-CE devices can use IGP or EBGP to exchange routing information. If they use EBGP, you must configure the Hub-PE device to allow repeated local AS numbers.

As shown in Figure 2-36, the routing information advertised by a Spoke-CE device is forwarded to the Hub-CE and Hub-PE devices before being transmitted to other Spoke-PE devices. If EBGP runs between the Hub-PE and Hub-CE devices, the Hub-PE device performs the AS-Loop detection on the route. If the Hub-PE device detects its own AS number in the route, it discards the route. In this case, to implement Hub and Spoke networking, the Hub-PE device must be configured to permit the existence of repeated local AS numbers.
Figure 2-36 EBGP running between the Hub-CE and Hub-PE devices

Procedure

  • Configuring EBGP between the Hub-PE and Hub-CE devices

    For detailed configuration procedures, see Configuring a Routing Protocol Between PE device and CE in the Configuring Basic BGP/MPLS IP VPN Functions.

    The Spoke-PE and Spoke-CE devices can use EBGP, IGP, or static routes.

    To set up an EBGP peer relationship between the Hub-PE and Hub-CE devices and between a Spoke-PE device and a Spoke-CE device, perform the following steps on the Hub-PE device:

    1. Run system-view

      The system view is displayed.

    2. Run bgp { as-number-plain | as-number-dot }

      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 peer ip-address allow-as-loop [ number ]

      The Hub-PE is configured to allow the routing loop. Here, the value of number is set as 1, which means the route with the AS number repeated once can be sent.

    5. Run commit

      The configuration is committed.

  • Configuring an IGP between the Hub-PE and Hub-CE devices

    For detailed configuration procedures, see Configuring a Routing Protocol Between PE and CE in the Configuring Basic BGP/MPLS IP VPN Functions.

    Only IGP or static routes can be used between the Spoke-PE and Spoke-CE devices. BGP may cause route flapping between these devices.

  • Configuring static routes between the Hub-PE and the Hub-CE devices

    For detailed configuration procedures, see Configuring a Routing Protocol Between PE device and CE in the Configuring Basic BGP/MPLS IP VPN Functions.

    EBGP, IGP, or static routes can be used between the Spoke-PE and the Spoke-CE devices.

    If the Hub-CE device uses the default route to access the Hub-PE device, perform the following steps on the Hub-PE device to advertise the default route to all the Spoke-PE devices:

    1. Run system-view

      The system view is displayed.

    2. Run ip route-static vpn-instance vpn-source-name 0.0.0.0 0.0.0.0 nexthop-address [ preference preference | tag tag ]* [ description text ]

      A static route is configured for the VPN instance.

      Here, vpn-instance-name refers to the VPN-out. nexthop-address is the IP address of the Hub-CE interface that is connected with the PE device interface bound with the VPN-out instance.

    3. Run bgp { as-number-plain | as-number-dot }

      The BGP view is displayed.

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

      The BGP-VPN instance IPv4 address family view is displayed. vpn-instance-name refers to the VPN-out instance.

    5. Run network 0.0.0.0 0

      The default route is advertised to all the Spoke-PE devices through MP-BGP.

    6. Run commit

      The configuration is committed.

Translation
Download
Updated: 2019-04-03

Document ID: EDOC1100075353

Views: 14618

Downloads: 25

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