67
Usage guidelines
The
import-route bgp
command redistributes only EBGP routes. The
import-route
bgp
allow-ibgp
command additionally redistributes IBGP routes and might cause routing loops. Therefore, use it with
caution.
This command redistributes only active routes. To view route state information, use the
display ip
routing-table
protocol
command.
The
undo import-route
protocol
all-processes
command removes only the configuration made by the
import-route
protocol
all-processes
command. It does not remove the configuration made by the
import-route
protocol
process-id
command.
Examples
# Redistribute static routes into RIP, and set the cost for redistributed routes to 4.
<Sysname> system-view
[Sysname] rip 1
[Sysname-rip-1] import-route static cost 4
Related commands
default cost
maximum load-balancing
Use
maximum load-balancing
to specify the maximum number of equal-cost multi-path (ECMP) routes for
load balancing.
Use
undo maximum load-balancing
to restore the default.
Syntax
maximum load-balancing
number
undo maximum load-balancing
Views
RIP view
Predefined user roles
network-admin
Parameters
number
: Specifies the maximum number of ECMP routes.
Usage guidelines
By default, the maximum number of RIP ECMP routes equals the maximum number of ECMP routes
supported by the system.
If you use the
max-ecmp-num
command to configure the maximum number of ECMP routes supported by
the system to
m
, the default setting of this command is
m
, and the value range for this command is 1 to
m
.
Examples
# Specify the maximum number of ECMP routes as 2.
<Sysname> system-view
[Sysname] rip