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

S7700 and S9700 V200R011C10

This document describes IP Unicast Routing configurations supported by the switch, including the principle and configuration procedures of IP Routing Overview, Static Route, RIP, RIPng, OSPF, OSPFv3, IS-IS(IPv4), IS-IS(IPv6), BGP, Routing Policy ,and PBR, and provides 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).
Creating a Routing Policy

Creating a Routing Policy


A routing policy can consist of multiple matching rules and actions.

You must set at least one node to the permit mode in a routing policy; otherwise, all routes are filtered out.


  1. Run system-view

    The system view is displayed.

  2. Run route-policy route-policy-name { permit | deny } node node

    A routing policy is created, and the routing policy view is displayed.

    When a routing policy is used to filter a route, the route is matched with nodes in the routing policy in ascending order of node ID. Therefore, a route is first matched with the node with the smallest node ID. If a route matches a node in the routing policy, the system does not continue to match it with other nodes. If a route fails to match all the nodes in the routing policy, the route is filtered out.

  3. (Optional) Run description text

    The description of the routing policy is configured.


By default, the system does not allow a nonexistent route-policy to be specified in a command. To enable the system to allow a nonexistent route-policy to be specified in a command, run the route-policy nonexistent-config-check disable command.

Updated: 2019-10-18

Document ID: EDOC1000178324

Views: 273490

Downloads: 222

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next