Saturday, October 16, 2010

How to Configure RIP in a Cisco Router

NOTE: RIP - Router Interface Protocol


1. enable the RIP protocol on the router with the ‘router rip’ command.


Router(config)#router rip

2. trace the network to be used directly connected to the router.


Router(config-router)#network 192.168.0.0

Note:

Remember use Supernet if you have a group of subnets.

Router(config-router)#network 172.69.0.0

there are 3 subnets in the supernet


3. Adjust the update, invalid, holddown and flush timers.

Router(config-router)#timers basic 30 190 280 260

4. Stop the updates from being broadcasted on internet.

Router(config-router)#passive-interface Fa0/0

5. RIP, sends updates as broadcast. If the router is connected through non-broadcast networks (like FrameRelay).

Router(config-router)#neighbor XXX.XXX.XXX.XXX

Where XXX.XXX.XXX.XXX is the IP address of the neighbor.

6. Cisco's implementation of RIP Version 2 supports authentication, key management, route summarization, classless interdomain routing (CIDR), and variable-length subnet masks (VLSMs).

Router(config-router)#version 2

And if you like to stick to version one, just replace the 2 in the command above with 1.

Note:

Can control ther versions of the updates and recieved on each interface.
this will be determined in 'IP rip' and 'IP Rip Version'.

Router(config-if)#ip rip send version 2

Router(config-if)#ip rip receive version 1


7. Check the RIP configuration using the ‘show ip route’, ‘show ip protocols’, and ‘debug ip rip’ commands.

No comments:

Post a Comment