当前位置:文档之家› Windows下的常用的配置命令

Windows下的常用的配置命令

1、操作步骤:
(1)netsh
(2)interface
(3)ipv4/ipv6
(4)show interface

2、配置Ipv6地址: ipv6 -p adu 6/3001:da8:7007:f::10.8.1.81
删除Ipv6地址: ipv6 -p adu 6/3001:da8:7007:f::10.8.1.81 life 0

配置Ipv6网关: ipv6 -p rtu ::/0 6/3001:da8:7007:f::1
删除网关 ipv6 -p rtu ::/0 6/3001:da8:7007:f::1 life 0

3、设置某连接的MTU: set interface xx mtu=1500

4、关闭路由通告: set interface xx routerdiscovery=disabled
开启路由通告: set interface xx routerdiscovery=enabled

5、修改xp hosts系统文件:
C:\\windows\system32\drivers\etc\hosts 2001:daf:231:44:a08:14b https://www.doczj.com/doc/f514426767.html,

6、清空DNS缓存
ipconfig /flushdns

7、逆地址解析: nslookup

8、查看路径: pathping or tracert

9、隧道配置:
查看状态: netsh interface teredo show state
禁用隧道: netsh interface teredo set state disabled
恢复隧道: netsh interface teredo set state default
家庭内网启动隧道、宽带通和联通环境中可以上v6
netsh interface teredo set state enterpriseclient 65.55.158.118

相关主题
文本预览
相关文档 最新文档