Thursday, 29 October 2015

Ripv2 triggered






Sample Configuration of Triggered Extensions to RIP

Contents

Introduction

This document shows sample configurations using the ip rip triggered interface configuration command.
Triggered extensions to Routing Information Protocol (RIP) increase efficiency on point-to-point, serial links. This feature is supported on all platforms running Cisco IOS® Software Release 12.0(1)T and higher. Triggered extensions help avoid two common problems with using RIP to connect to a WAN:
  • Periodic broadcasting by RIP can prevent WAN circuits from being closed.
  • Even on fixed, point-to-point links, the overhead of periodic RIP transmissions can seriously interrupt normal data transfer.
To enable this feature, use the ip rip triggered interface configuration command on both the sides of the link. See the configurations below for an example.

Prerequisites

Requirements

There are no specific requirements for this document.

Configure

In this section, you are presented with the information to configure the features described in this document.
) .

Network Diagram

This document uses the network setup shown in the diagram below.
51a.gif

Configurations

This document uses the configurations shown below.

S3-3640
interface Serial1/0 
  ip address 172.16.1.1 255.255.255.0
  ip rip triggered
 ! 
 router rip
  network 172.16.0.0 

S3-3620
interface Loopback8
 ip address 172.19.1.1 255.255.255.0
!
interface Ethernet0/3
 ip address 172.18.1.1 255.255.255.0
!
interface Serial1/0
 ip address 172.16.1.2 255.255.255.0
 ip rip triggered
!
router rip
 network 172.16.0.0
 network 172.18.0.0
 network 172.19.0.0

Verify

This section provides information you can use to confirm your configuration is working properly.
Routes learned by an interface that is configured with ip rip triggered is shown as a permanent entry in the RIP database and routing table.

  • show ip route - Displays the current state of the routing table.
  • show ip rip database - Displays summary address entries in the RIP routing database entries if relevant routes are being summarized based upon a summary address.
S3-3640#show ip route
C       172.16.1.0/24 is directly connected, Serial1/0
R    172.19.0.0/16 [120/1] via 172.16.1.2, Serial1/0
R    172.18.0.0/16 [120/1] via 172.16.1.2, Serial1/0

S3-3640#show ip rip database
172.18.0.0/16    auto-summary
172.18.0.0/16
    [1] via 172.16.1.2, 00:02:44 (permanent), Serial1/0
 * Triggered Routes:
     - [1] via 172.16.1.2, Serial1/0
172.19.0.0/16    auto-summary
172.19.0.0/16
    [1] via 172.16.1.2, 00:02:45 (permanent),Serial1/0
   * Triggered Routes:
     - [1] via 172.16.1.2, Serial1/0

Troubleshoot

This section provides information you can use to troubleshoot your configuration.

Troubleshooting Commands


  • debug ip rip events - Displays information on RIP routing transactions.
S3-3640#debug ip rip events
RIP: received v1 triggered request from 172.16.1.2 on Serial1/0
RIP: start retransmit timer of 172.16.1.2
RIP: received v1 triggered ack from 172.16.1.2 on Serial1/0
RIP: Stopped retrans timer for 172.16.1.2
RIP: sending v1 ack to 172.16.1.2 via Serial1/0 (172.16.1.1),

Conclusion

When you enable triggered extensions to RIP, routing updates are transmitted on the WAN only if one of the following events occurs:
  • The router receives a specific request for a routing update, which causes the full database to be sent.
  • Information from another interface modifies the routing database, which causes only the latest changes to be sent.
  • The interface comes up or goes down, which causes a partial database to be sent.
  • The router is powered on for the first time to ensure that at least one update is sent, which causes the full database to be sent. 

Triggered Updates

Triggered updates allow a RIP router to announce changes in metric values almost immediately rather than waiting for the next periodic announcement. The trigger is a change to a metric in an entry in the routing table. For example, networks that become unavailable can be announced with a hop count of 16 through a triggered update. Note that the update is sent almost immediately , where a time interval to wait is typically specified on the router. If triggered updates were sent by all routers immediately, each triggered update could cause a cascade of broadcast traffic across the IP internetwork.
Triggered updates improve the convergence time of RIP internetworks but at the expense of additional broadcast traffic as the triggered updates are propagated.