2-25Follow these steps to configure IP address detecting:To do… Use the command… RemarksEnter system view system-view —Specify the number of ping packets dhcp server ping packetsnumberOptionalTwo ping packets by default.Configure a timeout waiting forping responsesdhcp server ping timeoutmillisecondsOptional500 ms by default.Configuring DHCP Accounting FunctionsIntroduction to DHCP AccountingDHCP accounting allows a DHCP server to notify the RADIUS server of the start/end of accountingwhen it assigns/releases a lease. The cooperation of DHCP server and RADIUS server implements thenetwork accounting function and ensures network security at the same time.DHCP Accounting FundamentalsAfter you complete AAA and RADIUS configuration on a switch with the DHCP server function enabled,the DHCP server acts as a RADIUS client. For the authentication process of the DHCP server acting asa RADIUS client, refer to AAA Operation in this manual. The following describes only the accountinginteraction between DHCP server and RADIUS server.z After sending a DHCP-ACK packet with the IP configuration parameters to the DHCP client, theDHCP server sends an Accounting START packet to a specified RADIUS server. The RADIUSserver processes the packet, makes a record, and sends a response to the DHCP server.z Once releasing a lease, the DHCP server sends an Accounting STOP packet to the RADIUSserver. The RADIUS server processes the packet, stops the recording for the DHCP client, andsends a response to the DHCP server. A lease can be released for the reasons such as leaseexpiration, a release request received from the DHCP client, a manual release operation, anaddress pool removal operation.If the RADIUS server of the specified domain is unreachable, the DHCP server sends up to threeAccounting START packets (including the first sending attempt) at regular intervals. If the three packetsbring no response from the RADIUS server, the DHCP server does not send Accounting STARTpackets any more.DHCP Accounting ConfigurationPrerequisitesBefore configuring DHCP accounting, make sure that: