Routing Policy Configuration
A routing policy is used to match given routing information or some attributes of routing information and
change the attributes of the routing information if the conditions are met. The above-mentioned filtering
lists can serve as the match conditions:
A routing policy can comprise multiple nodes and each node comprises:
if-match clause: Defines matching rules; that is, the filtering conditions that the routing information
should satisfy for passing the current routing policy. The matching objects are some attributes of
the routing information.
apply clause: Specifies actions, which are the configuration commands executed after a route
satisfies the filtering conditions specified by the if-match clause. Thereby, some attributes of the
route can be modified.
Configuration Prerequisites
Before configuring a routing policy, perform the following tasks:
Configuring a filtering list,
Configuring a routing protocol
Prepare the following data before the configuration:
Routing policy name and node number
Match conditions
Route attributes to be changed
Defining a Routing Policy
Follow these steps to define a routing policy:
To do...
Enter system view
Define a routing policy and enter the
routing policy view
Use the command...
system-view
route-policy route-policy-name { permit |
deny } node node-number
6-3
Remarks
—
Required
Not defined by default