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.


Configuration Guide - IP Unicast Routing

CloudEngine 12800 and 12800E V200R002C50

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).
Application Scenarios for Routing Policies

Application Scenarios for Routing Policies

Filtering Specific Routes

Figure 10-2 shows an OSPF-enabled network where RouterA receives routes from the Internet and advertises some of the routes to RouterB. Networking configurations to consider are as follows:

  • RouterA advertises only routes,, and to RouterB.

  • RouterC accepts only the route

  • RouterD accepts all the routes advertised by RouterB.

Figure 10-2 Networking diagram for filtering received and advertised routes

The following two approaches can be used to meet the preceding network requirements:
  • Use IP prefix lists.

    • Configure an IP prefix list on RouterA and configure the IP prefix list as an export policy of RouterA to be used by OSPF.
    • Configure another IP prefix list on RouterC and configure the IP prefix list as an import policy of RouterC to be used by OSPF.
  • Use routing policies.

    • Configure a routing policy (the matching rules can be the IP prefix list, cost, or route tag) on RouterA and configure this routing policy as an export policy of RouterA to be used by OSPF.
    • Configure another routing policy on RouterC. Configure this routing policy as an import policy of RouterC to be used by OSPF.

    Compared with an IP prefix list, a routing policy allows route attributes to be modified and can be used to control routes more flexibly, but it is more complex to configure.

Transparently Transmitting Routes of Other Protocols Through an OSPF AS

On the network shown in Figure 10-3, an autonomous system (AS) runs OSPF and functions as a transit AS for other areas. Routes from the IS-IS area connected to RouterA need to be transparently transmitted through the OSPF AS to the IS-IS area connected to RouterD.

Figure 10-3 Networking diagram for transparently transmitting routes of other protocols through an OSPF AS

To meet the preceding requirements, configure a routing policy on RouterA to set a tag for the imported IS-IS routes. RouterD then identifies the IS-IS routes from OSPF routes based on the tag.

Updated: 2019-03-21

Document ID: EDOC1000166601

Views: 274211

Downloads: 161

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next