< Home

filter-policy import (RIPng)

Function

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.

Format

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

Parameters

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.

Views

RIPng view

Default Level

2: Configuration level

Usage Guidelines

Only the routes that match the filtering policy can be added to the RIPng routing table.

Example

# 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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >