339
<Sysname> system-view
[Sysname] ripng 1
[Sysname-ripng-1] graceful-restart
import-route
Use
import-route
to redistribute routes from another routing protocol.
Use
undo import-route
to disable route redistribution.
Syntax
import-route
protocol
[
process-id
] [
allow-ibgp
] [
cost
cost
|
route-policy
route-policy-name
] *
undo import-route
protocol
[
process-id
]
Default
RIPng does not redistribute routes from another routing protocol.
Views
RIPng view
Predefined user roles
network-admin
Parameters
protocol
: Specifies a routing protocol from which RIPng redistributes routes. It can be
bgp4+
,
direct
,
isisv6
,
ospfv3
,
ripng
,
or
static
.
process-id
: Specifies a process by its ID in the range of 1 to 65535. The default is 1. This argument is
available only when the protocol is
isisv6
,
ospfv3
, or
ripng
.
allow-ibgp
: Allows redistribution of IBGP routes. This keyword is available when the
protocol
argument
is set to
bgp4+
.
cost
cost
: Specifies a metric for redistributed routes, in the range of 0 to 16. The default metric is 0.
route-policy
route-policy-name
: Specifies a routing policy by its name, a case-sensitive string of 1 to 63
characters.
Usage guidelines
The
import-route bgp4+
command redistributes only EBGP routes. The
import-route bgp4+ allow-ibgp
command redistributes both EBGP and IBGP routes.
Examples
# Redistribute routes from IPv6 IS-IS process 7 into RIPng and set the metric for redistributed routes to 7.
<Sysname> system-view
[Sysname] ripng 100
[Sysname-ripng-100] import-route isisv6 7 cost 7
maximum load-balancing
Use
maximum load-balancing
to specify the maximum number of equal-cost multi-path (ECMP) routes for
load balancing.