< Home

filter-policy export (RIPng)

Function

The filter-policy export command specifies the filtering policy for sent routes.

The undo filter-policy export 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 } export [ protocol [ process-id ] ]

undo filter-policy [ acl6-number | acl6-name acl6-name | ipv6-prefix ipv6-prefix-name | route-policy route-policy-name ] export [ protocol [ process-id ] ]

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.

protocol

Specifies the name of a routing protocol from which routes are imported.

The value can be bgp, direct, isis, unr, ripng, static or ospfv3.

process-id

Specifies the process ID of IS-IS, RIPng or OSPFv3.

The value is an integer that ranges from 1 to 65535.

Views

RIPng view

Default Level

2: Configuration level

Usage Guidelines

In some cases, you need to precisely control the advertisement of RIPng routes to meet complicated network requirements. RIPng can use an IPv6 prefix list, route policy and ACL to filter imported routes, allowing only the routes matching the IPv6 prefix list, route policy and ACL to be advertised to RIPng neighbors.

For a 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 Filter2 to filter the RIPng Update packets that need to be advertised.

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