Posted on January 12, 2022 3:59 am
 |  Asked by Chetan Bhatt
 |  38 views
0
0
Print Friendly, PDF & Email

Looking for the command than can clear routes in the routing table – In Case there is s stale route.

I have looked around and could not find something that specifically targets the routing table

0
Posted by Stephen
Answered on January 12, 2022 3:31 pm

EOS doesn't have the "clear ip route" command as you should never have a stale route. EOS does give the ability to reset routing protocols through the clear command (clear bgp, clear ip ospf, clear isis, etc). For static routes EOS offers the ability to clear arp to instantiate the ARP learning again.

If you experience a stale route situation, namely a route learned via routing protocol but not programmed correctly in the forwarding table this is a bug and should be fixed.

If there's a use case for this command i'm missing, do reach out and happy to better understand the use case.

 

Post your Answer

You must be logged in to post an answer.