background image

OmniSwitch 6600/7000/8000 Series Technical Training Lab Exercises 

Course 9001 Lab 21 – RIP/RIP2 

Page 1 of 4 

 

RIP/RIP2 

This lab will introduce the routing protocols of RIP and RIP2. Also, we’ll briefly discuss 
the routing table and how to display it.   

 

Equipment Required: 

 

Three OmniSwitches 

 

Objective: 

This lab will introduce how to enable RIP and RIP2 on an OmniSwitch. This 
includes loading RIP and enabling both version 1 and version 2. 

 

Related Commands: 

 

Show ip rip, ip load, ip rip, show ip routes,  

Enabling RIP Lab 

This lab will cover the RIP and RIP 2 routing protocols. If a switch is booted without any 
routing protocols enabled, they must first be loaded into memory before they can be 
configured.  

  Remove any existing configuration and reboot. 

 

Enter ‘show ip rip’, notice the message telling you that RIP is not loaded.  

 

Enter ‘ip load rip’, this will load rip into memory and allow it to be configured. 

 

Enter ‘ip rip status enable’ to enable RIP after loading. 

 

Enter ‘show ip rip’ again. 

  Confirm which switch will be number 1, 2, or 3.  

  Connect the three OmniSwitches back to back with VLAN 1 having the IP address of 

192.168.10.X, where X is the switch number. 

  Ensure you can ping between VLAN 1. 

 
 
Switch 1 Configuration 

  On switch 1 create VLAN 101 with IP address 192.168.101.1. 

 

Enter command ‘show ip rip interface’. Currently, RIP is not running on any 
interfaces.  

 

Enter ‘ip rip interface 192.168.10.1 status enable’. This enables the interface to 
send RIP2 and receive both RIP and RIP2 by default. 

 

Enter ‘show ip rip interface 192.168.10.1’ to check the parameters. Notice the RIP 
version being sent and received by default, along with additional default settings. 

Switch 2 Configuration 

  On switch 2 create VLAN 102 with IP address 192.168.102.2. 

 

Enter command ‘show ip rip interface’. Currently, RIP is not running on any 
interfaces.  

 

Enter ‘ip rip interface 192.168.10.2 status enable’. This enables the interface to 
send RIP2 and receive both RIP and RIP2 by default. 

background image

OmniSwitch 6600/7000/8000 Series Technical Training Lab Exercises 

Course 9001 Lab 21 – RIP/RIP2 

Page 2 of 4 

 

Enter ‘show ip rip interface 192.168.10.2’ to check the parameters. Notice the RIP 
version being sent and received by default, along with the default setting for 
authentication. 

 
Switch 3 Configuration 

  On one switch create VLAN 103 with IP address 192.168.103.3. 

 

Enter command ‘show ip rip interface’. Currently, RIP is not running on any 
interfaces.  

 

Enter ‘ip rip interface 192.168.10.3 status enable’. This enables the interface to 
send RIP2 and receive both RIP and RIP2 by default. 

 

Enter ‘show ip rip interface 192.168.10.3’ to check the parameters. Notice the RIP 
version being sent and received by default, along with the default setting for 
authentication. 

 
Once you have created the appropriate VLAN, either move a PC into the VLAN or use a 
crossover cable to activate the VLAN. 
 
Enter the command ‘show ip route’. This gives you the routing table for the switch. You 
should only see your local networks for your VLANs at this time.  In order for routes not 
learned via RIP to be advertised, they must be distributed. Enter the following on each 
switch to distribute your local routes. 
 

 

Enter ‘ip rip redist local’, this tells rip to enable local interface distribution.  

  Enter ‘ip rip redist-filter local 0.0.0.0 0.0.0.0’ to redistribute all local interfaces. 

 

Enter ‘ip rip redist status enable’ to enable redistribution. 

 

Enter ‘show ip rip interface’ to check the RIP interfaces. You should begin to see 
RIP updates being advertised.  

 

Enter ‘show ip rip peer’ to check the RIP peers. 

 

Enter the commands ‘show ip route’, ‘show ip rip routes’, and ‘show ip router 
database’
 to check the various route entries.  

 
