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: 131.108.0.0 Routing Information Sources: Gateway Distance Last Update 131.108.20.1 90 00:04:13 131.108.20.2 90 00:04:13 131.108.20.4 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 192.7.2.1 150 Routing for Networks: 131.108.0.0 Routing Information Sources: Gateway Distance Last Update (this router) 200 1w5d 192.7.2.1 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
|