beautypg.com

Displaying and maintaining the dhcp client, Dhcp client configuration example, Network requirements – H3C Technologies H3C WX6000 Series Access Controllers User Manual

Page 392: Network diagram, Configuration procedure, 2 dhcp client configuration example

background image

37-2

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.

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

DHCP Client Configuration Example

Network requirements

On a LAN, AC contacts the DHCP server via VLAN-interface 1 to obtain an IP address.

Network diagram

Figure 37-1

A DHCP network

Configuration procedure

The following is the configuration on AC shown in

Figure 37-1

.

# Enable the DHCP client on VLAN-interface 1.

system-view

[AC] interface vlan-interface 1