RIP Updates using V1 and V2 
By default RIP is configured to accept either RIP v1 or RIP v2 updates. RIP 2 will accept 
RIP v1 updates, however RIP v1 will not accept RIP v2 updates. On switch 1 let’s 
modify the RIP interface and set it to receive RIP v1.  

 

Enter ‘ip rip interface 192.168.10.1 recv-version v1’ . This tells the router interface 
to accept v1 RIP updates. 

 

Enter ‘show ip rip interface’. You should begin to see bad packets on the interface 
since switch 2 and 3 are sending v2 RIP packets.  

 

Disable the RIP protocol by entering ‘ip rip status disable’ on switch 1 to flush the 
RIP routes. Now re-enable RIP, you should not see any routes updated via RIP and 
the bad packet counter should continue to increment. 

  Reconfigure switch 1 to receive RIP v2 updates, you should then see RIP routes being 

updated. 

 
 

background image

OmniSwitch 6600/7000/8000 Series Technical Training Lab Exercises 

Course 9001 Lab 21 – RIP/RIP2 

Page 3 of 4 

RIP Redistribution 
In order for the 101, 102, and 103 networks to be advertised we needed to create a filter 
to redistribute local routes. We will now modify the configuration to allow switch 2 to 
automatically redistribute the 101 network without any filters. 
 

  On switch 3 create VLAN 102 with IP address 192.168.102.3. 

  Disconnect the VLAN 1 connections between switch 2 and 3. 

  Move the appropriate ports into VLAN 102 on both switch 2 and switch 3 and ensure 

you can ping between switch 2 and 3 using VLAN 102.  

  Check the routing table on switch 3, you should see that there are no routes to the 

remote networks. We need to configure the VLAN 102 routing instance on the 
switches for RIP.  

 

Enter ‘ip rip interface 192.168.102.2 status enable’ on switch 2 to enable RIP.  

 

Enter ‘ip rip interface 192.168.102.3 status enable’ on switch 3 to enable RIP. 

 

Enter ‘show ip rip peer’ to confirm that RIP is configured properly. 

 
After a RIP update is sent, you should see the 192.168.101.0 network from switch 1 in 
the routing table for switch 3. Notice we did not have to configure any filters for switch 2 
to advertise the 192.168.101.0 route. This is because switch 2 learned the route via RIP 
from switch 1 and will automatically advertise any routes learned via RIP.  
 
Metrics 
Metrics can be manually configured for RIP. Let’s increase the metric for the 
192.168.102.0 network on switch 1. 
 
Enter  show ip router database’ to check the current metric for the 192.168.102.0 
network. It should indicate 2.  
 

 

On switch 1 enter ‘ip rip interface 192.168.10.1 metric 5’. This says that switch 1 
will add a metric of 5 to all routes being learned on that interface.  

 

 

Enter ‘show ip router database’ on switch 1 to check the metric.  

 
RIP Authentication - Simple 

 

On switch 3 enter ‘ip rip interface 192.168.10.3 auth-type simple’ to enable simple 
password authentication. 

 

On switch 3 enter ‘ip rip interface 192.168.10.3 auth-key alcatel’ to set the 
password. 

 

Check the routing table, the routes should be removed after their aging period.  

 

Enter ‘show ip rip peer’ to show switch 2. You should see that you are now 
receiving bad packets from switch 2 since authentication is not enabled.  

 

Now enter ‘ip rip interface 192.168.10.2 auth-type simple’ on switch 2. 

 

Enter ‘ip rip interface 192.168.10.2 auth-key alcatel’.  

 

Enter ‘show ip rip peer’ to show switch 3. You should see that you are now 
receiving valid RIP updates. 

background image

OmniSwitch 6600/7000/8000 Series Technical Training Lab Exercises 

Course 9001 Lab 21 – RIP/RIP2 

Page 4 of 4 

Summary 

This lab introduced you to RIP v1 and RIP v2 on an OmniSwitch. RIP and RIP v2 are 
part of the basic routing package for the OmniSwitch. The RIP protocol can be used in 
smaller networks to advertise routing information. 
 
 
 
 
 
 

RIP (lab #1)

RIP (lab #1)

RIP

192.168.10.x

RIP 192.168.102.2

RIP 192.168.103.3

Switch #2

Switch #1

Switch #3

RIP 192.168.101.1