Viewing Dynamic Routing Protocol Information

 

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
IOS EXEC EIGRP Command Function
show ip eigrp interfaces Displays information about interfaces configured for IP EIGRP.
show ip eigrp neighbors Displays the neighbors discovered by IP EIGRP.
show ip eigrp topology Displays the IP EIGRP topology table.
show ip eigrp traffic Displays the number of packets sent and received for the IP EIGRP process (es).
Table 4-4. OSPF IOS EXEC Commands
IOS EXEC OSPF Command Function
show ip ospf Displays general information about OSPF routing processes.
show ip ospf database Displays multiple lists of information related to the OSPF database.
show ip ospf database router Displays the router link information from the OSPF database.
show ip ospf database network Displays the network link information from the OSPF database.
show ip ospf database external Displays the external network link information from the OSPF database.
show ip ospf database database-summary Displays summary information regarding the OSPF database.
show ip ospf border-routers Displays the internal OSPF routing table entries to Area Border Routers (ABR) and Autonomous System Boundary Routers (ASBR).
show ip ospf interface Displays interface-specific OSPF-related information.
show ip ospf neighbor Displays OSPF neighbor information.
Table 4-5. BGP IOS EXEC Commands
IOS EXEC BGP Command Function
show ip bgp cidr-only Displays all BGP routes that contain subnet and supernet network masks.
show ip bgp filter-list access-list-number Displays routes that are matched by the specified autonomous system path access list.
show ip bgp regexp regular-expression Displays the routes that match the specified regular expression entered on the command line.
show ip bgp [network] [network-mask] [subnets] Displays the contents of the BGP routing table.
show ip bgp neighbors Displays detailed information on the TCP and BGP connections to individual neighbors.
show ip bgp neighbors [ address ] routes Displays routes learned from a particular BGP neighbor.
show ip bgp neighbors [ address ] advertised Displays routes advertised to a particular BGP neighbor.
show ip bgp neighbors [ address ] paths Displays paths learned from a particular BGP neighbor.
show ip bgp paths Displays all BGP paths in the BGP database.
show ip bgp summary Displays the status of all BGP peer connections.


Cisco Router Configuration
Cisco Router Configuration (2nd Edition)
ISBN: 1578702410
EAN: 2147483647
Year: 1999
Pages: 116

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net