< Home

filter-policy import (RIPng)

Function

The filter-policy import command specifies the filtering policy for received routes. Only the routes that match the filtering policy can be received.

The undo filter-policy import command cancels the configuration.

By default, no filtering policy is configured.

Format

filter-policy { acl6-number | acl6-name acl6-name | ipv6-prefix ipv6-prefix-name | route-policy route-policy-name } import

undo filter-policy [ acl6-number | acl6-name acl6-name | 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.
acl6-name acl6-name Specifies the name of a named IPv6 ACL, which is case sensitive. The name is a string of 1 to 64 case-sensitive characters without spaces.
ipv6-prefix ipv6-prefix-name Specifies the name of an IPv6 prefix list. The name is a string of 1 to 169 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.
route-policy route-policy-name Specifies the name of the routing policy. The name is a string of 1 to 40 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

Views

RIPng view

Default Level

2: Configuration level

Usage Guidelines

In some cases, you need to precisely control the receiving of RIPng routes to meet complicated network requirements. RIPng can use an IPv6 prefix list, route policy and ACL to filter received RIPng routes, allowing only the routes matching the IPv6 prefix list, route policy and ACL to be added to RIPng routing tables.

For an ACL, when the rule command is used to configure a filtering rule, the filtering rule is effective only with the source address range that is specified by the source parameter and with the time period that is specified by the time-range parameter.

Example

# Use IPv6 prefix list Filter1 to filter received RIPng Update packets.

<HUAWEI> system-view
[HUAWEI] ripng 1
[HUAWEI-ripng-1] filter-policy ipv6-prefix Filter1 import
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >