distribute-list prefix-list (RIPng)
Applies a prefix list to RIPng to control routing updates that are received or sent.
Syntax
distribute-list prefix-list
list-name {
in
|
out
}
no distribute-list prefix-list
list-name {
in
|
out
}
Command Default
Prefix lists are not applied to RIPng routing updates.
Parameters
Modes
RIPng router configuration mode.
Usage Guidelines
Use the
no form of the command to remove the distribution list.
Examples
The first prefix list in the following example denies routes with the prefix beginning with 2001:db8:: if the prefix is longer than 64 bits. The second prefix list allows all other routes received.
device# configure terminal device(config)# ipv6 prefix-list 2001routes deny 2001:db8::/64 le 128 device(config)# ipv6 prefix-list 2001routes permit ::/0 ge 0 le 128 device(config)# ipv6 router rip device(config-ripng-router)# distribute-list prefix-list 2001routes in