Router(config)#router rip
Turns on the RIP routing process; the same command as used for RIP Version 1 (RIP-1)
Router(config-router)#version 2
Turns on Version 2 of the routing process. Version 1 is default
Router(config-router)#network w.x.y.z
w.x.y.z is the network number of the directly connected classful network you want to advertise