Operation Manual – DHCPH3C S3100 Series Ethernet Switches Chapter 4 DHCP/BOOTP Client Configuration4-24.3 Configuring a DHCP/BOOTP ClientTable 4-1 Configure a DHCP/BOOTP clientOperation Command DescriptionEnter system view system-view —Enter VLAN interface view interface Vlan-interfacevlan-id —Configure the VLANinterface to obtain IPaddress through DHCP orBOOTPip address { bootp-alloc| dhcp-alloc }RequiredBy default, no IP addressis configured for the VLANinterface.Note:Currently, an S3100 Ethernet switch functioning as the DHCP client can use an IPaddress for 24 days at most. That is, the DHCP client can obtain an address lease forno more than 24 days even though the DHCP server offers a longer lease period.Note:To improve security and avoid malicious attack to the unused SOCKETs, S3100Ethernet switches provide the following functions:z UDP 67 and UDP 68 ports used by DHCP are enabled only when DHCP is enabled.z UDP 67 and UDP 68 ports are disabled when DHCP is disabled.The specific implementation is:z Using the ip address dhcp-alloc command enables the DHCP client, and UDPport 68.z Using the undo ip address dhcp-alloc command disables the DHCP client, andUDP port 68.4.4 DHCP Client Configuration ExampleI. Network requirementsUsing DHCP, VLAN-interface 1 of Switch A is connected to the LAN to obtain an IPaddress from the DHCP server.