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

CLI-based Configuration Guide - IP Unicast Routing

AR100, AR120, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 V200R010

This document describes the concepts and configuration procedures of IP Service features on the device, and provides the configuration examples.
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 BGP to Ignore the Metric Value of the Next-Hop IGP Route When Selecting the Optimal Route

Configuring BGP to Ignore the Metric Value of the Next-Hop IGP Route When Selecting the Optimal Route

Context

On a BGP network, the BGP device always receives multiple routes with the same prefix but to different paths from neighbors. BGP must select the optimal route to the specified prefix to guide packet forwarding. By default, BGP compares the next-hop IGP route metric values of these routes and selects the route with the smallest metric value as the optimal route. For detailed BGP route selection rules, see BGP Route Selection Rules and Load Balancing.

To customize route selection policies, you can run the bestroute igp-metric-ignore command to configure BGP to ignore the metric value of the next-hop IGP route when selecting the optimal route.

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. Enter an address family view based on the network type, and configure the BGP device on the network.

    • Run the ipv4-family { unicast | multicast } command to enter the IPv4 address family view.

    • Run the ipv6-family [ unicast ] command to enter the IPv6 address family view.

  4. Run bestroute igp-metric-ignore

    BGP is configured to ignore the metric value of the next-hop IGP route when selecting the optimal route.

Translation
Download
Updated: 2019-05-20

Document ID: EDOC1100034072

Views: 109766

Downloads: 155

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