Query on ipconfig command line utility options

Asked By 0 points N/A Posted on -

I am using the ipconfig command line utility to view my current TCP/IP configuration. I understand that ipconfig when used with the option
/release – releases my DHCP configuration
/renew – remews my DHCP configuration
/flushdns – Purges my local DNS cache.

I have done this to get my Internet problem sorted most of the times. But, I recently came across my School System Administrator using these two options on the ipconfig command:
/setclassid and

Can anyone explain me what are they used for? Also, is it equivalent to putting an entry in etc/hosts file?

Answered By 0 points N/A #89389

Query on ipconfig command line utility options


The command /setclassid allows you to configure the classid of a dhcp. You must first type the command /showclassid so you could determine all possible DHCP class IDs of your network adapter. The command /registerdns on the other hand, allows you to register the DNS names and refresh the DHCP leases. You might also want to input the command /displaydns so that it displays all the contents of the resolver Cache.

Here is an example of the /setclassid command

>ipconfig /setclassid "Local Area Connection" Sample

... named adapter's DHCP
class id will be set to = Sample

Hope this helps

Login/Register to Answer

Related Questions