Configuring interVRF route redistribution for RIP
Configure a redistribute entry to announce certain routes into the RIP domain, including static routes, direct routes, RIP, OSPF, IS-IS, or BGP. Use a route policy to control the redistribution of routes.
Before you begin
Enable RIP globally.
Configure a route policy.
Configure the VRFs.
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#router vrf red Switch:1(router-vrf)#ip rip redistribute ospf Switch:1(router-vrf)#ip rip redistribute ospf route-map test1 Switch:1(router-vrf)#ip rip redistribute ospf enable Switch:1(router-vrf)#exit Switch:1(config)#ip rip apply redistribute ospf
Variable definitions
The following table defines parameters for the ip rip redistribute <bgp|isis|ospf|static|direct|rip> command.
| 
 Variable  | 
 Value  | 
|---|---|
| 
 <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.  | 
| 
 vrf-src WORD<1-16>  | 
 Specifies the source VRF instance. You do not need to configure this parameter for redistribution within the same VRF.  | 
| 
 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.  | 
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.  |