Home > Forms and Procedures > Procedures > UIT Procedures > Infrastructure Procedures > DHCP Server/Logging

DHCP Server/Logging

System Information:

  • Daily DHCP logs are written to c:\windows\system32\dhcp on LIGHTBLUE.
    • Files are DhcpSrvLog-day.log
    • Log files rotate daily at midnight.

 

  • A Windows PowerShell script runs at 2:00 AM daily to copy and rename the previous day’s log file.
    • PowerShell script is c:\windows\system32\dhcp\dhcpbackup.ps1.
    • Runs as a scheduled task.
    • The scheduled task runs as LIGHTBLUE\dhcp.logrotate.
    • Daily log file is copied to c:\windows\system32\dhcp\dated_logs, and is then renamed to mmddyyyy.log.

 

  • Logs can be searched from command prompt, using Windows Find command.
    • find /i “10.1.2.2” mmddyyyy.log to search dated log for an IP address.
    • find /i “bc773766e905” mmddyyyy.log to search dated log for MAC address.

 


Author:

Kevin Poole

History:

Document moved to Mind Touch 12-09-28

Owner:

Infrasturcture Team

You must to post a comment.
Last modified
02:23, 17 Dec 2013

Tags

This page has no custom tags.

Classifications

This page has no classifications.