Operation Manual – DHCP
H3C S3610&S5510 Series Ethernet Switches
Chapter 4 DHCP Client Configuration
4-2
Device Model
Vendor and device information
S5510-24P
H3C. H3C S5510-24P
4.2 Enabling the DHCP Client on an Interface
Follow these steps to enable the DHCP client on an interface:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter interface view
interface
interface-type
interface-number
—
Enable the DHCP
client on the interface
ip address dhcp-alloc
[
client-identifier
mac
interface-type
interface-number
]
Required
Disabled by default.
Note:
z
An interface can be configured to acquire an IP address in multiple ways, but these
ways are exclusive. The latest configuration will overwrite the previous
configuration.
z
After the DHCP client is enabled on an interface, no secondary IP address is
configurable for the interface.
z
If the IP address assigned by the DHCP server shares a network segment with the
IP addresses of other interfaces on the device, the DHCP client enabled interface
will not request any IP address of the DHCP server unless the conflicted IP address
is manually deleted and the interface is made UP again by first executing the
shutdown
command and then the
undo shutdown
command or the DHCP client is
enabled on the interface by executing the
undo ip address dhcp-alloc
and
ip
address dhcp-alloc
commands in sequence.
4.3 Displaying and Maintaining the DHCP Client
To do…
Use the command…
Remarks
Display specified
configuration information
display dhcp client
[
verbose
] [
interface
interface-type
interface-number
]
Available in any view