Usage Scenario
This command applies to DHCP relay agents. Collecting statistics on the DHCP messages sent and received within a specified period helps you locate DHCP faults. Run the
reset dhcp relay statistics [
server-group group-name ] command to clear original statistics on DHCP messages, and run the
display dhcp relay statistics [
server-group group-name ] command to view packet statistics about the DHCP relay agent.
- Run the reset dhcp relay statistics server-group group-name command to clear message statistics on DHCP relay agents connected to DHCP servers in a specified DHCP server group. The DHCP server group name needs to be specified.
- Run the reset dhcp relay statistics command to clear message statistics on all DHCP relay agents besides DHCP relay agents connected to DHCP servers in the DHCP server group.
Precautions
The reset dhcp relay statistics command can be run multiple times at any interval.