Command
Network
Use
Specifies which interfaces RIP will run on.
Syntax
Router(config-router)#network <ip address>
Example

In this example, RIP is enabled for all interfaces on R2.
R2#conf t |
Here, the running config is shown for R2. Note that the router strips the IP to the classful boundary.
R2(config)#do show run | sec router |