Manoj Reddy's Reference Guide

clear ip route

To delete routes from the IP routing table, use the clear ip route EXEC command.

clear ip route {network [mask] | * }

Syntax Description

network 

Network or subnet address to remove.

mask 

(Optional) Subnet address to remove.

*

Removes all routing table entries.

Defaults

All entries are removed.

Command Modes

EXEC

Command History

ReleaseModification
10.0

This command was introduced.

Examples

The following example removes a route to network 132.5.0.0 from the IP routing table:

clear ip route 132.5.0.0

Printed for apswan@ctr.ap.nic.in on Wed Mar 5 22:32:57 PST 2003

All material in this document copyright 2000 Cisco Systems, Inc. All rights reserved. No material may be reproduced or distributed without written permission of Cisco Systems, Inc.