windows网络知识 网管人员必备的常用命令

来源:赛迪网 作者:xufengwu 2008-07-10 出处:pcdog.com

arp  dns  ios  qos  windows 2000  
下一页 1 2 3 4 

如果你玩过路由器的话,就知道路由器里面那些很好玩的命令缩写。

例如,"sh int" 的意思是 "show interface"。

现在 Windows 也有了类似界面的工具,叫做 netsh。

我们在 Windows 的 cmd shell 下,输入 netsh

就出来:netsh> 提示符,

输入 int ip 就显示:

interface ip>

然后输入 dump ,我们就可以看到当前系统的网络配置:

# ----------------------------------

# Interface IP Configuration

# ----------------------------------

pushd interface ip

# Interface IP Configuration for "Local Area Connection"

set address name = "Local Area Connection" source = static addr = 192.168.1.168

mask = 255.255.255.0

add address name = "Local Area Connection" addr = 192.1.1.111 mask = 255.255.255.0

set address name = "Local Area Connection" gateway = 192.168.1.100 gwmetric = 1

set dns name = "Local Area Connection" source = static addr = 202.96.209.5

set wins name = "Local Area Connection" source = static addr = none

popd

# End of interface IP configuration

上面介绍的是通过交互方式操作的一种办法。

我们可以直接输入命令:

"netsh interface ip add address "Local Area Connection" 10.0.0.2

255.0.0.0"

来添加 IP 地址。

如果不知道语法,不要紧的哦!

在提示符下,输入 ? 就可以找到答案了。方便不方便啊?

原来微软的东西里面,也有那么一些让人喜欢的玩意儿。可惜,知之甚少啊!


更多内容请看PCdog.com--Windows操作系统安装  Windows常见故障排除  Windows远程桌面的应用专题
下一页 1 2 3 4 
上一篇:八大绝招教你如何查找和排除ADSL变慢原因
下一篇:从小处着眼 只需六招轻松提升网络速度