< Home

reset dhcp snooping statistics

Function

The reset dhcp snooping statistics command deletes the number of discarded packets globally, on the VLAN or on the interface.

Format

reset dhcp snooping statistics { global | [ vlan vlan-id ] interface interface-type interface-number }

Parameters

Parameter Description Value
global Clear the number of discarded packets globally. -
vlan vlan-id Specifies the VLAN ID. The value ranges from 1 to 4094.
interface interface-type interface-number Specifies the type and number of an interface. -

Views

System view

Default Level

2: Configuration level

Usage Guidelines

The types of packets can be ARP, IP, DHCP request, DHCP CHADDR, and DHCP reply.

Example

# Clear statistics about dropped packets on VLANIF 1.

<sysname> system-view
[sysname] reset dhcp snooping statistics interface Vlanif 1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic