533
Usage guidelines
This command filters received routes. Only routes that have not been filtered can be added into the
routing table.
To reference an advanced ACL (with a number from 3000 to 3999) in the command or in the routing
policy, configure the ACL using one of the following methods:
•
To deny/permit a route with the specified destination, use the
rule
[
rule-id
] {
deny
|
permit
}
ipv6
source
sour sour-prefix
command
•
To deny/permit a route with the specified destination and prefix, use the
rule
[
rule-id
] {
deny
|
permit
}
ipv6 source
sour sour-prefix
destination
dest dest-prefix
command.
The
source
keyword specifies the destination address of a route and the
destination
keyword specifies the
prefix of the route. The specified prefix must be valid. Otherwise, the configuration does not take effect.
Examples
# Use IPv6 ACL 2003 to filter received routes.
<Sysname> system-view
[Sysname] isis 1
[Sysname-isis-1] ipv6 filter-policy 2003 import
# Configure IPv6 ACL 3000 to permit only route 2001::1/128 to pass. Use the ACL 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
Related commands
ipv6 filter-policy export
ipv6 import-route
Use
ipv6 import-route
to enable IPv6 IS-IS to redistribute routes from another routing protocol.
Use
undo ipv6 import-route
to disable route redistribution.
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
]
Default
IPv6 does not redistribute routes from any other routing protocol.
Views
IS-IS view