Concept Guide
Assigning a Prex List to RIP Routes
Another method of controlling RIP (or any routing protocol) routing information is to lter the information through a prex list. A prex list is
applied to incoming or outgoing routes.
Those routes must meet the conditions of the prex list; if not, the system drops the route. Prex lists are globally applied on all interfaces
running RIP. Congure the prex list in PREFIX LIST mode prior to assigning it to the RIP process.
For conguration information about prex lists, refer to Access Control Lists (ACLs).
To apply prex lists to incoming or outgoing RIP routes, use the following commands.
• Assign a congured prex list to all incoming RIP routes.
ROUTER RIP mode
distribute-list prefix-list-name in
• Assign a congured prex list to all outgoing RIP routes.
ROUTER RIP mode
distribute-list prefix-list-name out
To view the current RIP conguration, use the show running-config command in EXEC mode or the show config command in
ROUTER RIP mode.
Setting the Send and Receive Version
To change the RIP version globally or on an interface in the system, use the following command.
To specify the RIP version, use the version command in ROUTER RIP mode. To set an interface to receive only one or the other version,
use the ip rip send version or the ip rip receive version commands in INTERFACE mode.
You can set one RIP version globally on the system using system. This command sets the RIP version for RIP trac on the interfaces
participating in RIP unless the interface was specically congured for a specic RIP version.
• Set the RIP version sent and received on the system.
ROUTER RIP mode
version {1 | 2}
• Set the RIP versions received on that interface.
INTERFACE mode
ip rip receive version [1] [2]
• Set the RIP versions sent out on that interface.
INTERFACE mode
ip rip send version [1] [2]
Example of an Interface Participating in the RIP Process
Example of Conguring an Interface to Send/Receive Specied Versions of RIP
Example of the show ip protocols Command to Verify RIP Versions on an Interface
To see whether the version command is congured, use the show config command in ROUTER RIP mode. To view the routing
protocols conguration, use the show ip protocols command in EXEC mode.
696
Routing Information Protocol (RIP)