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

AR Router Troubleshooting Guide

This Product Documentation provides guidance for maintaining AR Enterprise Router, covering common information collection and fault diagnostic commands, typical fault troubleshooting guide, and troubleshooting.
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).
How to Configure a Route Preference

How to Configure a Route Preference

Procedure

  • Set the preference of a static route to 10.

    <Huawei> system-view
    [Huawei] ip route-static 192.168.2.0 255.255.255.0 192.168.1.1 preference 10
  • Set the preference of routes in OSPF process 100 to 150.

    <Huawei> system-view
    [Huawei] ospf 100
    [Huawei-ospf-100] preference 150

More Information

  • External and internal preferences are defined on routers. External preferences are manually configured for routing protocols. Table 29-61 lists default external preferences of routing protocols.

    Table 29-61  Default external preferences of routing protocols

    Routing Protocol Type

    Routing Protocol External Preference

    Direct

    0

    OSPF

    10

    IS-IS

    15

    Static

    60

    RIP

    100

    OSPF ASE

    150

    OSPF NSSA

    150

    IBGP

    255

    EBGP

    255

    NOTE:

    The value 0 indicates direct routes, and the value 255 indicates routes learned from unreliable sources. A smaller value indicates a higher preference.

    External preferences of all routing protocols except direct routes can be manually configured.

  • Internal preferences of routing protocols cannot be manually configured. Table 29-62 lists internal preferences of routing protocols.

    Table 29-62  Internal preferences of routing protocols

    Routing Protocol Type

    Routing Protocol Internal Preference

    Direct

    0

    OSPF

    10

    IS-IS Level-1

    15

    IS-IS Level-2

    18

    Static

    60

    RIP

    100

    OSPF ASE

    150

    OSPF NSSA

    150

    IBGP

    200

    EBGP

    20

NOTE:

When selecting the optimal route, the system compares external preferences of routes and then internal preferences if these routes have the same external preference.

Translation
Download
Updated: 2019-05-10

Document ID: EDOC1000079719

Views: 447706

Downloads: 4305

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