![Dell PowerConnect 5316M Reference Manual Download Page 159](http://html.mh-extra.com/html/dell/powerconnect-5316m/powerconnect-5316m_reference-manual_86074159.webp)
IP Addressing Commands
139
User Guidelines
• The
ip address dhcp
command allows any interface to dynamically learn its IP address by
using the DHCP protocol.
• Some DHCP Servers require that the DHCPDISCOVER message have a specific host name.
The most typical usage of the
ip address dhcp
hostname
host-name
command is when
host-
name
is the host name provided by the system administrator.
• If the Ethernet Switch Module is configured to obtain its IP address from a DHCP server, it
sends a DHCPDISCOVER message to provide information about itself to the DHCP server
on the network.
• If the
ip address dhcp
command is used with or without the optional keyword, the DHCP
option 12 field (host name option) is included in the DISCOVER message. By default, the
specified DHCP host name is the Ethernet Switch Module globally configured host name.
• However, you can use the
ip address dhcp hostname
host-name
command to place a different
name in the DHCP option 12 field than the globally configured host name of the Ethernet
Switch Module.
• The
no ip address dhcp
command deconfigures any IP address that was acquired, thus
sending a DHCPRELEASE message.
Example
The following example acquires an IP address on an Ethernet interface g16 from DHCP.
ip default-gateway
The
ip default-gateway
Global Configuration mode command defines a default gateway (router).
To remove the default gateway use the
no
form of this command.
Syntax
ip default-gateway
ip-address
no ip default-gateway
•
ip-address
— Valid IP address that specifies the IP address of the default gateway.
Default Configuration
No default gateway is defined.
Command Mode
Global Configuration mode
console(config)#
interface ethernet
g16
console(config-if)#
ip address dhcp
Summary of Contents for PowerConnect 5316M
Page 1: ...w w w d e l l c o m s u p p o r t d e l l c o m Dell PowerConnect 5316M CLI Reference Guide ...
Page 19: ...Contents 19 show dot1x advanced 356 ...
Page 20: ...20 Contents ...
Page 44: ...24 Command Groups ...
Page 56: ...36 Command Modes ...
Page 66: ...46 Using the CLI ...
Page 92: ...72 Address Table Commands ...
Page 108: ...88 Clock ...
Page 140: ...120 Ethernet Configuration Commands ...
Page 156: ...136 IGMP Snooping Commands ...
Page 178: ...158 Line Commands ...
Page 188: ...168 LLDP Commands ...
Page 198: ...178 PHY Diagnostics Commands ...
Page 206: ...186 Port Monitor Commands ...
Page 216: ...196 QoS Commands ...
Page 238: ...218 RMON Commands ...
Page 258: ...238 SNMP Commands ...
Page 284: ...264 Spanning Tree Commands ...
Page 294: ...274 SSH Commands ...
Page 304: ...284 Syslog Commands ...
Page 332: ...312 User Interface ...
Page 348: ...328 VLAN Commands ...
Page 360: ...340 Web Server ...