Command Manual – IPv6 Routing
H3C S7500E Series Ethernet Switches
Chapter 2 IPv6 RIPng Configuration
Commands
2-8
Description
Use the
filter-policy
export
command to define an outbound route filtering policy. Only
routes passing the filter can be advertised in the update messages.
Use the
undo filter-policy
export
command to restore the default.
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 outgoing routing information will
be filtered.
Examples
# 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
2.1.8 filter-policy import
Syntax
filter-policy
{
acl6-number
|
ipv6-prefix
ipv6-prefix-name
}
import
undo filter-policy
import
View
RIPng view
Parameters
acl6-number
: Specifies the number of an ACL to filter incoming routing information, in
the range of 2000 to 3999.
ipv6-prefix ipv6-prefix-name
: Specifies the name of an IPv6 Prefix list to filter incoming
routes, in the range 1 to 19 characters.
Description
Use the
filter-policy import
command to define an inbound route filtering policy. Only
routes which match the filtering policy can be received.
Use the
undo filter-policy
import
command to disable inbound route filtering.
By default, RIPng does not filter incoming routing information.
Examples
# Reference IPv6 prefix list
Filter1
to filter incoming RIPng updates.
<Sysname> system-view
[Sysname] ripng 100