Operation Manual – RIP
H3C S9500 Series Routing Switches Chapter 1 RIP Configuration
1-2
II. RIP route database
Each router running RIP manages a route database, which contains routing entries to
all the reachable destinations in the network. These routing entries contain the
following information:
z Destination address: IP address of a host or a network.
z Next hop address: The interface address of the next router that an IP packet will
pass through for reaching the destination.
z Output interface: The interface through which the IP packet should be forwarded.
z Cost: The cost for the router to reach the destination, which should be an integer in
the range of 0 to 16.
z Timer: Duration from the last time that the routing entry is modified till now. The
timer is reset to 0 whenever a routing entry is modified.
III. RIP timer
According to RFC1058, RIP is controlled by the following timers: Period update,
Timeout and Garbage-Collection.
z Period Update is triggered periodically to send all RIP routes to all neighbors.
z If no RIP route is updated (a router receives the update packets from the neighbor)
within the Timeout timer, this route is regarded as unreachable. The cost is set to
16.
z If the Garbage-Collection timer expires, and the unreachable route receives no
update packet from the same neighbor, the route will be completely deleted from
the routing table.
z By default, the values of Period Update and Timeout timers are 30 seconds and
180 seconds respectively. The value of Garbage-collection timer is four times that
of Period Update timer: 120 seconds.
1.1.2 RIP Enabling and Running
The following section describes the procedure:
z If RIP is enabled on a router for the first time, the router will broadcast or multicast
the request packet to the adjacent routers. Upon receiving the request packet, the
RIP on each adjacent router responds with a packet conveying its local routing
table.
z After receiving the response packets, the router, which has sent the request, will
modify its own routing table. At the same time, the router sends trigger
modification packets to its adjacent routers running RIP and broadcasts
modification information, following split horizon mechanism. After receiving trigger
modification packets, the adjacent routers send trigger modification packets to
their respective adjacent routers. As a result, each router can obtain and maintain
the latest routing information.