[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 ECMP routes , in the range of 1 to 8.
Description
Use maximum load-balancing to specify the maximum number of ECMP routes.
Use undo maximum load-balancing to restore the default.
By default, the maximum number of ECMP routes is 8.
Examples
# Specify the maximum number of ECMP routes as 2.
<Sysname> system-view
[Sysname] rip
[Sysname-rip-1] maximum load-balancing 2
network
Syntax
network network-address
undo network network-address
View
RIP view
Default level
2: System level
Parameters
network-address: IP address of a network segment, which can be the IP network address of any interface.
Description
Use network to enable RIP on the interface attached to the specified network.
Use undo network to disable RIP on the interface attached to the specified network.
RIP is disabled on an interface by default.
41