DHCP Clear and Show Commands
XSR CLI Reference Guide 15-111

service dhcp

ThiscommandenablesDHCPserverfunctionalitytorespondtoclientrequests.AlthoughDHCP
serverisenabledbydefaultonallXSRinterfaces,youcanoptionallyenableordisableitona
specificinterface.
Syntax
service dhcp [interface]
Syntax of the “no” Form
DisabletheDHCPserverbyusingthenoformofthiscommand:
no service dhcp [interface]
Default
Enabledonallinterfaces
Mode
Globalconfiguration:XSR(config)#
Example:
TheexamplebelowenablesDHCPservicesoninterfaceFastEthernet1:
XSR(config)#service dhcp fastethernet 1

DHCP Clear and Show Commands

clear ip dhcp binding

ThiscommanddeletesanautomaticaddressbindingfromtheDHCPserverbindingdatabase.
Usetheno hostcommandtodeleteamanualbinding.Typically,theaddressdenotestheIP
addressoftheclient.Ifanasterisk(*)isusedastheaddressparameter,DHCPclearsallautomatic
bindings.
Syntax
clear ip dhcp binding {address | * }
Mode
PrivilegedEXEC:XSR#
interface The port on which the DHCP server is enabled or disabled.
address Address of the binding you want to clear.
*Clears all automatic bindings.