Friday 16 December 2011

IPConfig Command


Ipconfig is a DOS utility that can be used from MS-DOS and a MS-DOS shell to display the network settings currently assigned and given by a network. This command can be utilized to verify a network connection as well as to verify your network settings. The ipconfig.exe command is an external command and is available in Windows 95, Windows 98, Windows ME, Windows 2000, Windows XP, Windows Vista and Windows 7.

Syntax - ipconfig [switches]

Windows 95, 98 and ME Switches
  • /ALL - Display detailed information.
  • /BATCH [FILE] - Write to file or ./WINIPCFG.OUT.
  • /RENEW_ALL - Renew all adapters.
  • /RELEASE_ALL - Release all adapters.
  • /RENEW N - Renew adapter N.
  • /RELEASE N - Release adapter N.
Windows 2000 and XP Switches
  • /ALL - Display full configuration information.
  • /RELEASE - Release the IP address for the specified adapter.
  • /RENEW - Renew the IP address for the specified adapter.
  • /FLUSHDNS - Purges the DNS Resolver cache.
  • REGISTERDNS - Refreshes all DHCP leases and re-registers DNS names.
  • /DISPLAYDNS - Display the contents of the DNS Resolver Cache.
  • /SHOWCLASSID - Displays all the dhcp class IDs allowed for adapter.
  • /SETCLASSID - Modifies the dhcp class id.
The default is to display only the IP address, subnet mask and default gateway for each adapter bound to TCP/IP. For Release and Renew, if no adapter name is specified, then the IP address leases for all adapters bound to TCP/IP will be released or renewed. For SetClassID, if no class id is specified, then the classid is removed.

1 comment:

  1. These are very important syntax in using ipconfig for the tech support to remember in the command prompt.

    ReplyDelete