计算机故障交流论坛
域名注册

ipconfig DOS命令的使用方法简介!

发表时间:09-7-22   来源:计算机故障网   点击:

ipconfig是查询计算机ip配置以及本地连接的状态的一个dos指令!也是网络故障解决中常用的一个指令!接下来我们介绍一下ipconfig的用法!ipconfig的用法也可以在DOS方式下输入 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 nam
       /displaydns  Display the contents of the DNS Resolver Cache.
       /showclassid Displays all the dhcp class IDs allowed for adapte
       /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 ad
leases for all adapters bound to TCP/IP will be released or renewed.

For Setclassid, if no ClassId is specified, then the ClassId is remove

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"

Ipconfig /all:显示本机TCP/IP配置的详细信息;

Ipconfig /displaydns:显示本地DNS内容;

Ipconfig /registerdns:DNS客户端手工向服务器进行注册;

Ipconfig /showclassid:显示网络适配器的DHCP类别信息;

Ipconfig /setclassid:设置网络适配器的DHCP类别。

Ipconfig /release:DHCP客户端手工释放IP地址;

Ipconfig /renew:DHCP客户端手工向服务器刷新请求;

Ipconfig /flushdns:清除本地DNS缓存内容;

© CopyRight 2008-2010, JSJGZ.CN, 计算机故障 Inc. All Rights Reserved

闽ICP备09000710号 增值电信业务经营许可证闽B2-20080004号