Command Reference Protocol-independent Configuration Commands
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 OSPF routing protocol redistributes the RIP routes of metric 10.
router ospf 1
redistribute rip subnets route-map redrip
network 192.168.12.0 0.0.0.255 area 0
route-map redrip permit 10
match metric 10
Match the next-hop IP address.
Match the source IP address.
Use this command to redistribute the network routes of the specified type. Use the no form of this
command to delete the setting.
match route-type { static | connect | rip | local | internal | external [ type-1 | type-2 ]
no match route-type [ static | connect | rip | local | internal | external [ type-1 | type-2 ]
Indicates the static route type.
Indicates the directly connected route type.