Command
Clear IP Route *
Use
Clears the routing table.
Syntax
Route#clear ip route *
Example
For this example, the routing table is cleared on R2. Here is the routing table before clearing it.
R2(config-router)#do show ip route rip |
Next, the routing table is cleared.
R2(config-router)#do clear ip route * |
After clearing the table, show ip route rip is executed and returns nothing.
R2(config-router)#do show ip route ripR2(config-router)# |
Shortly after, the routing table refreshes.
R2(config-router)#do show ip route rip |