Cisco Exam Questions

Which sequence of commands will configure RIPv2 on router B?

Refer to the exhibit. Router A has interfaces with addresses 192.168.1.1 and 172.16.1.1.Router B,
which is connected to router A over a serial link, has interfaces with address 172.16.1.2 and
10.1.1.2.

Which sequence of commands will configure RIPv2 on router B?

A.
B( config)# router rip
B(config-router)#version 2
B(config-router)# network 172.16.0.0
B(config-router)# network 10.0.0.0
B(config-router)# end

B.
B(config)# router rip 2
B(config-router)# network 172.16.0.0
B(config-router)# network 10.0.0.0
B(config-router)# end

C.
B(config)# router rip
B(config-router)#version 2
B(config-router)# network 172.16.0.0
B(config-router)#network 192.168.1.0
B(config-router)#end

D.
B(config)# router rip version 2
B(config-router)# network 172.16.0.0
B(config-router)# network 10.0.0.0

B(config-router)#end

Explanation:
The Routing Information Protocol (RIP) is a relatively old, but still commonly used, interior gateway
protocol (IGP) created for use in small, homogeneous networks. It is a classical distance-vector
routing protocol. RIP is documented in RFC 1058.
RIP uses broadcast User Datagram Protocol (UDP) data packets to exchange routing information.
The Cisco IOS software sends routing information updates every 30 seconds; this process is
termed advertising. If a router does not receive an update from another router for 180 seconds or
more, it marks the routes served by the non-updating router as being unusable. If there is still no
update after 240 seconds, the router removes all routing table entries for the non-updating router.
The metric that RIP uses to rate the value of different routes is hop count. The hop count is the
number of routers that can be traversed in a route. A directly connected network has a metric of
zero; an unreachable network has a metric of 16. This small range of metrics makes RIP an
unsuitable routing protocol for large networks.
If the router has a default network path, RIP advertises a route that links the router to the
pseudonetwork 0.0.0.0. The network 0.0.0.0 does not exist; RIP treats 0.0.0.0 as a network to
implement the default routing feature. The Cisco IOS software will advertise the default network if
a default was learned by RIP, or if the router has a gateway of last resort and RIP is configured
with a default metric.
RIP sends updates to the interfaces in the specified networks. If an interface’s network is not
specified, it will not be advertised in any RIP update.
Cisco’s implementation of RIP Version 2 supports plain text and MD5 authentication, route
summarization, classless interdomain routing (CIDR), and variable-length subnet masks (VLSMs).
Enable RIP
To enable RIP, use the following commands, starting in global configuration mode:
Step Command Purpose
1 router rip Enable a RIP routing process, which places you in router configuration mode.
2 network Associate a network with a RIP routing process.
network-number
Because RIP is normally a broadcast protocol, in order for RIP routing updates to reach
nonbroadcast networks, you must configure the Cisco IOS software to permit this exchange of
routing information. To do so, use the following command in router configuration mode:
Command Purpose

neighbor ip-address Define a neighboring router with which to exchange routing information.
By default, the software receives RIP Version 1 and Version 2 packets, but sends only Version 1
packets. You can configure the software to receive and send only Version 1 packets. Alternatively,
you can configure the software to receive and send only Version 2 packets. To do so, use the
following command in router configuration mode:
Command Purpose