3-2z An interface can be configured to acquire an IP address in multiple ways, but these ways aremutually exclusive. The latest configuration will overwrite the previous one.z After the DHCP client is enabled on an interface, no secondary IP address is configurable for theinterface.z If the IP address assigned by the DHCP server shares a network segment with the IP addresses ofother interfaces on the device, the DHCP client enabled interface will not request any IP address ofthe DHCP server, unless the conflicted IP address is manually deleted and the interface is madeUP again by first executing the shutdown command and then the undo shutdown command orthe DHCP client is enabled on the interface by executing the undo ip address dhcp-alloc and ipaddress dhcp-alloc commands in sequence.Displaying and Maintaining the DHCP ClientTo do… Use the command… RemarksDisplay specifiedconfiguration informationdisplay dhcp client [ verbose ] [ interfaceinterface-type interface-number ] Available in any viewDHCP Client Configuration ExampleNetwork requirementsAs shown in Figure 3-1, on a LAN, Switch B contacts the DHCP server via VLAN-interface 1 to obtain anIP address.Figure 3-1 Network diagram for DHCP ClientWINS server10.1.1.4/25ClientSwitch BClientDNS server10.1.1.2/25 DHCP serverVlan-int110.1.1.1/25Vlan-int1Gateway A10.1.1.126/25Configuration procedureThe following is the configuration on Switch B shown in Figure 3-1.# Enable the DHCP client on VLAN-interface 1.