Advertisement
kkDav1337

Usage of /ipconfig

Dec 10th, 2017
4,614
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.69 KB | None | 0 0
  1. USAGE:
  2. ipconfig [/allcompartments] [/? | /all |
  3. /renew [adapter] | /release [adapter] |
  4. /renew6 [adapter] | /release6 [adapter] |
  5. /flushdns | /displaydns | /registerdns |
  6. /showclassid adapter |
  7. /setclassid adapter [classid] |
  8. /showclassid6 adapter |
  9. /setclassid6 adapter [classid] ]
  10.  
  11. where
  12. adapter Connection name
  13. (wildcard characters * and ? allowed, see examples)
  14.  
  15. Options:
  16. /? Display this help message
  17. /all Display full configuration information.
  18. /release Release the IPv4 address for the specified adapter.
  19. /release6 Release the IPv6 address for the specified adapter.
  20. /renew Renew the IPv4 address for the specified adapter.
  21. /renew6 Renew the IPv6 address for the specified adapter.
  22. /flushdns Purges the DNS Resolver cache.
  23. /registerdns Refreshes all DHCP leases and re-registers DNS names
  24. /displaydns Display the contents of the DNS Resolver Cache.
  25. /showclassid Displays all the dhcp class IDs allowed for adapter.
  26. /setclassid Modifies the dhcp class id.
  27. /showclassid6 Displays all the IPv6 DHCP class IDs allowed for adapter.
  28. /setclassid6 Modifies the IPv6 DHCP class id.
  29.  
  30.  
  31. The default is to display only the IP address, subnet mask and
  32. default gateway for each adapter bound to TCP/IP.
  33.  
  34. For Release and Renew, if no adapter name is specified, then the IP address
  35. leases for all adapters bound to TCP/IP will be released or renewed.
  36.  
  37. For Setclassid and Setclassid6, if no ClassId is specified, then the ClassId is removed.
  38.  
  39. Examples:
  40. > ipconfig ... Show information
  41. > ipconfig /all ... Show detailed information
  42. > ipconfig /renew ... renew all adapters
  43. > ipconfig /renew EL* ... renew any connection that has its
  44. name starting with EL
  45. > ipconfig /release *Con* ... release all matching connections,
  46. eg. "Wired Ethernet Connection 1" or
  47. "Wired Ethernet Connection 2"
  48. > ipconfig /allcompartments ... Show information about all
  49. compartments
  50. > ipconfig /allcompartments /all ... Show detailed information about all
  51. compartments
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement