24-2
iguration, refer to the part discussing ACL.
IP
gateway
option to specify that only
ge in the network
er. Once an entry is matched, the IP-prefix list filtering is passed and
R
given routing information and the attributes of the
against the node is successful, and the actions can be the attribute settings of routing
policy, it will
the test of the next node.
IP R
Complete the following tasks to config
IP route policy:
For ACL conf
-prefix list
IP-prefix list plays a role similar to ACL. But it is more flexible than ACL and easier to understand. When
IP-prefix list is applied to filter routing information, its matching object is the destination address field in
routing information. Moreover, with IP-prefix list, you can use the
routing information advertised by certain routers will be received.
An IP-prefix list is identified by its IP-prefix name. Each IP-prefix list can contain multiple entries, and
each entry, identified by an index-number, can independently specify the match ran
prefix form. An index-number specifies the matching sequence in the IP-prefix list.
There is an OR relationship between entries. During the matching, the router checks entries identified
by index-number in ascending ord
no other entries will be checked.
oute policy
A route policy is used to match some attributes with
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
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
pass the matching test of the route policy without entering
oute Policy Configuration Task List
ure an
Task
Remarks
Defining a Route Policy
Required
Route Policy Configuration
Defining if-match Clauses and
apply Clauses
Required
IP-Prefix Configuration
Required
Rou
the conditions are met. The above-mentioned filtering
A route policy can comprise multiple nodes and each node comprises:
te 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
lists can serve as the match conditions: