cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
32046
Views
5
Helpful
2
Replies

Does the command clear all routes in routing table?

huangzhy
Level 1
Level 1

Does the command " clear ip route * " clear all ip route entry in routing table including the static route?

2 Replies 2

Prashanth Krishnappa
Cisco Employee
Cisco Employee

Yes it does. Clear ip route * clear all the routes in that router's routing table.

Gilles Dufour
Cisco Employee
Cisco Employee

yes it will clear all routes.

But due to their nature, static routes will reappear immediately.

If you want to remove a static route, you need to go in config mode and do a 'no ip route x.x.x.x x.x.x.x'