R3303-HP HSR6800 Routers Layer 3 - IP Routing Command Reference

391
Views
IS-IS view
Default command level
2: System level
Parameters
acl6-number: Specifies an IPv6 ACL by its number in the range of 2000 to 3999 to filter received routes.
ipv6-prefix-name: Specifies an IPv6 prefix list by its name, a case-sensitive string of 1 to 19 characters, to
filter received routes.
route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters, to
filter received routes.
Usage guidelines
In some cases, only the routing information meeting certain conditions will be received. You can
configure the filtering conditions using the ipv6 filter-policy command.
To reference an advanced ACL (with a number from 3000 to 3999) in the command, configure the ACL
in one of the following ways:
To deny/permit a route with the specified destination, use rule [ rule-id ] { deny | permit } ipv6
source sour sour-prefix.
To deny/permit a route with the specified destination and prefix, use rule [ rule-id ] { deny | permit }
ipv6 source sour sour-prefix destination dest dest-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.)
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
[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.