140 CHAPTER 7: IP SERVICES COMMANDS
See Also
clear ip dns domain on page 139
display ip dns on page 154
set ip dns on page 175
set ip dns domain on page 175
set ip dns server on page 176
clear ip route Removes a route from the IP route table.
Syntax — clear ip route {default | ip-addr mask |
ip-addr/mask-length} default-router
default — Default route.
default is an alias for IP address 0.0.0.0/0.
ip-addr mask — IP address and subnet mask for the route
destination, in dotted decimal notation (for example, 10.10.10.10
255.255.255.0).
ip-addr/mask-length — IP address and subnet mask length in CIDR
format (for example, 10.10.10.10/24).
default-router — IP address, DNS hostname, or alias of the
next-hop router.
Defaults — None.
Access — Enabled.
History — Introduced in MSS Version 3.0.
Examples — The following command removes the route to destination
10.10.10.68/24 through router 10.10.10.1:
WX1200# clear ip route 10.10.10.68/24 10.10.10.1
success: change accepted.
See Also
display ip route on page 156
set ip route on page 178