10-8
destination, or with the
rule
[
rule-id
] {
deny
|
permit
}
ipv6 source
sour sour-prefix
destination
dest dest-prefix
command to deny/permit a route with the specified destination and
prefix. The
source
keyword specifies the destination address of a route while the
destination
keyword specifies the prefix of the route (the prefix must be valid; otherwise, the configuration
is ineffective).
Related commands:
ipv6 filter-policy export
.
Examples
# Reference the IPv6 ACL 2003 to filter received routes.
<Sysname> system-view
[Sysname] isis 1
[Sysname-isis-1] ipv6 filter-policy 2003 import
# Configure ACL6 3000 to permit only route 2001::1/128 to pass, and reference ACL6 3000 to
filter received routes.
<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] isis 1
[Sysname-isis-1] ipv6 filter-policy 3000 import
ipv6 import-route
Syntax
ipv6 import-route protocol
[
process-id
] [
allow-ibgp
] [
cost
cost
| [
level-1
|
level-1-2
|
level-2
] |
route-policy route-policy-name
|
tag tag
] *
undo ipv6 import-route protocol
[
process-id
]
View
IS-IS view
Default Level
2: System level
Parameters
protocol
: Redistributes routes from a specified routing protocol, which can be
direct
,
static
,
ripng
,
isisv6
,
bgp4+
or
ospfv3
.
process-id
: Process ID of the routing protocol of
ripng
,
isisv6
or
ospfv3
, in the range of 1 to
65535. The default is 1.
cost
: Cost for redistributed routes, ranging from 0 to 4261412864.
level-1
: Redistributes routes into the Level-1 routing table.
level-1-2
: Redistributes routes into Level-1 and Level-2 routing tables.
level-2
: Redistributes routes into the Level-2 routing table.
route-policy-name
: Name of a route policy used to filter routes when they are redistributed, a
string of 1 to 19 characters.