Command Reference Guide

IP Routing Commands
CLI Command Reference
September 2014 Page 513
HP Moonshot Switch Module CLI Command Reference
no ip route default
This command deletes all configured default routes. If the optional nexthopip parameter is designated, the
specific next hop is deleted from the configured default route and if the optional preference value is
designated, the preference of the configured default route is reset to its default.
ip route distance
This command sets the default distance (preference) for static routes. Lower route distance values are
preferred when determining the best route. The
ip route and ip route default commands allow you to
optionally set the distance (preference) of an individual static route. The default distance is used when no
distance is specified in these commands. Changing the default distance does not update the distance of
existing static routes, even if they were assigned the original default distance. The new default distance will
only be applied to static routes created after invoking the
ip route distance command.
no ip route distance
This command sets the default static route preference value in the router. Lower route preference values are
preferred when determining the best route.
ip netdirbcast
This command enables the forwarding of network-directed broadcasts on an interface or range of interfaces.
When enabled, network directed broadcasts are forwarded. When disabled they are dropped.
Format
no ip route default [{nexthopip | preference}]
Mode Global Config
Default 1
Format
ip route distance 1-255
Mode Global Config
Format
no ip route distance
Mode Global Config
Default disabled
Format
ip netdirbcast
Mode Interface Config