2-9Network diagramFigure 2-4 Network diagram for DHCP relay agentSwitch BDHCP serverSwitch ADHCP relayDHCP client DHCP clientDHCP clientDHCP clientVlan-int210.1.1.2/24Vlan-int110.10.1.1/24Vlan-int210.1.1.1/24Configuration procedure# Create DHCP server group 1 and configure an IP address of 10.1.1.1 for it. system-view[SwitchA] dhcp-server 1 ip 10.1.1.1# Map VLAN-interface 1 to DHCP server group 1.[SwitchA] interface Vlan-interface 1[SwitchA-Vlan-interface1] dhcp-server 1z You need to perform corresponding configurations on the DHCP server to enable the DHCPclients to obtain IP addresses from the DHCP server. The DHCP server configurations vary withdifferent DHCP server devices, so the configurations are omitted.z The DHCP relay agent and DHCP server must be reachable to each other.Troubleshooting DHCP Relay Agent ConfigurationSymptomA client fails to obtain configuration information through a DHCP relay agent.AnalysisThis problem may be caused by improper DHCP relay agent configuration. When a DHCP relay agentoperates improperly, you can locate the problem by enabling debugging and checking the informationabout debugging and interface state (You can display the information by executing the correspondingdisplay command.)Solutionz Check if DHCP is enabled on the DHCP server and the DHCP relay agent.