8-10
cost
: Routing metric of redistributed routes, in the range of 0 to 16. If
cost value
is not specified,
the metric is the default metric specified by the
default cost
command.
route-policy route-policy-name
: Specifies a route policy by its name with 1 to 19 characters.
allow-ibgp
: Optional keyword when the specified
protocol
is
bgp4+
. The
import-route bgp4+
command redistributes only EBGP routes. The
import-route bgp4+ allow-ibgp
command
redistributes additionally IBGP routes, thus be cautious when using it.
Description
Use the
import-route
command to redistribute routes from another routing protocol.
Use the
undo import-route
command to disable redistributing routes from another routing
protocol.
By default, RIPng does not redistribute routes from other routing protocols.
z
You can configure a route policy to redistribute only needed routes.
z
You can specify a cost for redistributed routes using the
cost
keyword.
Related commands:
default cost
.
Examples
# Redistribute IPv6-IS-IS routes (process 7) and specify the metric as 7.
<Sysname> system-view
[Sysname] ripng 100
[Sysname-ripng-100] import-route isisv6 7 cost 7
maximum load-balancing (RIPng view)
Syntax
maximum load-balancing number
undo maximum load-balancing
View
RIPng view
Default Level
2: System level
Parameters
number
: Maximum number of equal-cost load-balanced routes. The number ranges from 1 to 8.
Description
Use the
maximum load-balancing
command to specify the maximum number of equal-cost
routes for load balancing.
Use the
undo maximum load-balancing
command to restore the default.
By default, the maximum number of equal-cost routes for load balancing is 8.
Configure the maximum number according to the memory size.