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

ME60 V800R010C10SPC500 Configuration Guide - IP Routing 01

This is ME60 V800R010C10SPC500 Configuration Guide - IP Routing
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).
Enabling the Device to Iterate BGP IPv6 Unicast Routes to Tunnels

Enabling the Device to Iterate BGP IPv6 Unicast Routes to Tunnels

By default, BGP IPv6 unicast routes can be iterated to outbound interfaces and next hops, but not to tunnels. A device can be enabled to iterate BGP IPv6 unicast routes to tunnels.

Usage Scenario

On the IPv4/MPLS backbone network shown in Figure 11-8, PE1, P and PE2 run an IGP for interworking, an LDP LSP or MPLS TE tunnel is established between PE1 and PE2, and an IPv6 EBGP peer relationship is established between CE1 and PE1 and between CE2 and PE2. In addition, an IBGP peer relationship is established between PE1 and PE2 using their loopback interface IP addresses, and PE1 and PE2 are enabled to exchange BGP IPv6 unicast routes in the BGP-IPv4 unicast address family view. CE1 sends an IPv6 route to PE1 through the EBGP peer connection. Upon receipt of the route, PE1 changes the next-hop IP address of the route to a local IP address and sends the route to PE2 through the IBGP peer connection. After PE2 learns the IPv6 route, it can iterate the route only to an outbound interface and next hop by default. However, PE2 can be enabled to iterate BGP IPv6 unicast routes to tunnels.

Figure 11-8 Scenario where BGP IPv6 unicast routes are iterated to tunnels

Pre-configuration Tasks

Before enabling the device to iterate BGP IPv6 unicast routes to tunnels, complete the following tasks:

  • Configure an IGP.

  • Establish an LDP LSP or MPLS TE tunnel between PE1 and PE2.

  • Establish an IBGP peer relationship between PE1 and PE2 using their loopback interface IP addresses, and enable PE1 and PE2 to exchange BGP IPv4 unicast routes in the BGP-IPv6 unicast address family view.

Procedure

  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 ipv6-family unicast

    The BGP-IPv6 unicast address family view is displayed.

  4. Run unicast-route recursive-lookup tunnel-v4 [ tunnel-selector tunnel-selector-name ]

    The device is enabled to iterate BGP IPv6 unicast routes to tunnels.

    To enable the device to iterate BGP IPv6 unicast routes to MPLS TE tunnels, specify tunnel-selector tunnel-selector-name in the command.

  5. Run commit

    The configuration is committed.

Checking the Configurations

After the device is enabled to iterate BGP IPv6 unicast routes to tunnels, you can run the display bgp ipv6 routing-table ipv6-address command to view route iteration information.

# Run the display bgp ipv6 routing-table ipv6-address command. The command output shows that a BGP IPv6 unicast route has been iterated to a tunnel outbound interface.

<HUAWEI> display bgp ipv6 routing-table 1::10
 BGP local router ID : 1.2.0.1
 Local AS number : 100
 Paths:   1 available, 1 best, 1 select, 0 best-external, 0 add-path
 BGP routing table entry information of 1::10/128:
 From: 3.3.3.3 (3.4.0.1)  
 Route Duration: 0d00h00m08s
 Relay IP Nexthop: ::
 Relay IP Out-Interface: 
 Relay Tunnel Out-Interface: GigabitEthernet1/0/0
 Original nexthop: ::FFFF:3.3.3.3
 Qos information : 0x0            
 AS-path Nil, origin incomplete, MED 0, localpref 100, pref-val 0, valid, internal, best, select, pre 255
 Not advertised to any peer yet
Translation
Download
Updated: 2019-01-04

Document ID: EDOC1100059437

Views: 20719

Downloads: 15

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