Users Guide

Table Of Contents
Switch Management Commands 2005
Command Mode
Global Configuration mode, Virtual Router Configuration mode
User Guidelines
When the system does not have a more specific route to a packet’s
destination, it sends the packet to the default gateway. The system installs a
default IPv4 route with the gateway address as the next hop address. The
route preference is 253. A default gateway configured with this command is
more preferred than a default gateway learned from a DHCP server, which has
a route preference of 254. It is less preferred than a static route configured via
the
ip route
command, which has a route preference of 1. Use the
show ip
route
command to display the active default gateway.
Only one default gateway can be configured. If you invoke this command
multiple times, each command replaces the previous value. When in Virtual
Router Configuration mode, this command operates within the context of
the virtual router instance. When in Global Configuration mode, the
command operates on the global router instance.
Virtual Router Configuration mode is only available on the Dell EMC
Networking N3000/N3100-ON/N4000 switches.
Setting a default gateway on the in-band network may make indirectly
connected hosts on the out-of-band network unreachable. Dell EMC N1100-
ON switches support configuration of a single default gateway. If a
subsequent gateway is configured, the prior configuration is overwritten. Dell
EMC N1100-ON switches do not support routing.
Example
The following example sets the default-gateway to 10.1.1.1.
console(config)#ip default-gateway 10.1.1.1.
ip domain-lookup
Use the ip domain-lookup command in Global Configuration mode to
enable IP Domain Naming System (DNS)-based host name-to-address
translation. To disable the DNS, use the no form of this command.