TCP/IP调试工具

dos下的一些命令

netstat -s -p tcp/udp/icmp/ip

ping -l 65500 -t 192.168.1.1 #死亡之ping

for /L %i IN (1,1,254) DO ping -w 2 -n 1 192.168.1.%i #批处理ping

for /L %i IN (1,1,254) DO ping -w 2 -n 1 192.168.2.%i

nbtstat -a 192.168.1.106 探测主机名

add portopening protocol =all port=135 name=关闭135端口 mode=enable SCOP=Subnet

netsh advfirewall firewall

add portopening protocol =tcp port=55555 name重要服务 mode=enable

delete portopening protocol =tcp port=55555 interface=重要服务

delete portopening TCP 135

------ 本文结束------
分享
分享