cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5822
Views
0
Helpful
2
Replies

clear ip route * and dynamic routing behaviour

ONUR CICEK
Level 1
Level 1

 

Hi,

Can somebody please explain why "  clear ip route *  " makes RIP database renew but no effect on other protocols' database - EIGRP, OSPF and BGP?

I've tested it and just RIP affected. what is difference of RIP from other protocols?

 

Rgds

 

 

1 Accepted Solution

Accepted Solutions

Sunil Bhadauria
Level 1
Level 1

Hello,

 

Clear ip route also triggers refresh for rip database .while in other protocols it does not do so ( eg, in ospf spf runs for prefixes ) .

You can see this by enabling " debug ip rip database" :

 

Router#clear ip route * 
Router#
*Sep 24 22:10:48.207: RIP-DB: clear database

HTH

Regards

Sunil Bhadauria

 

View solution in original post

2 Replies 2

Akash Agrawal
Cisco Employee
Cisco Employee

 

Hi,

 

routing table gets populated with all the routing protocol route database and if same route available with multiple routing protocol, route with lowest AD get installed in routing table.

Now "clear ip route * " should just repopulate the routing table with existing info available in the routing database of various routing protocol.

 

Can you please share the logs indicating "clear ip route * " is refreshing the RIP database and when not doing clear it is stable. By default in RIP, every 30 second, complete routing table is exchanged. You can change this timer with command "timers basic update invalid holddown flush "

 

--Pls dont forget to rate helpful posts--

Regards,

Akash

Sunil Bhadauria
Level 1
Level 1

Hello,

 

Clear ip route also triggers refresh for rip database .while in other protocols it does not do so ( eg, in ospf spf runs for prefixes ) .

You can see this by enabling " debug ip rip database" :

 

Router#clear ip route * 
Router#
*Sep 24 22:10:48.207: RIP-DB: clear database

HTH

Regards

Sunil Bhadauria