beautypg.com

Dhcp client configuration, Introduction to dhcp client, Enabling the dhcp client on an interface – H3C Technologies H3C S10500 Series Switches User Manual

Page 78: Displaying and maintaining the dhcp client

background image

67

DHCP client configuration

NOTE:

The DHCP client configuration is supported only on Layer 3 Ethernet ports (or subinterfaces), VLAN
interfaces, and Layer 3 aggregate interfaces.

When multiple VLAN interfaces with the same MAC address use DHCP for IP address acquisition via a
relay agent, the DHCP server cannot be a Windows Server 2000 or Windows Server 2003.

You cannot configure an interface of an aggregation group as a DHCP client.

Introduction to DHCP client

With DHCP client enabled, an interface uses DHCP to obtain configuration parameters such as an IP

address from the DHCP server.

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:

An interface can be configured to acquire an IP address in multiple ways. The latest configuration
overwrites the previous one.

Secondary IP addresses cannot be configured on an interface that is enabled with the DHCP client.

If the IP address that interface A obtains from the DHCP server is on the same network segment as the
IP address of interface B, interface A neither uses the IP address nor requests any IP address from the
DHCP server unless you do the following: Delete the IP address of interface B and bring up interface A

again by first executing the shutdown command and then the undo shutdown command, or, re-enable

the DHCP client on interface A by executing the undo ip address dhcp-alloc command and then the ip
address dhcp-alloc command.

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 ] [ | { begin |

exclude | include } regular-expression ]

Available in any view