Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

clear ip route * and dynamic routing behaviour

 

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
Cisco Employee

Hello, Clear ip route also

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

 

2 REPLIES
Cisco Employee

 Hi, routing table gets

 

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

Cisco Employee

Hello, Clear ip route also

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

 

360
Views
0
Helpful
2
Replies
CreatePlease to create content