beautypg.com

36 dhcp snooping commands, 1 clear dhcp snooping, 2 dhcp snooping – CANOGA PERKINS 9175 Command Reference User Manual

Page 628

background image

CanogaOS Command Reference

36-1

36 DHCP Snooping Commands

36.1 clear dhcp snooping

Use the clear dhcp snooping privileged EXEC command on the switch to clear the DHCP binding database

agent statistics or the DHCP snooping statistics counters.


Command Syntax

clear dhcp snooping {binding [ipv4 ip-address | mac mac-address | vlan vlan-id] | statistics}

binding Clear the DHCP snooping binding database.

ipv4 ip-address Clear the binding entry IP address.

mac mac-address

Clear the binding entry MAC address.

vlan vlan-id Clear the binding entry VLAN.

statistics

Clear the DHCP snooping statistics counter.

Default

No default is defined.


Command Mode

Global configuration


Usage


Examples

This example shows how to clear the DHCP snooping statistics counters:

Switch# clear dhcp snooping statistics


Related Commands

show dhcp snooping binding

show dhcp snooping statistics

36.2 dhcp snooping

Use the dhcp snooping global configuration command on the switch to globally enable DHCP snooping.

Use the no form of this command to return to the default setting.


Command Syntax

dhcp snooping

no dhcp snooping

Default