A SERVICE OF

logo

130 CHAPTER 7: IP SERVICES COMMANDS
See Also
clear ip dns domain on page 129
display ip dns on page 144
set ip dns on page 164
set ip dns domain on page 165
set ip dns server on page 166
clear ip route Removes a route from the IP route table.
Syntax clear ip route {default | ip-addr mask |
ip-addr/mask-length} gateway
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).
gateway — 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 gateway 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 146
set ip route on page 167