DELL PC6224F User Manual

Page of 1356
IP Routing Commands
727
preference — Specifies the preference value, a.k.a administrative distance, 
of an individual static route. (Range: 1-255)
Default Configuration
Default value of preference is 1.
Command Mode
Global Configuration mode
User Guidelines
For routed management traffic:
Router entries are checked for applicable destinations.
The globally assigned default-gateway is consulted.
Router entries take precedence over an assigned default-gateway.
Example
The following example identifies the 
next-hop-ip and a preference value of 
200.
console(config)#ip route 192.168.10.10 255.255.255.0 
192.168.20.1 200
ip route distance
Use the ip route distance command in Global Configuration mode to set the 
default distance (preference) for static routes. Lower route preference values 
are preferred when determining the best route. The ip route and ip route 
default commands allow optional setting of the distance 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 are applied to static routes created 
after invoking the ip route distance command.
Syntax
ip route distance 
integer