Routing table configuration
clear ip route
Use the clear ip route command to delete all the dynamic routing entries from the routing
table.
Syntax
clear ip route {all | ip_addr [ip_mask]}
Parameters
Parameter
all
ip_addr
ip_mask
User Level
read-write
Context
general
Example
To clear the entire routing table:
G450-001(super)# clear ip route all
To clear the routing entry of IP address 192.168.49.1 with IP mask of 255.255.255.0:
G450-001(super)# clear ip route 192.168.49.1 255.255.255.0
Related Commands
ip
default-gateway,
route
best-match,
traceroute
Description
Keyword specifying to clear the entire
routing table
The IP address of a specific dynamic routing
entry to clear
The IP mask of a specific dynamic routing
subnet to clear
ip
netmask-format,
ip
show ip route
static,
show ip route
redirects,
ip
route,
ip
routing,
summary,
Routing table configuration
Possible
Default
Values
Value
show ip
route,
show ip route
track-table,
Issue 1 January 2008
show ip
883