|
很显然,这个命令,我们通常会用来查本机一切网卡的IP信息,命令会是:ipconfig /all
如图示:
如些,我们便可以得到一切网卡的IP信息;这个是常用到的;那么除了这个/all.你还知道多少关于IPCONFIG的事呢?
那么我可以这样一下.如下示:
C:Documents and SettingsAdministrator>ipconfig /?USAGE: ipconfig [/? | /all | /renew [adapter] | /release [adapter] | /flushdns | /displaydns | /registerdns | /showclassid adapter | /setclassid adapter [classid] ]where adapter Connection name (wildcard characters * and ? allowed, see examples) 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 /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 anddefault gateway for each adapter bound to TCP/IP.For Release and Renew, if no adapter name is specified, then the IP addressleases for all adapters bound to TCP/IP will be released or renewed.For Setclassid, if no ClassId is specified, then the ClassId is removed.Examples: > ipconfig ... Show information. > ipconfig /all ... Show detailed information > ipconfig /renew ... renew all adapters > ipconfig /renew EL* ... renew any connection that has its name starting with EL > ipconfig /release *Con* ... release all matching connections, eg. "Local Area Connection 1" or "Local Area Connection 2"C:Documents and SettingsAdministrator>
当然,以上是复制信息, 这个提示是英文,这样我来解析一下;
ipconfig /renew renew all adapters重新获取一切网卡的IP信息
ipconfig /release *Con* ... release all matching connections, eg. "Local Area Connection 1" or "Local Area Connection 2"
释放一切网卡的IP信息或释放本地连接1或2;
/? 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 /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.
有打开面命令,拿几个来讲解一下吧;
例如:
ipconfig /flushdns Purges the DNS Resolver cache
清空本地DNS缓存;
ipconfig /registerdns Refreshes all DHCP leases and re-registers DNS names
重新向DHCP注册DNS;
ipconfig /displaydns Display the contents of the DNS Resolver Cache.
例出本地DNS缓存信息;
ipconfig /showclassid Displays all the dhcp class IDs allowed for adapter
显示一切的DHCP类别ID允许适配器;
OK, 分享完毕! |
|
|
|
|
|
|