[Sysname-isis-1] ipv6 filter-policy 3000 export
ipv6 filter-policy import
Syntax
ipv6 filter-policy { acl6-number | ipv6-prefix ipv6-prefix-name | route-policy route-policy-name } import
undo ipv6 filter-policy import
View
IS-IS view
Default level
2: System level
Parameters
acl6-number: Number of a basic or advanced IPv6 ACL used to filter incoming routes, ranging from
2000 to 3999.
ipv6-prefix-name: Name of an IPv6 prefix list used to filter incoming routes, a string of 1 to 19 characters.
route-policy-name: Name of a routing policy used to filter incoming routes, a string of 1 to 63 characters.
Description
Use the ipv6 filter-policy import command to configure IPv6 IS-IS to filter the received routes.
Use the undo ipv6 filter-policy import command to disable the filtering.
The filtering is disabled by default.
In some cases, only the routing information satisfying certain conditions will be received. You can
configure the filtering conditions using the ipv6 filter-policy command.
NOTE:
If you want to reference an advanced ACL (with a number from 3000 to 3999) in the command or in the
routing policy, the ACL should be configured with the rule [
sour-prefix
command to deny/permit a route with the specified destination, or with the rule [
{ deny | permit } ipv6 source
route with the specified destination and prefix. The source keyword specifies the destination address of a
route and 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 the 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 the
received routes.
<Sysname> system-view
[Sysname] acl ipv6 number 3000
sour sour-prefix
destination
348
rule-id
] { deny | permit } ipv6 source
dest dest-prefix
command to deny/permit a
sour
rule-id
]
Need help?
Do you have a question about the S5820X Series and is the answer not in the manual?