protocols bgp <asn> address-family ipv4-unicast redistribute rip
Redistributes routes learned from Routing Information Protocol (RIP) into BGP.
When this command has not been set, routes learned from RIP are not distributed into BGP.
- asn
- The number for the AS in which this router resides. The number ranges from 1 through 4294967295.
- map-name
- The name of a configured route map to be used for redistributing RIP routes.
Configuration mode
protocols {
bgp asn {
address-family {
ipv4-unicast {
redistribute {
rip {
route-map map-name
}
}
}
}
}
}
Use the set form of this command to direct the router to redistribute routes learned from RIP into BGP.
Use the delete form of this command to prevent redistribution of routes learned from RIP into BGP.
Use the show form of this command to view route redistribution configuration settings.
The inverse mask for the source field is applied to the prefix before the comparison with the source. The inverse mask for the destination field is applied to the net mask of the prefix before the comparison with the net mask as specified in the destination field.
Effectively, the prefix must match the source with application of inverse mask of the source field. And the net mask for the prefix must match the destination with application of inverse mask of the destination field.