HP VPN Firewall Appliances Network Management Command Reference
791
[Sysname-acl6-adv-3000] quit
[Sysname] ripng 100
[Sysname-ripng-100] filter-policy 3000 export
filter-policy import (RIPng view)
Use filter-policy import to define an inbound route filtering policy. Only routes that match the filtering
policy can be received.
Use undo filter-policy import to disable inbound route filtering.
Syntax
filter-policy { acl6-number | ipv6-prefix ipv6-prefix-name } import
undo filter-policy import
Default
RIPng does not filter incoming routing information.
Views
RIPng view
Default command level
2: System level
Parameters
acl6-number: Specifies the number of an ACL to filter incoming routing information, in the range of 2000
to 3999.
ipv6-prefix ipv6-prefix-name: Specifies the name of an IPv6 prefix list to filter incoming routes, in the
range of 1 to 19 characters.
Usage guidelines
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 IPv6 prefix list Filter1 to filter incoming RIPng updates.
<Sysname> system-view
[Sysname] ripng 100
[Sysname-ripng-100] filter-policy ipv6-prefix Filter1 import
# Configure ACL6 3000 to permit only route 2001::1/128 to pass, and reference ACL6 3000 to filter
incoming RIPng updates.
<Sysname> system-view
[Sysname] acl ipv6 number 3000