Cisco IOS cheat sheet for RIP v2 โ distance-vector routing protocol. Simple to configure but limited to 15 hops. Covers configuration, timers, passive interfaces, summarization, and redistribution.
Configuration
RIP Setup
| Command | Description |
|---|---|
| router rip | Enter RIP configuration context |
| network 192.168.0.0 | Advertise network (mask is taken from the interface) |
| version 2 | Enable RIP version 2 (supports VLSM, multicast updates) |
| no auto-summary | Disable automatic classful summarization |
| passive-interface fa8/0 | Suppress updates on interface (toward end users) |
| timers basic 10 150 150 200 | Set RIP timers: update / invalid / holddown / flush (seconds) |
| no ip split-horizon | Disable split-horizon on the interface |
| ip rip triggered | Send full routing table once; then only on changes (triggered updates) |
Summarization and Redistribution
Summarization and Redistribution
| Command | Description |
|---|---|
| ip summary-address rip 192.168.0.0 255.255.0.0 | Advertise summarized 192.168.0.0/16 to neighbors |
| default-information originate | Advertise default route 0.0.0.0/0 to all neighbors |
| redistribute ospf 1 metric 10 | Inject OSPF process 1 routes into RIP with metric 10 |
Diagnostics
show / debug
| Command | Description |
|---|---|
| show ip rip database | RIP route database |
| show ip protocols | RIP configuration: version, networks, timers, neighbors |
| show ip route rip | RIP routes installed in the routing table |
| debug ip rip | Real-time RIP update output |
Cisco IOS Command Reference | RIP