帐号 密码    
站内搜索     订阅资讯
设为首页 收藏本站
关于我们 维修留言
电脑常识 >>
您当前位置:网站首页 >> 电脑常识 >> 阅读文章

ipconfig DOS命令的使用方法

来源:电脑维修网 发布时间:2009-09-08 查看次数:3269

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缓存内容;

相关文章
文章评论
现在有0人对本文发表评论 查看所有评论



关于我们 | 联系方式 | 服务条款 | 沪icp备 07018138号sitemap
联系邮箱:pc@yinhong.sh.cn    在线qq:87000503
copyright 2017, 版权所有 diannaoguzhang.yinhongit.cn. 技术支持:银泓商务网站建设团队