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.


CLI-based Configuration Guide - IP Unicast Routing

AR100, AR120, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 V200R009

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.

Updated: 2019-12-27

Document ID: EDOC1000174069

Views: 189044

Downloads: 316

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next