Step
4.
Configure the filtering of
outgoing routes.
Configuring a priority for RIP
Multiple IGP protocols can run in a router. If you want RIP routes to have a higher priority than those
learned by other routing protocols, then assign RIP a smaller priority value to influence optimal route
selection.
To configure a priority for RIP:
Step
1.
Enter system view.
2.
Enter RIP view.
3.
Configure a priority for RIP.
Configuring RIP route redistribution
If a router runs RIP and other routing protocols, you can configure RIP to redistribute OSPF, BGP, static,
or direct routes.
Only active routes can be redistributed. To display route state information, use the display ip
routing-table protocol command.
To configure RIP route redistribution:
Step
1.
Enter system view.
2.
Enter RIP view.
3.
Configure a default metric for
redistributed routes.
4.
Redistribute routes from
another protocol.
Tuning and optimizing RIP networks
Before you tune and optimize RIP networks, complete the following tasks:
Command
filter-policy { acl-number |
ip-prefix ip-prefix-name } export
[ protocol [ process-id ] |
interface-type interface-number ]
Command
system-view
rip [ process-id ] [ vpn-instance
vpn-instance-name ]
preference [ route-policy
route-policy-name ] value
Command
system-view
rip [ process-id ] [ vpn-instance
vpn-instance-name ]
default cost value
import-route protocol [ process-id
| all-processes | allow-ibgp ] [ cost
cost | route-policy
route-policy-name | tag tag ] *
27
Remarks
Not configured by default.
The filter-policy export command
filters outgoing routes, including
routes redistributed with the
import-route command.
Remarks
N/A
N/A
Optional.
100 by default.
Remarks
N/A
N/A
Optional.
The default metric of a redistributed
route is 0.
By default, no redistribution is
configured.