To do...

 

Use the command...

 

Remarks

 

 

 

Define a rule to match the

 

 

 

Optional

 

 

 

 

if-match ip next-hop acl

 

By default, no matching is performed on

 

 

 

next-hop address of

 

acl-number

 

the next-hop address of routing

 

 

 

routing information

 

 

 

 

 

 

 

 

information.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Apply a cost to routes

 

 

Optional

 

 

 

 

apply cost value

By default, no cost is applied to routes

 

 

 

satisfying matching rules

 

 

 

 

 

 

satisfying matching rules.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

z

z

z z z

A route policy comprises multiple nodes. There is an OR relationship between the nodes in a route policy. As a result, the system examines the nodes 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.

During the matching, there is an AND relationship between the if-matchclauses for a route policy node. That is, a matching test against a node is successful only when all the matching conditions specified by the if-matchclauses in the node are satisfied.

If no if-matchclauses are specified, all the routes will filter through the node. A node can comprise no if-matchclause or multiple if-matchclauses.

Each node comprises a set of if-matchand apply clauses. if-matchclauses define matching rules. 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.

Displaying and Maintaining IP Route Policy

To do...

Use the command...

Remarks

Display route policy

display route-policy

Available in any view

information

[ route-policy-name ]

 

 

 

 

IP Route Policy Configuration Example

Controlling RIP Packet Cost to Implement Dynamic Route Backup

Network requirements

The required speed of convergence in the small network of a company is not high. The network provides two services. Main and backup links are provided for each service for the purpose of reliability. The main link of one service serves as the backup link of the other. The two services are distinguished by IP addresses. If a fault occurs to the main link of one service, dynamic backup can prevent service interruption.

According to the network requirements, the network topology is designed as shown in Figure 4-1.

4-4

Page 704
Image 704
3Com WX3000 Displaying and Maintaining IP Route Policy, IP Route Policy Configuration Example, If-match ip next-hop acl