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 01

NE05E and NE08E V300R003C10SPC500

This is NE05E and NE08E V300R003C10SPC500 Configuration Guide - VPN
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 Reflection for BGP VPNv6 Routes

Configuring Route Reflection for BGP VPNv6 Routes

Using a BGP VPNv6 RR can reduce the number of MP-IBGP connections between PEs. The RR not only reduces the burden on PEs, but also facilitates network maintenance and management.

Usage Scenario

A BGP speaker does not advertise the routes learned from an IBGP peer to other IBGP peers. To enable a PE to advertise the routes of the VPN that the PE accesses to BGP VPNv6 peers in the same AS, the PE must establish IBGP connections with all peers to directly exchange IPv6 VPN routing information. In other words, MP-IBGP peers must be fully meshed. If there are n PEs (including ASBRs) in an AS, n(n-1)/2 MP-IBGP peer relationships need to be established. A large number of IBGP peers consume a great number of network resources.

To resolve this issue, use an RR to reflect routes. In an AS, one device serves as an RR to reflect VPNv6 routes; the other PEs and ASBRs serve as RR clients. An RR can be a P, PE, ASBR, or other type of device.

Pre-configuration Tasks

Before configuring route reflection to optimize the VPN backbone layer, complete the following tasks:
  • Configure a routing protocol on the MPLS backbone network for IP connectivity.

  • Establish LSPs or MPLS TE tunnels between the RR and all PEs serving as clients.

  • Configure the extended community attribute if a reflection policy needs to be applied to VPNv6 routes.

Configuration Procedures

Figure 6-6 Flowchart for configuring route reflection for BGP VPNv6 routes

Configuring a Client PE to Establish an MP-IBGP Peer Relationship with the RR

You can configure a PE to establish an MP-IBGP peer relationship with an RR so that the PE can receive VPNv6 routes reflected by the RR.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run bgp as-number

    The BGP view is displayed.

  3. Run peer peer-ipv4-address as-number as-number

    The RR is specified as a BGP peer.

  4. Run peer peer-ipv4-address connect-interface interface-type interface-number

    The interface used to establish a TCP connection is specified.

  5. Run ipv6-family vpnv6

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

  6. Run peer peer-ipv4-address enable

    The function to exchange VPNv6 routes with the RR is enabled on the PE.

  7. Run commit

    The configuration is committed.

Configuring the RR to Establish MP-IBGP Peer Relationships with All Client PEs

You can configure an RR to establish MP-IBGP connections with all its client PEs to reflect VPNv6 routes.

Context

Choose either of the following methods to configure the RR to establish MP-IBGP peer relationships with the client PEs.

Procedure

  • Configure the RR to establish an MP-IBGP peer relationship with a peer group.

    Add all the client PEs to a peer group and establish an MP-IBGP connection with the peer group.

    1. Run system-view

      The system view is displayed.

    2. Run bgp as-number

      The BGP view is displayed.

    3. Run group group-name [ internal ]

      An IBGP peer group is created.

    4. Run peer group-name connect-interface interface-type interface-number

      The interface used to establish a TCP connection is specified.

    5. Run ipv6-family vpnv6

      The BGP-VPNv6 address family view is displayed.

    6. Run peer group-name enable

      The function to exchange BGP IPv6 VPN routes between the RR and the peer group is enabled.

    7. Run peer ip-address group group-name

      The peer is added to the peer group.

    8. Run commit

      The configuration is committed.

  • Configure the RR to establish an MP-IBGP peer relationship with each client PE.

    Perform Step 1 to Step 6 repeatedly on the RR to establish an MP-IBGP connection between the RR and each client PE.

    1. Run system-view

      The system view is displayed.

    2. Run bgp as-number

      The BGP view is displayed.

    3. Run peer peer-ipv4-address as-number as-number

      The client PE is specified as a BGP peer.

    4. Run peer peer-ipv4-addressconnect-interface interface-type interface-number

      The interface used to establish a TCP connection is specified.

    5. Run ipv6-family vpnv6

      The BGP-VPNv6 address family view is displayed.

    6. Run peer peer-ipv4-address enable

      The function to exchange BGP IPv6 VPN routes between the RR and the client PE is enabled.

    7. Run commit

      The configuration is committed.

Establishing Route Reflection for BGP VPNv6 Routes

This section describes how to configure route reflection for BGP VPNv6 routes so that the RR can reflect the VPNv6 routes received from a client PE to other client PEs.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run bgp as-number

    The BGP view is displayed.

  3. Run ipv6-family vpnv6

    The BGP-VPNv6 address family view is displayed.

  4. Run either of the following commands:

    • To enable route reflection if the RR has established an MP-IBGP connection with a peer group consisting of all the client PEs, run:

      peer { group-name | peer-ipv4-address } reflect-client
    • To enable route reflection if the RR has established an MP-IBGP connection with each client PE rather than a peer group, run the following commands repeatedly:

      peer peer-ipv4-address reflect-client

  5. Run undo policy vpn-target

    The function to filter received VPNv6 routes based on VPN targets is disabled.

  6. (Optional) Run rr-filter extcomm-filter-number

    A reflection policy is configured for the RR.

    To allow an RR to filter routes to be reflected, run the rr-filter command. Only IBGP routes of which the RT extended community attribute matches the reflection policy can be reflected.

  7. Run commit

    The configuration is committed.

Verifying the Configuration of Route Reflection for BGP VPNv6 Routes

After configuring route reflection for BGP VPNv6 routes, check information about VPNv6 peers and VPNv6 routes on the RR or its client PEs.

Prerequisites

Route reflection for BGP VPNv6 routes has been configured.

Procedure

  • Run the display bgp vpnv6 all peer [ [ ipv4-address ] verbose ] command on the RR or a client PE to check information about BGP VPNv6 peers.
  • Run the display bgp vpnv6 all routing-table peer peer-ipv4-address { advertised-routes | received-routes } [ statistics ] command on the RR or a client PE to check VPNv6 routes received from the peer or advertised to the peer.
  • Run the display bgp vpnv6 all group [ group-name ] command on the RR to check information about the VPNv6 peer group.

Example

Run the display bgp vpnv6 all peer command on the RR or a client PE. The command output shows that the status of the MP-IBGP connections between the RR and all client PEs is Established.

<HUAWEI> display bgp vpnv6 all peer

 BGP local router ID : 2.2.2.9
 Local AS number : 100
 Total number of peers : 2                 Peers in established state : 2

  Peer            V          AS  MsgRcvd  MsgSent  OutQ  Up/Down       State PrefRcv

  1.1.1.9         4         100     1263     1530     0 19:46:01 Established   1
  3.3.3.9         4         100     1170     1109     0 17:50:26 Established   1

Run the display bgp vpnv6 all routing-table peer command on the RR or a client PE. The command output shows that the RR and each client PE can send and receive VPNv6 routing information between each other.

If a peer group is configured, run the display bgp vpnv6 all group command on the RR. The command output shows information about the group members and the status of the BGP peer relationships between the RR and group members is Established.

Translation
Download
Updated: 2019-01-14

Document ID: EDOC1100058925

Views: 36439

Downloads: 61

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