Layer 3 Routing Commands
1476
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.
Use of the optional
vrf
parameter executes the command within the context
of the VRF specific routing table.
Syntax
ip route distance [vrf
vrf-name
]
integer
no ip route distance
integer
• vrf-name—The name of the VRF associated with the routing table context
used by the command. If no vrf is specified, the global routing table
context is used.
• integer — Specifies the distance (preference) of an individual static route.
(Range 1-255)
Default Configuration
Default value of distance is 1.
Command Mode
Global Configuration mode
User Guidelines
Lower route distance values are preferred when determining the best route.
The VRF identified in the parameter must have been previously created or an
error is returned.
Only IPv4 addresses are supported with the vrf parameter.
This command is only available on the N3000/N3100/N4000 switches.
Summary of Contents for N1100-ON
Page 2: ......
Page 4: ......
Page 258: ...Using the CLI 258 ...
Page 488: ...Layer 2 Switching Commands 488 Operational State Querier Operational version 1 ...
Page 656: ...Layer 2 Switching Commands 656 10 ...
Page 1128: ...Audio Visual Bridging Commands 1128 ...
Page 1186: ...Data Center Technology Commands 1186 ...
Page 1435: ...Layer 3 Routing Commands 1435 Number of Joins 7 Number of Groups 1 ...
Page 2330: ......
Page 2331: ...www dell com support dell com Printed in the U S A ...
Page 2332: ......