clear dhcpsnooping binding
17-14 DHCP Snooping and Dynamic ARP Inspection
clear dhcpsnooping binding
UsethiscommandtoremovebindingsfromtheDHCPsnoopingbindingsdatabase.
Syntax
clear dhcpsnooping binding [port port-string | mac mac-addr]
Parameters
Defaults
Ifnoparametersareentered,allbindings(staticanddynamic)areremoved.
Mode
Switchcommand,read‐write.
Example
Thisexampleclearsthestaticbindingentrythatincludesportge.1.2.
C2(su)->clear dhcpsnooping binding port ge.1.2
clear dhcpsnooping statistics
UsethiscommandtocleartheDHCPsnoopingstatisticscounters.
Syntax
clear dhcpsnooping statistics
Parameters
None.
Defaults
None.
Mode
Switchcommand,read‐write.
Example
ThisexampleclearstheDHCPsnoopingstatisticscountersforallenableduntrustedports.
C2
(su)->clear dhcpsnooping statistics
clear dhcpsnooping database
Usethiscommandtoreturnthewritedelayvaluetoitsdefaultvalueof300seconds.
portport‐string (Op tional)Specifiestheentryorentriestoremovebyportidentifier.
macmac‐addr (Optional)SpecifiestheentrytoremovebyMACaddress.