The operation and configuration of the dynamic routing protocols can be verified with a number of IOS EXEC commands. These commands fall into two categories, protocol-independent and protocol-specific . Let's look at the protocol-independent commands first.
As examined in the section "Configuring IP Routing Protocols," the IOS EXEC command show ip route can be used to determine whether routes are being learned via dynamic routing protocols and to determine the attributes of those routes.
Determining which routing protocols are running and the various attributes of those protocols is performed with the IOS EXEC command show ip protocols . This command takes an optional keyword parameter summary . The summary version of the command lists only the routing protocol name and the process-id, as applicable . The following is sample output from the show ip protocols summary command on the ZIP SF-Core-1 router:
SF-Core-1# show ip protocols summary Index Process Name 0 connected 1 static 2 eigrp 25000 3 bgp 25000
The standard version of the show ip protocols command lists all the routing protocols being run and the numerous attributes of those protocols, including routing update sources, distribute filter lists applied, metric information, and which networks are being advertised. The following is an example of the output of the show ip protocols command on the ZIP SF-Core-1 router running EIGRP and BGP:
SF-Core-1# show ip protocols Routing Protocol is "eigrp 25000" 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 Default networks accepted from incoming updates EIGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0 EIGRP maximum hopcount 100 EIGRP maximum metric variance 1 Redistributing: connected, eigrp 1 Automatic network summarization is not in effect Routing for Networks: 188.8.131.52 Routing Information Sources: Gateway Distance Last Update 184.108.40.206 90 00:04:13 220.127.116.11 90 00:04:13 18.104.22.168 90 00:04:13 Distance: internal 90 external 170 Routing Protocol is "bgp 25000" Sending updates every 60 seconds, next due in 0 seconds Outgoing update filter list for all interfaces is 2 Incoming update filter list for all interfaces is 1 IGP synchronization is disabled Automatic route summarization is enabled Neighbor(s): Address FiltIn FiltOut DistIn DistOut Weight RouteMap 22.214.171.124 150 Routing for Networks: 126.96.36.199 Routing Information Sources: Gateway Distance Last Update (this router) 200 1w5d 188.8.131.52 20 1w3d Distance: external 20 internal 200 local 200
Complex routing protocols such as EIGRP, OSPF, and BGP provide access to multiple attributes, tables, and databases of information regarding their operation, configuration, and topology. Tables 4-3, 4-4, and 4-5 show the common IOS EXEC commands used to view protocol information for EIGRP, OSPF, and BGP, respectively.
Table 4-3. EIGRP IOS EXEC Commands
Table 4-4. OSPF IOS EXEC Commands
Table 4-5. BGP IOS EXEC Commands