
4-2
For ACL configuration, refer to the part discussing ACL.
Route policy
A route policy is used to match some attributes with given routing information and the attributes of the
information will be set if the conditions are satisfied.
A route policy can comprise multiple nodes. Each node is a unit for matching test, and the nodes will be
matched in ascending order of their node numbers. Each node comprises a set of
if-match
and
apply
clauses. The
if-match
clauses define the matching rules. The matching objects are some attributes of
routing information. The relationship among the
if-match
clauses for a node is “AND”. As a result, a
matching test against a node is successful only when all the matching conditions specified by the
if-match
clauses in the node are satisfied. The
apply
clauses specify the actions performed after a
matching test against the node is successful, and the actions can be the attribute settings of routing
information.
There is an OR relationship between different nodes in a route policy. As a result, the system examines
the nodes in the route policy in sequence, and once the route matches a node in the route policy, it will
pass the matching test of the route policy without entering the test of the next node.
IP Route Policy Configuration Task List
Complete the following tasks to configure an IP route policy:
Task
Remarks
Defining a Route Policy
Required
Route Policy Configuration
Defining if-match Clauses and
apply Clauses
Required
Route Policy Configuration
A route 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 route policy can comprise multiple nodes and each node comprises:
z
if-match
clause: Defines matching rules; that is, the filtering conditions that the routing information
should satisfy for passing the current route policy. The matching objects are some attributes of the
routing information.
z
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 route policy, perform the following tasks:
z
Configuring a filtering list,
z
Configuring a routing protocol
Prepare the following data before the configuration:
z
Route policy name and node number