I’ve seen and used the command before, but I’ve never really seen any use of the show ip protocols command until tonight while reading up for my ROUTE test. There’s a lot of good information in the output, and, from the way the book is reading, this is a great candidate for use in a lab question.
To check it out a bit, I set up a small network with four routers connected only to a single Ethernet segment. I set up one router to run EIGRP, OSPF, and BGP to each one of the other routers just so I could see the output for the different routing protocols. Here’s what puked out after struggling with GNS for a few minutes.
1234567891011121314151617181920212223242526272829303132333435363738394041424344 R1#sh ip protocolsRouting Protocol is "eigrp 1"Outgoing update filter list for all interfaces is not setIncoming update filter list for all interfaces is not setDefault networks flagged in outgoing updatesDefault networks accepted from incoming updatesEIGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0EIGRP maximum hopcount 100EIGRP maximum metric variance 1Redistributing: eigrp 1EIGRP NSF-aware route hold timer is 240sAutomatic network summarization is in effectMaximum path: 4Routing for Networks:192.168.0.0Routing Information Sources:Gateway Distance Last UpdateDistance: internal 90 external 170Routing Protocol is "ospf 1"Outgoing update filter list for all interfaces is not setIncoming update filter list for all interfaces is not setRouter ID 192.168.0.101Number of areas in this router is 1. 1 normal 0 stub 0 nssaMaximum path: 4Routing for Networks:192.168.0.0 0.0.0.255 area 0Reference bandwidth unit is 100 mbpsRouting Information Sources:Gateway Distance Last UpdateDistance: (default is 110)Routing Protocol is "bgp 65001"Outgoing update filter list for all interfaces is not setIncoming update filter list for all interfaces is not setIGP synchronization is disabledAutomatic route summarization is disabledNeighbor(s):Address FiltIn FiltOut DistIn DistOut Weight RouteMap192.168.0.104Maximum path: 1Routing Information Sources:Gateway Distance Last UpdateDistance: external 20 internal 200 local 200
The EIGRP section shows some important details, including what k-values are used, networks configured, and administrative distance (AD) of the various route types (internal and external). The OSPF section shows the router ID, number of areas on the router, and number of area types (normal, stub, NSSA), as well as the networks configured and the AD. The section regarding BGP shows summarization status, neighbors (along with any filter lists, distribution lists, local weights, and route-maps if they were configured), and the ADs again.
That’s good stuff to know. I’ll have to put that command in usual repertoire.