clear ip route
Clears entire IP route table or specific routes.
Parameters
Modes
Privileged EXEC mode
Usage Guidelines
The command, when used without any parameters, clears the entire IP route table.
When an interface subnet route with an interface address that directly matches a host
route learned from a neighboring device is configured and subsequently removed, the
clear ip route command should be used so that the learned route is updated in the Routing and Hardware
Forwarding table.
Note: The L2 and L3 protocols might flap in case the number of L3 routes are more.