DISPAY DHCP STATISTICS BY USING NETSH

You can use the Netsh command to display statistics for a single scope on your DHCP server.
You can use the Netsh command to display statistics for a single scope on your DHCP server. For instance, you can display a list of clients that are currently leasing addresses from a scope.
Here's how you do this together with some sample command output:
    C:\Users\administrator>netsh dhcp server scope 172.16.11.0 show clients    
    Changed the current scope context to 172.16.11.0 scope.    
    Type : N - NONE, D - DHCP B - BOOTP, U - UNSPECIFIED, R - RESERVATION IP    
    ==================================================================================    
    IP Address      - Subnet Mask    - Unique ID           - Lease Expires        -Type    
    ==================================================================================    
    172.16.11.133   - 255.255.255.0  -00-03-ff-54-88-8c   - NEVER EXPIRES        -U    
    172.16.11.220   - 255.255.255.0  - 00-03-ff-43-88-8c   -6/9/2008 11:41:18 AM   -D    
    No of Clients(version 4): 2 in the Scope : 172.16.11.0.    
    Command completed successfully.    
Note that typing show clients 1 instead of show clients will cause the FQDN of each client to be included in the listing

No comments:

Post a Comment