736 CHAPTER 52: DHCP RELAY AGENT CONFIGURATION COMMANDSdhcp select relaySyntax dhcp select relayundo dhcp select relayView Interface viewParameter NoneDescription Use the dhcp select relay command to enable the relay agent on the currentinterface, specified or all interfaces. Upon receiving requests from an enabledinterface, the relay agent will forward these requests to outside DHCP servers forIP address allocation.Use the undo dhcp select relay command to restore the default on interface(s).After DHCP is enabled, the DHCP server is enabled on an interface by default. Thatis, upon receiving a client’s request from the interface, the DHCP server allocatesan IP address from the DHCP address pool to the client.When the working mode of the interface is changed from DHCP server to DHCPrelay agent, neither the IP address leases nor the authorized ARP entries will bedeleted. However, these ARP entries may conflict with the new static entriesgenerated on the DHCP relay agent; therefore, you are recommended to deletethe existing IP address leases when changing the interface working mode to DHCPrelay agent.Example # Enable the DHCP relay agent on the interface Ethernet1/0. system-view[Sysname] interface ethernet 1/0[Sysname-Ethernet1/0] dhcp select relaydhcp update arpSyntax dhcp update arpundo dhcp update arpView Interface viewParameter NoneDescription Use the dhcp update arp command to configure the DHCP relay agent tosupport authorized ARP.Use the undo dhcp update arp command to restore the default.By default, the DHCP relay agent does not support authorized ARP.