Managing the Routing Table

You can clear all routes from the IP routing table, and then enable the owning protocols—BGP, OSPF, RIP—to reinstall the routes.

You can use the clear ip route command to clear all routing entries or a specified entry from the IP routing table and the ip refresh-route command to reinstall routes removed from the IP routing table.

To clear all routing entries from the IP routing table:

host1#clear ip routes

To reinstall routes removed from the IP routing table:

host1#ip refresh-route

Related Documentation