Displaying and maintaining ip route policy, Ip route policy configuration example, 4 ip route policy configuration example – H3C Technologies H3C WX3000 Series Unified Switches User Manual

Page 665

Advertising
background image

67-4

To do...

Use the command...

Remarks

Define a rule to match the
next-hop address of routing
information

if-match ip next-hop

acl

acl-number

Optional
By default, no matching is performed on the
next-hop address of routing information.

Apply a cost to routes
satisfying matching rules

apply cost

value

Optional
By default, no cost is applied to routes
satisfying matching rules.

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.

z

During the matching, there is an AND relationship between the if-match clauses 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-match clauses in the node are satisfied.

z

If no if-match clauses are specified, all the routes will filter through the node.

z

A node can comprise no if-match clause or multiple if-match clauses.

z

Each node comprises a set of if-match and apply clauses. if-match clauses 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
information

display route-policy

[ route-policy-name ]

Available in any view

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 67-1

.

Advertising