1314
C
85: IP
6 RIP
HAPTER
V
filter-policy export
Syntax
View
Parameters
Description
Examples
filter-policy import (RIPng view)
Syntax
View
Parameters
C
C
NG
ONFIGURATION
OMMANDS
filter-policy { acl6-number | ipv6-prefix ipv6-prefix-name } export [ protocol
[ process-id ] ]
undo filter-policy export [ protocol [ process-id ] ]
RIPng view
acl6-number: Specifies the number of an ACL to filter advertised routing
information, in the range of 2000 to 3999.
ipv6-prefix ipv6-prefix-name: Specifies the name of an IPv6 prefix list used to
filter routing information, a string of 1 to 19 characters.
protocol: Routing protocol from which to filter routes redistributed, currently
including bgp4+, direct, isisv6, ospfv3, ripng, and static
process-id: Process number of the specified routing protocol, in the range of 1 to
65535. This argument is specified only when the routing protocol is rip, ospf, or
isis.
Use the
filter-policy export
policy. Only routes passing the filter can be advertised in the update messages.
Use the
undo filter-policy export
By default, RIPng does not filter any outbound routing information.
With the protocol argument specified, only routing information redistributed from
the specified routing protocol will be filtered. Otherwise, all routing information
will be filtered.
# Use IPv6 prefix list Filter 2 to filter advertised RIPng updates.
<Sysname> system-view
[Sysname] ripng 100
[Sysname-ripng-100] filter-policy ipv6-prefix Filter2 export
filter-policy { acl6-number | ipv6-prefix ipv6-prefix-name } import
undo filter-policy import
RIPng view
acl6-number: Specifies the number of an ACL to filter received routing
information, in the range of 2000 to 3999.
command to define an outbound route filtering
command to restore the default.