HP VPN Firewall Appliances Network Management Command Reference
830
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.)
Using the filter-policy import command only filters routes computed by OSPFv3. The routes that fail to
pass are not added to the routing table.
Examples
# Filter received routes using the IPv6 prefix list abc.
<Sysname> system-view
[Sysname] ip ipv6-prefix abc permit 2002:1:: 64
[Sysname] ospfv3 1
[Sysname-ospfv3-1] filter-policy ipv6-prefix abc 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] ospfv3
[Sysname-ospfv3-1] filter-policy 3000 import
import-route (OSPFv3 view)
Use import-route to redistribute routes.
Use undo import-route to disable routes redistribution.
Syntax
import-route protocol [ process-id | allow-ibgp ] [ cost value | route-policy route-policy-name | type
type ] *
undo import-route protocol [ process-id ]
Default
OSPFv3 does not redistribute routes from other protocols.
Views
OSPFv3 view
Default command level
2: System level
Parameters
protocol: Redistributes routes from a specified routing protocol, which can be bgp4+, direct, isisv6,
ospfv3, ripng, or static.
The following matrix shows the values for the protocol argument on different firewalls and firewall
modules: