📡 show ip protocols – Viewing and Troubleshooting Routing Protocols
Welcome, future network professionals!
Understanding show ip protocols
will take your CCNA exam preparation—and your real-world troubleshooting skills—to the next level. Master this command, and you’ll unlock the secrets behind how routers learn, share, and select the best paths in any network. Let’s dive in step-by-step!
Purpose of show ip protocols
Command
Definition: show ip protocols
is a Cisco IOS command that displays a summary of all IPv4 routing protocols active on the device, including their key operational parameters.
When/Why to Use:
- Monitor routing protocol status and verify which protocols are active (OSPF, EIGRP, RIP, etc.).
- Troubleshoot routing issues, filters, timers, and redistribution.
- Get a quick overview of timers, networks included, router IDs, and more.
Information Displayed by the Command
Router# show ip protocols Routing Protocol is "eigrp 10" Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set Default networks flagged in outgoing updates Routing for Networks: 192.168.1.0 10.1.1.0 Routing Information Sources: Gateway Distance Last Update 192.168.1.2 90 00:00:22 Distance: 90 Routing Protocol is "ospf 1" Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set Router ID 1.1.1.1 Number of areas in this router is 1. 1 normal 0 stub 0 nssa Maximum path: 4 Routing for Networks: 10.10.10.0 0.0.0.255 area 0 Routing Information Sources: Gateway Distance Last Update 10.10.10.2 110 00:00:10 Distance: 110 Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
Key Details and How to Use Them
Section | What to Look For | Actions / Importance |
---|---|---|
Routing Protocol is | EIGRP, OSPF, RIP, etc. | Which protocols are running |
Router ID | Router’s unique ID (OSPF/EIGRP) | Must be unique in the topology; used in neighbor relationships |
Networks | Network statements listed (e.g., 192.168.1.0/24) | Which interfaces/subnets are included in routing |
Interfaces | Interfaces under “Routing for Networks” | Verify participation in routing |
Distance | Administrative distance (e.g., 90 for EIGRP, 110 for OSPF) | Determines protocol preference in the routing table (lower is better) |
Routing Information Sources | Neighbor routers’ IPs, their AD, last update time | Should see expected neighbors with recent update times |
Timers | Protocol-specific (Hello, Dead, etc.) | Timer mismatches can break adjacencies |
Outgoing/Incoming filter lists | Distribute-list, route-map, or ACL | Filters can block needed updates |
Passive Interface | Interfaces set as passive | No routing updates sent—common exam topic |
Redistribution Information | Is redistribution active? | Critical when multiple protocols coexist |
Default Originate | Is default route advertised? | “Gateway of last resort” distribution |
Protocol Version Details | OSPF areas, EIGRP AS, RIP version | Troubleshooting protocol mismatches |
How to Use This Command for Troubleshooting
- Check which protocols are running if routes are missing.
- Confirm the correct networks are included under each protocol.
- Verify timers match on all routers in the same area/domain (e.g., OSPF Hello/Dead).
- Look for passive interfaces—routing won’t work if the required interface is passive.
- Check for filters or redistribution if some routes are not being learned or advertised.
- Examine “Routing Information Sources” to confirm neighbors are present and updating.
- Use administrative distance to resolve route preference conflicts.
Example: Troubleshooting Scenario
Scenario: John cannot reach 10.10.10.0/24, which should be advertised by OSPF.
- Run
show ip protocols
- Is OSPF listed? Is 10.10.10.0 included under “Routing for Networks”?
- Is Router ID unique and correct? Are timers matching neighbor routers?
- Is the correct interface listed as passive (should not be passive if adjacency is needed)?
- Are filters (distribute-list, route-map, ACL) blocking the update?
- For redistribution: Is OSPF getting updates from other protocols (EIGRP, RIP, etc.)?
Quick Reference: Interpreting show ip protocols
Output
Section | What to Check | What It Means / Next Steps |
---|---|---|
Routing Protocol is | Presence of protocol | Should match expected protocols (EIGRP, OSPF, etc.) |
Router ID | Unique ID for OSPF/EIGRP | Should not duplicate another router |
Routing for Networks | All required subnets included? | Add missing networks if required |
Routing Information Sources | Neighbor IPs and update times | No/lost updates = possible neighbor issue |
Timers | Hello/Dead/Update intervals | Mismatched timers = no adjacency |
Passive Interface | Check which are passive | Don’t set passive on neighbor-facing interfaces |
Redistribution Info | Are protocols redistributing? | Set correct metrics/route-maps if needed |
Filter Lists | Outgoing/incoming filter lists | Remove or adjust if blocking needed routes |
Default Originate | Advertising default route? | Ensure for internet/GW reachability |
Practice Lab Scenario: Troubleshooting with show ip protocols
Lab Topology:
Router1: OSPF & EIGRP enabled
Router2: OSPF neighbor
Router3: EIGRP neighbor
Router1: OSPF & EIGRP enabled
Router2: OSPF neighbor
Router3: EIGRP neighbor
- Run
show ip protocols
on Router1 - Verify OSPF is running and 10.10.30.0 is under “Routing for Networks”
- Confirm Router ID and neighbor (Routing Information Sources) are correct
- Check OSPF timers against Router2
- Ensure the Router1–Router2 interface is not passive
- Check for filters or redistribution issues
- Correct any missing/misconfigured network, timers, or filters
Exam Tips and Key Points
- Always check “Passive Interface”—most overlooked exam trick.
- Understand how AD (Administrative Distance) determines route preference.
- Match networks and timers to your topology and protocol requirements.
- Use
show ip protocols
as your first check for protocol/neighbor/configuration problems before digging into the routing table.