104CHAPTER 5: IP ROUTING PROTOCOL OPERATION

Configuring for Filtering Distributed Routes

Define a policy concerning route distribution that filters the routing information that does not satisfy the conditions, and distributes routes with the help of an ACL or address ip-prefix.

Perform the following configuration in routing protocol view.

Table 106 Configuring Filtering of Distributed Routes

Operation

Command

 

 

Configure to filter the routes distributed by

filter-policy { acl-number

the protocol

ip-prefixip-prefix-name } export

 

[ routing-process ]

Cancel the filtering of the routes distributed by the protocol

undo filter-policy { acl-number ip-prefix ip-prefix-name } export [ routing-process ]

The route policy supports importing the routes discovered by the following protocols into the routing table:

Direct: The hop (or host) to which the local interface is directly connected.

Static: Static Route Configuration

RIP: Route discovered by RIP

By default, the filtering of the received and distributed routes will not be performed.

Displaying and Debugging the Routing Policy

Execute the display command in all views to display the operation of the routing policy configuration, and to verify the effect of the configuration.

Table 107 Displaying and Debugging the Route Policy

Operation

Command

 

 

 

Display the routing policy

display route-policy [

 

route-policy-name ]

Display the path information of the AS filter

display ip

as-path-acl [

 

acl-number

]

Display the address prefix list information

display ip

ip-prefix [

 

ip-prefix-name ]

 

 

 

Troubleshooting Routing Routing information filtering cannot be implemented in normal operation of the Policies routing protocol

Check for the following faults:

The if-match mode of at least one node of the Route policy should be the permit mode. When a Route-policy is used for the routing information filtering, if a piece of routing information does not pass the filtering of any node, then it means that the route information does not pass the filtering of the Route-policy. When all the nodes of the Route-policy are in the deny mode, then all the routing information cannot pass the filtering of the Route-policy.

The if-match mode of at least one list item of the ip-prefix should be the permit mode. The list items of the deny mode can be defined to rapidly filter the

Page 104
Image 104
3Com 10014298 manual Configuring for Filtering Distributed Routes, Displaying and Debugging the Routing Policy