Command Manual – IPv6 Routing
H3C S7500E Series Ethernet Switches
Chapter 2 IPv6 RIPng Configuration
Commands
2-9
[Sysname-ripng-100] filter-policy ipv6-prefix Filter1 import
2.1.9 import-route
Syntax
import-route
protocol
[
process-id
] [
allow-ibgp
] [
cost cost
|
route-policy
route-policy-name
] *
undo import-route
protocol
[
process-id
]
View
RIPng view
Parameters
protocol
: Specifies a routing protocol from which to redistribute routes. Currently, it can
be
bgp4+
,
direct
,
isisv6
,
ospfv3
,
ripng
,
or
static
.
process-id
: Process number of the specified routing protocol, in the range of 1 to 65535,
with the default as 1. This argument is available only when the routing protocol is
isisv6
,
ospfv3
, or
ripng
.
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 routing 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 routing policy to redistribute only needed routes.
z
You can specify a cost for redistributed routes using keyword
cost
.
Related commands:
default cost
.
Examples
# Redistribute IPv6-IS-IS routes (process 7) and specify the metric as 7.
<Sysname> system-view
[Sysname] ripng 100