134DHCP relay agent tasks at a glanceTasks at a glance(Required.) Enabling DHCP(Required.) Enabling the DHCP relay agent on an interface(Required.) Specifying DHCP servers(Optional.) Configuring the DHCP relay agent security features(Optional.) Configuring the DHCP relay agent to release an IP address(Optional.) Configuring Option 82(Optional.) Setting the DSCP value for DHCP packets sent by the DHCP relay agent(Optional.) Configuring DHCP packet rate limit on a DHCP relay interface(Optional.) Specifying the DHCP relay agent address for the giaddr field(Optional.) Specifying the source IP address for DHCP requests(Optional.) Configuring the DHCP relay agent to always unicast relayed DHCP responses(Optional.) Configuring forwarding DHCP replies based on Option 82Enabling DHCPYou must enable DHCP to validate other DHCP relay agent settings.To enable DHCP:Step Command Remarks1. Enter system view. system-view N/A2. Enable DHCP. dhcp enable By default, DHCP is disabled.Enabling the DHCP relay agent on an interfaceWith the DHCP relay agent enabled, an interface forwards incoming DHCP requests to a DHCPserver.An IP address pool that contains the IP address of the DHCP relay interface must be configured onthe DHCP server. Otherwise, the DHCP clients connected to the relay agent cannot obtain correct IPaddresses.To enable the DHCP relay agent on an interface:Step Command Remarks1. Enter system view. system-view N/A2. Enter interface view. interface interface-typeinterface-number N/A3. Enable the DHCP relayagent. dhcp select relayBy default, when DHCP isenabled, an interface operates inthe DHCP server mode.