2-5To improve security and avoid malicious attack to the unused SOCKETs, S4500 Ethernet switchesprovide 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 corresponding implementation is as follows:z When a VLAN interface is mapped to a DHCP server group with the dhcp-server command, theDHCP relay agent is enabled. At the same time, UDP 67 and UDP 68 ports used by DHCP areenabled.z When the mapping between a VLAN interface and a DHCP server group is removed with the undodhcp-server command, DHCP services are disabled. At the same time, UDP 67 and UDP 68ports are disabled.z You can configure up to eight DHCP server IP addresses in a DHCP server group.z You can map multiple VLAN interfaces to one DHCP server group. But one VLAN interface can bemapped to only one DHCP server group.z If you execute the dhcp-server groupNo command repeatedly, the new configuration overwritesthe previous one.z You need to configure the group number specified in the dhcp-server groupNo command in VLANinterface view by using the command dhcp-server groupNo ip ip-address&<1-8> in advance.Configuring DHCP Relay Agent Security FunctionsConfiguring address checkingAfter relaying an IP address from the DHCP server to a DHCP client, the DHCP relay agent canautomatically record the client’s IP-to-MAC binding and generate a dynamic address entry. It alsosupports static bindings, which means you can manually configure IP-to-MAC bindings on the DHCPrelay agent, so that users can access external network using fixed IP addresses.The purpose of the address checking function on DHCP relay agent is to prevent unauthorized usersfrom statically configuring IP addresses to access external networks. With this function enabled, aDHCP relay agent inhibits a user from accessing external networks if the IP address configured on theuser end and the MAC address of the user end do not match any entries (including the entriesdynamically tracked by the DHCP relay agent and the manually configured static entries) in the useraddress table on the DHCP relay agent.Follow these steps to configure address checking:To do… Use the command… RemarksEnter system view system-view —