Each node of a route-policy can comprise a set of if-match, goto next-node and apply clauses.
A route-policy includes various matching rules and hence can meet the requirements of various scenarios. Except ACLs, IP prefix lists, and AS_Path filters, other filters need to be used with a route-policy.
A route-policy is used to match routes or attributes of routes, and to change the attributes when the matching rules are met. The matching rules of a route-policy can use other filters, such as ACLs, IP prefix lists, AS_Path filters, community filters, extended community filters, and RD filters.
A route-policy can consist of multiple nodes, and each node can comprise the following clauses:
if-match clauses: define the matching rules that are used to match certain route attributes. The matching rules are conditions defined by the route-policy against which routes are matched.
apply clauses: specify actions. When a route matches a node, the apply clauses set certain attributes for the route.
goto next-node clauses: further match routes against a specified node after the routes match the current node.
For more information about a route-policy, refer to the HUAWEI NetEngine 8000 F Series Router Feature Description - IP Routing.