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 - IP Unicast Routing

CloudEngine 8800, 7800, 6800, and 5800 V200R005C10

This document describes the configurations of IP Unicast Routing, including IP Routing, Static Route, RIP, RIPng, OSPF, OSPFv3, IPv4 IS-IS, IPv6 IS-IS, BGP, Routing Policy, and PBR.
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 the PrefVal Attribute

Configuring the PrefVal Attribute

Context

The PrefVal attribute is a Huawei proprietary attribute and is valid only on the device where it is configured. When a BGP routing table contains multiple routes to the same destination, BGP prefers the route with the highest PrefVal.

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 the corresponding address family view based on network type to configure BGP devices on networks.

    • Run ipv4-family unicast

      The BGP-IPv4 unicast address family view is displayed.

    • Run ipv4-family multicast

      The BGP-IPv4 multicast address family view is displayed.

    • Run ipv4-family vpnv4 [ unicast ]

      The BGP-VPNv4 address family view is displayed.

    • Run ipv4-family vpn-instance vpn-instance-name

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

    • Run ipv6-family [ unicast ]

      The BGP-IPv6 unicast address family view is displayed.

    • Run ipv6-family vpnv6 [ unicast ]

      The BGP-VPNv6 address family view is displayed.

    • Run ipv6-family vpn-instance vpn-instance-name

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

  4. Run peer { group-name | ipv4-address | ipv6-address } preferred-value value

    The PrefVal attribute is configured for all the routes learned from a specified peer.

    By default, the PrefVal of a route learned from a peer is 0.

  5. Run commit

    The configuration is committed.

Translation
Download
Updated: 2019-04-20

Document ID: EDOC1100074760

Views: 45714

Downloads: 58

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