R0106-HP MSR Router Series Layer 3 - IP Routing Command Reference(V7)

574
# 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] address-family ipv6
[Sysname-isis-1-ipv6] filter-policy 3000 import
Related commands
filter-policy export
import-route
Use import-route to enable IPv6 IS-IS to redistribute routes from another routing protocol.
Use undo import-route to disable route redistribution.
Syntax
import-route protocol [ process-id ] [ allow-ibgp ] [ allow-direct | cost cost | [ level-1 | level-1-2 | level-2 ]
| route-policy route-policy-name| tag tag ] *
undo import-route protocol [ process-id ]
Default
IPv6 does not redistribute routes from any other routing protocol.
Views
IS-IS IPv6 unicast address family view
Predefined user roles
network-admin
Parameters
protocol: Redistributes routes from the specified routing protocol, which can be direct, static, ripng, isisv6,
bgp4+, or ospfv3.
process-id: Specifies a process by its ID in the range of 1 to 65535. It is available only when the protocol
is ripng, isisv6, or ospfv3.
allow-direct: Redistributes the networks of the local interfaces enabled with the specified routing protocol.
By default, the networks of the local interfaces are not redistributed. If you specify both the allow-direct
keyword and the route-policy route-policy-name option, make sure the if-match rule defined in the
routing policy does not conflict with the allow-direct keyword. For example, if you specify the
allow-direct keyword, do not configure the if-match route-type rule for the routing policy. Otherwise, the
allow-direct keyword does not take effect.
cost cost: Specifies a cost for redistributed routes, in the range of 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.