A route-policy is used to match routes or route attributes, and to change route attributes when the matching rules are met.
A route-policy is used to match routes or route attributes, and to change route attributes when the matching rules are met.
A route-policy consists of multiple nodes, and each node can comprise the following clauses:
if-match clauses
The clauses define the matching rules of a route-policy. The matching objects are route attributes.
apply clauses
The clauses specify actions. Configuration commands are run after a route meets the matching rules specified by the if-match clauses. The apply clauses can change certain route attributes.
This section describes only the BGP4+ route-policy. For detailed information about route-policy configurations, see "Routing Policy Configuration."