ipconfig
            
                方砖大叔 发表于 2020-06-17 14:40浏览次数: 
            
         
        
            
                
                    
                        ipconfig是一个DOS实用程序,可以从MS-DOS和Windows命令行使用它来显示当前由网络分配和指定的网络设置。 此命令可用于验证网络连接以及验证网络设置。
                     
                    
                        Ipconfig is a DOS utility that can be used from MS-DOS and the Windows command line 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.
                     
                                                         
                
             
            
                目录:
                
                    1  ipconfig 运行系统环境
                                            2  ipconfig 语法 Windows Vista 和之后的版本
                                            3  ipconfig 语法 Windows 2000 and XP 语法
                                            4  ipconfig 语法 Windows 95, 98, and ME
                                     
             
            ipconfig 运行系统环境
            
                
                    
                                                    Windows 95
                                                    Windows 98
                                                    Windows xp 
                                                    Windows vista
                                                    Windows 2000
                                                    Windows 7
                                                    Windows 8
                                                    Windows 10
                                                    Windows ME
                                             
                 
             
                            ipconfig 语法 Windows Vista 和之后的版本
                
                    
                        
                            ipconfig [/allcompartments] [/? | /all | /renew [adapter] | /release [adapter] | /renew6 [adapter] 
| /release6 [adapter] | /flushdns | /displaydns | /registerdns | /showclassid adapter 
| /setclassid adapter [classid] | /showclassid6 adapter | /setclassid6 adapter [classid] ]
	adapter 连接名称(允许使用通配符 * 和 ?,参见示例)
	
		
			| /? 
 | 显示此帮助消息 
 | 
		
			| /all | 显示完整配置信息 | 
		
			| /release | 释放指定适配器的 IPv4 地址。 | 
		
			| /release6 | 释放指定适配器的 IPv6 地址。 | 
		
			| /renew | 更新指定适配器的 IPv4 地址。 | 
		
			| /renew6 | 更新指定适配器的 IPv6 地址。 | 
		
			| /flushdns | 清除 DNS 解析程序缓存。 | 
		
			| /registerdns | 刷新所有 DHCP 租用并重新注册 DNS 名称 | 
		
			| /displaydns | 显示 DNS 解析程序缓存的内容。 | 
		
			| /showclassid | 显示适配器允许的所有 DHCP 类 ID。 | 
		
			| /setclassid | 修改 DHCP 类 ID。 | 
		
			| /showclassid6 | 显示适配器允许的所有 IPv6 DHCP 类 ID。 | 
		
			| /setclassid6 | 修改 IPv6 DHCP 类 ID。 | 
	
	默认情况下,仅显示绑定到 TCP/IP 的每个适配器的 IP 地址、子网掩码和默认网关。
	对于 Release 和 Renew,如果未指定适配器名称,则会释放或更新所有绑定到 TCP/IP 的适配器的 IP 地址租用。
	对于 Setclassid 和 Setclassid6,如果未指定 ClassId,则会删除 ClassId。
                         
                        
                            ipconfig [/allcompartments] [/? | /all | /renew [adapter] | /release [adapter] | /renew6 [adapter] 
| /release6 [adapter] | /flushdns | /displaydns | /registerdns | /showclassid adapter 
| /setclassid adapter [classid] | /showclassid6 adapter | /setclassid6 adapter [classid] ]
	Where adapter Connection name (wildcard characters * and ? allowed, see examples).
	
		
			| /all | Display full configuration information. | 
		
			| /release | Release the IPv4 address for the specified adapter. | 
		
			| /release6 | Release the IPv6 address for the specified adapter. | 
		
			| /renew | Renew the IPv4 address for the specified adapter. | 
		
			| /renew6 | Renew the IPv6 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. | 
		
			| /showclassid6 | Displays all the IPv6 DHCP class IDs allowed for an adapter. | 
		
			| /setclassid6 | Modifies the IPv6 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 and Setclassid6, if no ClassId is specified, then the ClassId is removed.
                         
                                                                     
                    
                 
                            ipconfig 语法 Windows 2000 and XP 语法
                
                    
                        
                            ipconfig [/? | /all | /release [adapter] | /renew [adapter] | /flushdns | /registerdns 
| /showclassid adapter | /setclassid adapter [classidtoset] ]
	
		
			| /all | 显示完整的配置信息。 | 
		
			| /release | 释放指定适配器的IP地址。 | 
		
			| /renew | 续订指定适配器的IP地址。 | 
		
			| /flushdns | 清除DNS解析器缓存。 | 
		
			| /registerdns | 刷新所有DHCP租约并重新注册DNS名称。 | 
		
			| /displaydns | 显示DNS解析器缓存的内容。 | 
		
			| /showclassid | 显示适配器允许的所有DHCP类ID。 | 
		
			| /setclassid | 修改DHCP类别ID。 | 
	
	默认情况下,仅显示IP地址。 每个适配器的子网掩码和默认网关都绑定到TCP / IP。
对于发布和续订,如果未指定适配器名称,则将发布或续订绑定到TCP / IP的所有适配器的IP地址发布。
对于SetClassID,如果未指定类ID,则将删除该类ID。
	 
                         
                        
                            ipconfig [/? | /all | /release [adapter] | /renew [adapter] | /flushdns | /registerdns 
| /showclassid adapter | /setclassid adapter [classidtoset] ]
	
		
			| /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. | 
	
	By default, only the IP address is displayed. The subnet mask and default gateway for each adapter are bound to TCP/IP.
	For release and renew, if no adapter name is specified, 
then the IP address releases 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.
                         
                                                                     
                    
                 
                            ipconfig 语法 Windows 95, 98, and ME
                
                    
                        
                            ipconfig [/? | /all | /batch[file | /renew_all | /release_all | /renew N | /release N]
	
		
			| /All | 显示详细信息。 | 
		
			| /Batch [file] | 写入文件或./WINIPCFG.OUT。 | 
		
			| /renew_all | 续订所有适配器。 | 
		
			| /release_all | 释放所有适配器。 | 
		
			| /renew N | 续订适配器N。 | 
		
			| /release N | 释放适配器N。 | 
	
                         
                        
                            ipconfig [/? | /all | /batch[file | /renew_all | /release_all | /renew N | /release N]
	
		
			| /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. |