< Home

(Optional) Enabling Further Route Matching Against a Specified Node

Context

The relationship among the matching rules of nodes in the same route-policy is OR. Specifically, if a route matches a node, it matches the route-policy and is no longer matched against other nodes. If you want the route to be matched against two or more nodes, run the goto next-node command so that the route is further matched against a specified node after the route matches the current node.

Procedure

  1. Run system-view

    The system view is displayed.

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

    The route-policy view is displayed.

  3. Run goto next-node [ node ]

    The route-policy is configured to further match routes against a specified node after the routes match the current node.

    • If node is not specified in the command, the route will be further matched against the next node of the current node by default.
    • If the node specified in the command does not exist, the route will be further matched against the next node of the specified node by default. If the next node of the specified node does not exist either, the route fails to match the route-policy, and no apply clause will be applied to the route.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >