Displaying And Maintaining The Dhcp Client; Dhcp Client Configuration Example - H3C S5120-EI Series Operation Manual

Ethernet switches
Hide thumbs Also See for S5120-EI Series:
Table of Contents

Advertisement

An interface can be configured to acquire an IP address in multiple ways, but these ways are
mutually exclusive. The latest configuration will overwrite the previous one.
After the DHCP client is enabled on an interface, no secondary IP address is configurable for the
interface.
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.

Displaying and Maintaining the DHCP Client

To do...
Display specified
configuration information

DHCP Client Configuration Example

Network requirements
As shown in
Figure
IP address.
Figure 3-1 Network diagram for DHCP Client
Configuration procedure
The following is the configuration on Switch B shown in
# Enable the DHCP client on VLAN-interface 1.
Use the command...
display dhcp client [ verbose ] [ interface
interface-type interface-number ]
3-1, on a LAN, Switch B contacts the DHCP server via VLAN-interface 1 to obtain an
Figure
3-1.
3-2
Remarks
Available in any view

Advertisement

Table of Contents
loading

Table of Contents