跳到主要內容
:::
:::

網管指令 / ipconfig

四、ipconfig:查本機網路設定


USAGE:
ipconfig [/? | /all | /release [adapter] | /renew [adapter] 
| /flushdns | /registerdns
| /showclassid adapter
| /setclassid adapter [classidtoset] ]

adapter Full name or pattern with '*' and '?' to 'match',
* matches any character, ? matches one character.
Options
/? Display this help message.
/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 (了解向DHCP Server租用IP的時間)
/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.

Examples:
> ipconfig ... Show information.

ipconfig /all ... Show detailed information (顯示所有詳細的網路設定)

> ipconfig /renew ... renew all adapaters  (更新所分配到的動態IP)

> ipconfig /renew EL* ... renew adapters named EL....

> ipconfig /release *ELINK?21* ... release all matching adapters,eg. ELINK-21, myELELINKi21adapter.

跳至網頁頂部