Filter-Policy Import - HP 5920 Series Command Reference Manual

Layer 3 - ip routing
Hide thumbs Also See for 5920 Series:
Table of Contents

Advertisement

filter-policy import

Use filter-policy import to configure RIPng to filter received routes. Only routes not filtered can be
received.
Use undo filter-policy import to remove the configuration.
Syntax
filter-policy { acl6-number | prefix-list prefix-list-name } import
undo filter-policy import
Default
RIPng does not filter received routes.
Views
RIPng view
Predefined user roles
network-admin
Parameters
acl6-number: Specifies an ACL by its number in the range of 2000 to 3999 to filter received routes.
prefix-list prefix-list-name: Specifies an IPv6 prefix list by its name, a string of 1 to 63 characters, to filter
received routes.
Usage guidelines
To use an advanced ACL (with a number from 3000 to 3999) in the command, configure the ACL in one
of the following ways:
To deny/permit a route with the specified destination, use the rule [ rule-id ] { deny | permit } ipv6
source sour sour-prefix command.
To deny/permit a route with the specified destination and prefix, use the rule [ rule-id ] { deny |
permit } ipv6 source sour sour-prefix destination dest dest-prefix command.
The source keyword specifies the destination address of a route and the destination keyword specifies the
prefix of the route. The prefix must be contiguous. Otherwise, the configuration does not take effect.
Examples
# Reference IPv6 prefix list to filter received RIPng updates.
<Sysname> system-view
[Sysname] ipv6 prefix-list abc index 10 permit 100:1:: 32
[Sysname] ripng 100
[Sysname-ripng-100] filter-policy prefix-list abc import
# Configure IPv6 ACL 3000 to permit only route 2001::1/128 to pass. Use IPv6 ACL 3000 to filter
received routes.
<Sysname> system-view
[Sysname] acl ipv6 number 3000
[Sysname-acl6-adv-3000] rule 10 permit ipv6 source 2001::1 128 destination
ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 128
[Sysname-acl6-adv-3000] rule 100 deny ipv6
[Sysname-acl6-adv-3000] quit
[Sysname] ripng 100
427

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5900 series

Table of Contents