[Sysname-ripng-100] filter-policy ipv6-prefix Filter1 import
# Configure ACL6 3000 to permit only route 2001::1/128 to pass, and reference ACL6 3000 to filter
incoming RIPng updates.
<Sysname> system-view
[Sysname] acl ipv6 number 3000
[Sysname-acl6-adv-3000] rule 10 permit ipv6 source 2001::1 128 destination
ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 128
[Sysname-acl6-adv-3000] rule 100 deny ipv6
[Sysname-acl6-adv-3000] quit
[Sysname] ripng 100
[Sysname-ripng-100] filter-policy 3000 import
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
Default level
2: System level
Parameters
protocol
: Specifies a routing protocol from which to redistribute routes. It can be
bgp4+
,
direct
,
isisv6
,
ospfv3
,
ripng
,
or
static
.
process-id
: Process 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
.
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 63 case-sensitive
characters.
allow-ibgp
: Optional keyword when the specified
protocol
is
bgp4+
.
Description
Use
import-route
to redistribute routes from another routing protocol.
Use
undo import-route
to disable redistributing routes from another routing protocol.
By default, RIPng does not redistribute routes from other routing protocols.
The
import-route bgp4+
command redistributes only EBGP routes. The
import-route bgp4+
allow-ibgp
command redistributes additionally IBGP routes.
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
274