Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

55 lines
1.5 KiB

  1. dhcpcmd:
  2. This utility can be used as axillary tool to administrator DHCP servers.
  3. The usage of this tool is as given below :
  4. usage: dhcpcmd <server ip address> <command> [<command parameters>].
  5. commands :
  6. 1. AddIpRange
  7. 2. AddReservedIp
  8. 2. EnumClients
  9. 3. MibCounts
  10. 4. ServerConfig
  11. Commands:
  12. AddIpRange - can be used to add another ip range to an already existing
  13. scope.
  14. <parameters> - <scope address> <start ip range> <end ip range>
  15. Ex : dhcpcmd 127.0.0.1 addiprange 11.101.0.0 11.101.4.1 11.101.4.254
  16. AddReservedIp - can be used to add a reserved ip to an already existing
  17. scope.
  18. <parameters> - <scope address> <reserved ip> <hardware string>
  19. Example: dhcpcmd 127.0.0.1 11.101.0.0 11.101.13.53 08002B30369B
  20. EnumClients - can be used to list out the lease information in different
  21. format.
  22. <parameters> - <scope address> [ -v | -h]
  23. -v - this option will list out detailed lease information.
  24. -h - this option will list out lease information with hardware info.
  25. Example : dhcpcmd 127.0.0.1 enumclients 11.101.0.0 -h
  26. MibCounts - displays the current dhcp server statistic information.
  27. ServerConfig - can be used to display current server parameters. Also
  28. used to set server parameters.
  29. <parameters> - <config parameter> <value>
  30. Examples :
  31. dhcpcmd 127.0.0.1 serverconfig
  32. - displays current parameters.
  33. dhcpcmd 127.0.0.1 serverconfig backupinterval 15
  34. - sets the database backup interval to 15 mins.