reset dhcp client statistics

Function

The reset dhcp client statistics command clears packet statistics on a DHCP client.

Format

reset dhcp client statistics [ interface { interface-type interface-number | interface-nmae } ]

Parameters

Parameter Description Value
interface interface-type interface-number

Specifies the type and number of an interface.

-

interface interface-nmae

Specifies the name of an interface.

-

Views

User view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
dhcp execute

Usage Guidelines

Usage Scenario

After the DHCP client function is enabled on a device, to view packet statistics about the DHCP client within a specified period, run the reset dhcp client statistics command to clear historical packet statistics and then run the display dhcp client statistics command.

Example

# Clear packet statistics on a DHCP client.
<HUAWEI> reset dhcp client statistics
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic