reset dhcp snooping statistics { global | interface interface-type interface-number [ vlan vlan-id ] | vlan vlan-id [ interface interface-type interface-number ] }
Parameter | Description | Value |
---|---|---|
global |
Clears global DHCP snooping statistics. |
- |
interface interface-type interface-number |
Clears DHCP Snooping statistics on the specified interface.
|
- |
vlan vlan-id |
Clears DHCP snooping statistics in the specified VLAN. vlan-id specifies a VLAN ID. |
vlan-id is an integer that ranges from 1 to 4094. |
Usage Scenario
If statistics are collected after DHCP snooping is enabled, you can run the reset dhcp snooping statistics command to clear the statistics.
Precautions
If both interface and vlan are specified, the specified interface must have been added to the specified VLAN. The reset dhcp snooping statistics command is used to clear DHCP snooping statistics in the VLAN to which the specified interface is added.