Korenix Technology Co., Ltd.
Industrial
Layer 3 Managed Ethernet Switch
_____________________________________________________________________________
Industrial Layer 3 Managed Ethernet SwitchUser Manual
Page: 680/1568
7.2.2.7
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.
Syntax
ip route distance <1-255>
<1-255> -
Default the Distance value of static routes. The range is 1 to 255.
Default Setting
The default preference value is 1.
Command Mode
Global Config