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


To have a better experience, please upgrade your IE browser.


NE40E V800R010C10SPC500 Configuration Guide - IP Multicast 01

This is NE40E V800R010C10SPC500 Configuration Guide - IP Multicast
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).
Setting the Local_Pref Attribute for MBGP Routes

Setting the Local_Pref Attribute for MBGP Routes

The Local_Pref attribute has the same function as the preferred value of a route. If both of them are configured for an MBGP route, the preferred value takes precedence over the Local_Pref attribute.


The Local_Pref attribute determines the optimal route for the traffic that leaves an AS. If an MBGP device obtains multiple routes from different IBGP peers and these routes have different next hops to the same destination, the MBGP device will select the route with the largest Local_Pref value.

Perform the following steps on the router that is configured as an MBGP peer:


This configuration is optional. By default, the Local-Pref attribute value of an MBGP route is 100.


  1. Run system-view

    The system view is displayed.

  2. Run bgp as-number

    The BGP view is displayed.

  3. Run ipv4-family multicast

    The BGP-IPv4 multicast address family view is displayed.

  4. Run default local-preference preference-value

    The Local_Pref attribute is set for the local device.

  5. Run commit

    The configuration is committed.

Updated: 2019-01-03

Document ID: EDOC1100055017

Views: 39829

Downloads: 97

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