beautypg.com

Precautions, Troubleshooting ip route policy, Symptom – H3C Technologies H3C S3600 Series Switches User Manual

Page 368: Analysis, Solution

background image

5-11

3.0.0.0/8

RIP 100 5 6.6.6.5 Vlan-interface6

6.0.0.0/8 DIRECT 0 0 6.6.6.6 Vlan-interface6

6.6.6.6/32

DIRECT 0 0 127.0.0.1 InLoopBack0

127.0.0.0/8

DIRECT 0 0 127.0.0.1 InLoopBack0

127.0.0.1/32 DIRECT 0 0 127.0.0.1 InLoopBack0

192.168.0.0/24

DIRECT 0 0 192.168.0.39 Vlan-interface1

192.168.0.39/32 DIRECT 0 0 127.0.0.1 InLoopBack0

Precautions

1) When you configure the apply cost command in a route policy:

z

The new cost should be greater than the original one to prevent RIP from generating routing loop in

the case that a loop exists in the topology.

z

The cost will become 16 if you try to set it to a value greater than 16.

z

The cost will become the original one if you try to set it to 0.

z

The cost will still be 16 if you try to set it to 16.

2) Using

the if-match interface command will match the routes whose outgoing interface to the next

hop is the specified interface.

3) You are recommended to configure a node to match all routes not passing the preceding nodes in

a route policy.

4) If the cost of a received RIP route is equal to 16, the cost specified by the apply cost command in

a route policy will not be applied to the route, that is, the cost of the route is equal to 16.

5) Using

the

filter-policy command does not filter redistributed routes.

Troubleshooting IP Route Policy

Symptom

The route policy cannot filter routing information correctly when the routing protocol runs normally.

Analysis

The route policy cannot filter routing information correctly in the following two cases:

z

All nodes in the route policy are in the deny mode.

z

All entries in the IP-prefix list are in the deny mode.

Solution

1) Use

the

display ip ip-prefix command to display the configuration of the IP-prefix list.

2) Use

the

display route-policy command to display the configuration of the route policy.

This manual is related to the following products: