Administrator Guide

Layer 3 Routing Commands 1502
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.
Example
The following example sets the default route metric to 80.
console(config)#ip route distance 80
ip routing
Use the ip routing command in Global Configuration mode to globally
enable IPv4 routing on the router. To disable IPv4 routing globally, use the no
form of the command.
Syntax
ip routing
no ip routing
Default Configuration
Disabled is the default configuration.
Command Mode
Global Configuration mode, Virtual Router Configuration mode
User Guidelines
Use the
show ip brief
command to determine if routing is enabled or disabled.
When in virtual router configuration mode, this command operates within
the context of the virtual router instance. When in global config mode, the
command operates on the global router instance.