Operation Manual
IP Services Commands
IP Services Commands
8 – 95
● set ip dns on page 8-107
● set ip dns domain on page 8-107
● set ip dns server on page 8-108
● show ip dns on page 8-136
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
Defaults
None.
Access
Enabled.
History
Examples
The following command removes the route to destination 10.10.10.68/24 through router
10.10.10.1:
MX# clear ip route 10.10.10.68/24 10.10.10.1
success: change accepted.
See Also
● set ip route on page 8-109
● show ip route on page 8-138
clear ip telnet
Resets the Telnet server TCP port number to the default value. An MX listens for Telnet
management traffic on the Telnet server port.
Syntax
clear ip telnet
Defaults
The default Telnet port number is 23.
Access
Enabled.
History
Introduced in MSS Version 1.0.
default Default route.
Note: 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.
Version 1.0 Command introduced.
Version 1.1
❑ mask and /mask-length options added. These options are required in MSS version
1.1.
❑ default-router option added, because MSS 1.1 supports multiple routes to the same
destination. This option is required in MSS version 1.1.