Command
Router Rip
Use
The router rip command is necessary to enable RIP. RIP must be enabled before carrying out any of the RIP commands.
Syntax
R1(config)#router rip
Example
The following example demonstrates the router rip command. First, the show ip route command is issued to help determine the network layout.
R1#sh ip route Codes: C – connected, S – static, R – RIP, M – mobile, B – BGP D – EIGRP, EX – EIGRP external, O – OSPF, IA – OSPF inter area N1 – OSPF NSSA external type 1, N2 – OSPF NSSA external type 2 E1 – OSPF external type 1, E2 – OSPF external type 2 i – IS-IS, su – IS-IS summary, L1 – IS-IS level-1, L2 – IS-IS level-2 ia – IS-IS inter area, * – candidate default, U – per-user static route o – ODR, P – periodic downloaded static routeGateway of last resort is not set 1.0.0.0/32 is subnetted, 1 subnets |
Next, router rip is configured on R1.
R1(config)#router rip |
After that, it is configued on R2.
R2(config)#router rip |
Now, if we type show ip route we see that RIP is enabled and sending routes
R1#sh ip route Codes: C – connected, S – static, R – RIP, M – mobile, B – BGP D – EIGRP, EX – EIGRP external, O – OSPF, IA – OSPF inter area N1 – OSPF NSSA external type 1, N2 – OSPF NSSA external type 2 E1 – OSPF external type 1, E2 – OSPF external type 2 i – IS-IS, su – IS-IS summary, L1 – IS-IS level-1, L2 – IS-IS level-2 ia – IS-IS inter area, * – candidate default, U – per-user static route o – ODR, P – periodic downloaded static routeGateway of last resort is not set 1.0.0.0/32 is subnetted, 1 subnets
|