< Home

reset dhcp relay statistics

Function

The reset dhcp relay statistics command clears message statistics on a DHCP relay agent.

Format

reset dhcp relay statistics [ server-group group-name ]

Parameters

Parameter

Description

Value

server-group group-name

Specifies the name of a DHCP server group.

The value is a string of 1 to 32 characters without spaces. A combination of digits, letters, underscores (_), and dots (.) is allowed.

Views

User view

Default Level

3: Management level

Usage Guidelines

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.

Example

# Clear message statistics on the DHCP relay agent.

<HUAWEI> reset dhcp relay statistics
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >