CLI Reference Guide
618 IP Routing Commands
www.dell.com | support.dell.com
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
no ip route distance
integer
•
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.
Example
The following example sets the default route metric to 80.
console(config)#ip route distance 80
ip routing
To globally enable IPv4 routing on the router, use the "ip routing" command in Global
Configuration mode. To disable IPv4 routing globally, use the
no
form of this command.
Syntax
ip routing
no ip routing
Default Configuration
The ip routing default configuration is disabled.
Command Mode
Global Config
User Guidelines
Use this command to globally enable IPv4 routing.