Deleting a route and its next hops

Last Updated : Nov 06, 2012 |

Procedure

Use the no ip route command to delete the route including all of its next-hops.

This deletes all of the next-hops, whether entered individually or with a single command. For example, to specify next hops 149.49.54.1 and 149.49.75.1 as a static route to the network 10.1.1.0, do one of the following:

  • Enter ip route 10.1.1.0 24 149.49.54.1 149.49.75.1, specifying all next hops together

  • Enter both ip route 10.1.1.0 24 149.49.54.1 and ip route 10.1.1.0 24 149.49.75.1