5 ip route default, 6 ip route distance, Ip route default - 8 – Kontron AT8904 CLI User Manual
Page 122: Ip route distance - 8, Routing commands at8904m

Routing Commands
AT8904M
AT8904M CLI Reference Manual
Page 3 - 8
routing protocols. The preference also controls whether a static route is more or less
preferred than other static routes to the same destination. A route with a preference of
255 cannot be used to forward traffic.
For the static routes to be visible, you must perform the following steps:
•
Enable ip routing globally.
•
Enable ip routing for the interface.
•
Confirm that the associated link is also up.
Default
preference—1
Format
ip route
Mode
Global Config
3.2.4.1
no ip route
This command deletes a single next hop to a destination static route. If you use the
parameter, the next hop is deleted. If you use the
value,
the preference value of the static route is reset to its default.
Format
no ip route
ence>}]
Mode
Global Config
3.2.5
ip route default
This command configures the default route. The value for
is a valid IP
address of the next hop router. The
is an integer value from 1 to 255. A
route with a preference of 255 cannot be used to forward traffic.
Default
preference—1
Format
ip route default
Mode
Global Config
3.2.5.1
no ip route default
This command deletes all configured default routes. If the optional
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.
Format
no ip route default
[{
Mode
Global Config
3.2.6
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.