Skip to content

IPCONFIG and NETSTAT Options

Ipconfig Switches

Switch Effect

/all

Produces a detailed configuration report for all interfaces.

/flushdns

Removes all entries from the DNS name cache.

/registerdns

Refreshes all DHCP leases and reregisters DNS names

/displaydns

Displays the contents of the DNS resolver cache.

/release < adapter >

Releases the IP address for a specified interface.

/renew < adapter >

Renews the IP address for a specified interface.

/showclassid < adapter >

Displays all the DHCP class IDs allowed for the adapter specified.

/setclassid < adapter > < classID to set >

Changes the DHCP class ID for the adapter specified.

/?

Displays this list.

 

 I will continue to look for Netstat switches.

To run either of these utilities, start by opening a Windows Prompt window by clicking Start –> Run and type:  cmd  in the box and press Enter on keyboard or click OK