The filter-policy import command specifies the filtering policy for the received route update packets. Only the route update packets that match the filtering policy can be received.
The undo filter-policy import command cancels the configuration.
By default, the filtering function is disabled.
filter-policy { acl6-number | ipv6-prefix ipv6-prefix-name | route-policy route-policy-name } import
undo filter-policy [ acl6-number | ipv6-prefix ipv6-prefix-name | route-policy route-policy-name ] import
| Parameter | Description | Value |
|---|---|---|
| acl6-number | Specifies the number of a basic IPv6 ACL. | The value is an integer ranging from 2000 to 2999. |
| ipv6-prefix ipv6-prefix-name | Specifies the name of the IPv6 prefix list. | The value must be the name of an existing IPv6 prefix list. |
| route-policy route-policy-name | Specifies the name of the routing policy. | The value must be the name of an existing routing policy. |
Only the routes that match the filtering policy can be added to the RIPng routing table.
# Filter the received RIPng Update packets based on the IPv6 prefix list named Filter1.
<sysname> system-view
[sysname] ripng 1
[sysname-ripng-1] filter-policy ipv6-prefix Filter1 import
# Filter the received RIPng Update packets based on the route policy named rp1.
<sysname> system-view
[sysname] ripng 1
[sysname-ripng-1] filter-policy route-policy rp1 import