< Home

reset dhcp relay statistics

Function

The reset dhcp relay statistics command deletes the DHCP relay statistics.

Format

reset dhcp relay statistics slot slot-id cpu cpu-id

Parameters

Parameter Description Value
slot slot-id Specifies the slot ID. -
cpu cpu-id Specifies the CPU ID. -

Views

System view

Default Level

2: Configuration level

Usage Guidelines

The reset dhcp relay statistics command is applicable to DHCP relay agents. During DHCP troubleshooting, statistics about the packets sent and received within a specified period of time need to be checked. Before collecting packet statistics, run the reset dhcp relay statistics command to clear the existing packet statistics. Then run the display dhcp relay statistics command to view packet statistics about the DHCP relay agent.

Example

# Clear statistics about the DHCP relay.

<sysname> system-view
[sysname] reset dhcp relay statistics
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >