Command:

show ip rip database


Mode:

Router>


Syntax:

show ip rip database [ip-address {mask}]

Syntax Description:

ip-address

(Optional) Address about which routing information should be displayed.

mask

Argument for the subnet mask. The subnet mask must also be specified if the IP address argument is entered.

Command Description:

To display summary address entries in the Routing Information Protocol (RIP) routing database entries if relevant are routes being summarized based upon a summary address, use the show ip rip database command in EXEC mode.

 

Summary address entries will appear in the database only if relevant child routes are being summarized. When the last child route for a summary address becomes invalid, the summary address is also removed from the routing table.


The RIP private database is populated only if triggered extensions to RIP are enabled with the ip rip triggered command.


Example:

The following output shows a summary address entry for route 10.11.0.0/16, with three child routes active:

Router#show ip rip database

10.0.0.0/8 auto-summary

10.11.11.0/24 directly connected, Ethernet2

10.1.0.0/8 auto-summary

10.11.0.0/16 int-summary

10.11.10.0/24 directly connected, Ethernet3

10.11.11.0/24 directly connected, Ethernet4

10.11.12.0/24 directly connected, Ethernet5


The following is sample output from the show ip rip database command with a prefix and mask:


Router#show ip rip database 172.19.86.0 255.255.255.0

172.19.86.0/24

[1] via 172.19.67.38, 00:00:25, Serial0

[2] via 172.19.70.36, 00:00:14, Serial1

Table 3 describes the fields in the displays.

 

Table 3   show ip rip database Field Descriptions

Field

Description

10.0.0.0/16 auto-summary

Summary address entry.

10.11.11.0/24 directly connected, Ethernet0

Directly connected entry for Ethernet 0.

172.19.65.0/24

[1] via 172.19.70.36, 00:00:17, Serial0

[2] via 172.19.67.38, 00:00:25, Serial1

The destination 172.19.65.0/24 is learned via RIP. There are two sources advertising it. One is 172.19.70.36 via Serial interface0, and it was updated 17 seconds ago. The other source is 172.19.67.38 via Serial interface 1, and it was updated 25 seconds ago.


Misconceptions:

           None.


Related Commands:


ip rip triggered
ip summary-address rip 
show ip protocols 

� Cisco Systems, Inc. 2001, 2002, 2003
World Wide Education

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)