Verifying the Exchange of RIP Messages
Purpose
Verify that RIP messages are being sent and received on all RIP-enabled interfaces.
Action
From the CLI, enter the show rip statistics command.
Sample Output
user@host> show rip statistics
RIPv2 info: port 520; holddown 120s. rts learned rts held down rqsts dropped resps dropped 10 0 0 0 t1-0/0/2.0: 0 routes learned; 13 routes advertised; timeout 120s; update interval 45s Counter Total Last 5 min Last minute ------- ----------- ----------- ----------- Updates Sent 2855 11 2 Triggered Updates Sent 5 0 0 Responses Sent 0 0 0 Bad Messages 0 0 0 RIPv1 Updates Received 0 0 0 RIPv1 Bad Route Entries 0 0 0 RIPv1 Updates Ignored 0 0 0 RIPv2 Updates Received 41 0 0 RIPv2 Bad Route Entries 0 0 0 RIPv2 Updates Ignored 0 0 0 Authentication Failures 0 0 0 RIP Requests Received 0 0 0 RIP Requests Ignored 0 0 0 ge-0/0/1.0: 10 routes learned; 3 routes advertised; timeout 180s; update interval 30s Counter Total Last 5 min Last minute ------- ----------- ----------- ----------- Updates Sent 2855 11 2 Triggered Updates Sent 3 0 0 Responses Sent 0 0 0 Bad Messages 1 0 0 RIPv1 Updates Received 0 0 0 RIPv1 Bad Route Entries 0 0 0 RIPv1 Updates Ignored 0 0 0 RIPv2 Updates Received 2864 11 2 RIPv2 Bad Route Entries 14 0 0 RIPv2 Updates Ignored 0 0 0 Authentication Failures 0 0 0 RIP Requests Received 0 0 0 RIP Requests Ignored 0 0 0
Meaning
The output shows the number of RIP routes learned. It also shows the number of RIP updates sent and received on the RIP-enabled interfaces. Verify the following information:
- The number of RIP routes learned matches the number of expected routes learned. Subnets learned by direct connectivity through an outgoing interface are not listed as RIP routes.
- RIP updates are being sent on each RIP-enabled interface. If no updates are being sent, the routing policy might not be configured to export routes.
- RIP updates are being received on each RIP-enabled interface. If no updates are being received, the routing policy might not be configured to export routes on the host connected to that subnet. The lack of updates might also might indicate an authentication error.
Related Topics
For a complete description of show rip statistics output, see the JUNOS Routing Protocols and Policies Command Reference.