< Home

filter-policy export (RIPng)

Function

The filter-policy export command specifies the filtering policy for the sent routes. Only the routes that match the filtering policy can be advertised through Update packets.

The undo filter-policy export 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 } export [ static | direct | bgp | unr | { ripng | isis | ospfv3 } [ process-id ] ]

undo filter-policy [ acl6-number | ipv6-prefix ipv6-prefix-name | route-policy route-policy-name ] export [ static | direct | bgp | unr | { ripng | isis | ospfv3 } [ 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.
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.
static Specifies static routes. -
direct Specifies direct routes. -
bgp Specifies BGP routes. -
unr Specifies UNR routes. -
ripng Specifies RIPng routes. -
isis Specifies IS-IS routes. -
ospfv3 Specifies OSPFv3 routes. -
process-id Specifies the process ID. The value is an integer ranging from 1 to 65535. By default, it is 1.

Views

RIPng view

Default Level

2: Configuration level

Usage Guidelines

None

Example

# Filter the advertised RIPng Update packets based on the IPv6 prefix list named Filter2.

<sysname> system-view
[sysname] ripng 100
[sysname-ripng-100] filter-policy ipv6-prefix Filter2 export

# Filter the advertised RIPng Update packets based on the Route-Policy named rp1.

<sysname> system-view
[sysname] ripng 100
[sysname-ripng-100] filter-policy route-policy rp1 export
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >