Ip Route Distance - Dell PowerEdge M420 Reference Manual

Dell powerconnect m6220/m6348/m8024/m8024-k cli reference guide
Hide thumbs Also See for PowerEdge M420:
Table of Contents

Advertisement

Using this command, the administrator may manually configure a single,
global default gateway. The switch installs a default route for a configured
default gateway with a preference of 253, making it more preferred than the
default gateways learned via DHCP , but less preferred than a static default
route. The preference of these routes is not configurable.
The switch installs a default route for the default gateway whether or not
routing is globally enabled. When the user displays the routing table (e.g.
show ip route), the display identifies the default gateway, if one is known.
Use the show ip route static all command to display the configured static
routes and preferences.
Example
The following example identifies the
200.
console(config)#ip route default 192.168.10.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
no ip route distance
integer — Specifies the distance (preference) of an individual static route.
(Range 1-255)
Default Configuration
Default value of distance is 1.
integer
integer
next-hop-ip
and a preference value of
IP Routing Commands
923

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents