Configuring route redistribution to RIP
Configure a redistribute entry to announce certain routes into the RIP domain, including static routes, direct routes, RIP, Open Shortest Path First (OSPF), IS-IS, or Border Gateway Protocol (BGP). Optionally, use a route policy to control the redistribution of routes.
Before you begin
Enable RIP globally.
Configure a route policy.
Procedure
Example
Create the redistribution instance, apply a route policy, enable the redistribution, and apply the redistribution.
Switch:1>enable Switch:1#configure terminal Switch:1(config)#router rip Switch:1(config-rip)#redistribute rip Switch:1(config-rip)#redistribute rip route-map test1 Switch:1(config-rip)#redistribute rip enable Switch:1(config-rip)#exit Switch:1(config)#ip rip apply redistribute rip
Variable definitions
The following table defines parameters for the redistribute command.
| 
 Variable  | 
 Value  | 
|---|---|
| 
 metric <0-65535>  | 
 Configures the metric to apply to redistributed routes.  | 
| 
 route-map WORD<0-64>  | 
 Configures the route policy to apply to redistributed routes.  | 
| 
 [vrf-src WORD<1-16>]  | 
 Specifies the optional source VRF instance. You can use this variable with the other command variables.  | 
| 
 WORD<0–32>  | 
 Specifies the type of routes to redistribute (the protocol source). Valid options are bgp, isis, direct, rip, ospf, or static.  | 
The following table defines parameters for the show ip rip redistribute command.
| 
 Variable  | 
 Value  | 
|---|---|
| 
 vrf WORD<1-16>  | 
 Specifies the VRF instance.  | 
| 
 vrfids WORD<1-512>  | 
 Specifies a range of VRF IDs.  | 
The following table defines parameters for the ip rip apply redistribute command.
| 
 Variable  | 
 Value  | 
|---|---|
| 
 vrf WORD<1-16>  | 
 Specifies the VRF instance.  | 
| 
 vrf-src WORD<1-16>  | 
 Specifies the source VRF instance. You do not need to configure this parameter for redistribution within the same VRF.  | 
| 
 <bgp|direct|isis|ospf|rip|static>  | 
 Specifies the type of routes to redistribute (the protocol source). Valid options are bgp, isis, direct, rip, ospf, or static.  |