728 IP Routing Commands
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 Configuration mode