3-15
z
Only active routes can be redistributed. You can use the
display ip routing-table
protocol
command to display route state information.
z
You can specify a route policy by using the keyword
route-policy
to redistribute only the
specified routes.
z
You can configure a cost for redistributed routes by using the keyword
cost
.
z
You can configure a tag value for redistributed routes by using the keyword
tag
.
Related commands:
default cost
.
Examples
# Redistribute static routes, and set the cost to 4.
<Sysname> system-view
[Sysname] rip 1
[Sysname-rip-1] import-route static cost 4
# Configure the default cost for redistributed routes as 3.
[Sysname-rip-1] default cost 3
# Redistribute OSPF routes with the cost being the default cost.
[Sysname-rip-1] import-route ospf
maximum load-balancing (RIP view)
Syntax
maximum load-balancing
number
undo maximum load-balancing
View
RIP view
Default Level
2: System level
Parameters
number
: Maximum number of equal-cost routes. The number ranges from 1 to 8.
Description
Use the
maximum load-balancing
command to specify the maximum number of equal-cost
routes.
Use the
undo maximum load-balancing
command to restore the default.
By default, the maximum number of load balanced routes is 8.
Examples
# Specify the maximum number of equal-cost routes as 2.
<Sysname> system-view
[Sysname] rip
[Sysname-rip-1] maximum load-balancing 2