Command Reference Protocol-independent Configuration Commands
Indicates the RIP route type.
Indicates the OSPF internal route type.
Indicates the OSPF external route type.
Indicates the OSPF type-1 or type-2 route type.
Route map configuration mode
You can redistribute the routing information from one routing process to another routing process. For
example, you can redistribute the route in the OSPF routing domain and then advertise it to the RIP
routing domain, and vice versa. The mutual route redistribution can be implemented between all the IP
routing protocols.
In the route redistribution, route maps are usually used to control the mutual route redistribution
between two routing domains.
In configuring one route map, one or more match or set commands can be executed. If the match
command is not used, all the routes will be matched. If the set command is not used, no operation will
be performed.
In the example below, the RIP routing protocol redistributes only the internal routes in the OSPF routing
domain.
router rip
redistribute ospf route-map redrip
network 192.168.12.0
route-map redrip permit 10
match route-type internal
!
Match the next-hop IP address.
Match the source IP address.