Configuring inbound/outbound route filtering
Perform this task to filter inbound and outbound routes by using an ACL or IP prefix list. You can also
configure RIP to receive routes only from a specified neighbor.
To configure route filtering:
Step
1.
Enter system view.
2.
Enter RIP view.
3.
Configure the filtering of
inbound routes.
4.
Configure the filtering of
outbound routes.
Configuring a preference for RIP
If multiple IGPs find routes to the same destination, the route found by the IGP that has the highest priority
is selected as the optimal route. Perform this task to configure a preference for RIP. The smaller the
preference value, the higher the priority.
To configure a preference for RIP:
Step
1.
Enter system view.
2.
Enter RIP view.
3.
Configure a preference for
RIP.
Configuring RIP route redistribution
Perform this task to configure RIP to redistribute routes from other routing protocols, including static and
direct routes. Only active routes can be redistributed. To display active routes, use the display ip
routing-table protocol command.
To configure RIP route redistribution:
Step
1.
Enter system view.
Command
system-view
rip [ process-id ]
filter-policy { acl-number |
gateway ip-prefix-name | ip-prefix
ip-prefix-name [ gateway
ip-prefix-name ] } import
[ interface-type interface-number ]
filter-policy { acl-number |
ip-prefix ip-prefix-name } export
[ protocol [ process-id ] |
interface-type interface-number ]
Command
system-view
rip [ process-id ]
preference
Command
system-view
138
Remarks
N/A
N/A
By default, the filtering of inbound
routes is not configured.
The filter-policy import command
filters inbound routes. Filtered
routes are not installed into the
routing table or advertised to
neighbors.
By default, the filtering of outbound
routes is not configured.
The filter-policy export command
filters outbound routes, including
routes redistributed with the
import-route command.
Remarks
N/A
N/A
Optional.
The default setting is 100.
Remarks
N/A