route使用方法 Route-pad永久地增加一条路由记录(重起后不丢失NT) C: route-padd1.1.1.1mask255.255.255.25510.110.41.20 metric4 C: route print ctive Routes Network Address Netmask Gateway Addres Interface Metric 0.0.0.0 0.0.0.0 10.110.40.110.110.45.249 1.1.1.1255.255.255.25510.110.41.20 10.110.45.249 10.110.40.0255.255.248.010.110.45.24910.110.45.249 10.110.45.249255.255.255.255 127.0.0.1 127.0.0.1 10.255.255.255255.255.255.25510.110.45.24910.110.45.249 127.0.0.0 255.0.0.0 27.0.0.1 127.0.0.1 224.0.0.0 224.0.0.010.110.45.24910.110.45.249 255.255.255.255255.255.255.25510.110.45.24910.110.45.249
route 使用方法 Route –p add 永久地增加一条路由记录(重起后不丢失NT)
Netstat命令介绍 netstat命令显示协议统计信息和当前的TCP/P连接。该命令只有在 安装了TCPP协议后才可以使用 D: \>netstat /help Displays protocol statistics and current TCP/IP network connections NETSTAT[-a]【-e】[-n]【-s】[- p proto】[-r] [interva1 Displays all connections and listening ports Displays Ethernet statistics. This may be combined with the -s option Displays addresses and port numbers in numerical form Shows connections for the protocol specified by proto; proto be TcP or UDP. If used with the -s option to display per-protocol statistics, proto may be TCP, UDP, or IP. Displays the routing table Displays per-protocol statistics. By default, statistics are shown for TCP, UDP and IP; the -p option may be used to spec y a subset of the default interval Redisplays selected statistics, pausing interval seconds between each display. Press CTRL+c to stop redisplaying statistics. If omitted, netstat will print the current configuration information once
Netstat 命令介绍 netstat 命令显示协议统计信息和当前的 TCP/IP 连接。该命令只有在 安装了 TCP/IP 协议后才可以使用
Netstat参数使用之 Netstat [-a][-e][-n][-s][-p protocol[- r][interva/ a显示所有连接和侦听端口。服务器连接通常不显示 C: netstat -a ctive Connecti ons Proto local Address Forei gn Address State TCP CORP1.1572 172.16.48. 10: nbsessi on ESTABLISHED TCP CORP1.1589 172.16. 48.10:nbsessi on ESTABLSHED TCP CORP1.1606 172.16.105.245: nbsessi on ESTABlishEd TCP CORP1:1632 172. 16. 48. 213:nbsessi on ESTABLISHED TCP CORP1:1659 172.16. 48.169: nbsessi on ESTABLISHED TCP CORP1.1714 172.16.. 203: nbsessi on ESTABLISHED TCP CORP1:1719 172.16. 48.36: obsession ESTABLESHED TCP CORP1:1241 172.16.48. 101:obsession ESTABLISHED UlP CoRP1: 1025 UDP CORP1: sImp UIP CORP1 nbname 水:水 UDP CORP1: nbdat agram *: ** UDP CORP1 nbname UDP CORP1: nbdatagram x*: **
Netstat 参数使用之一 Netstat [-a] [-e] [-n] [-s] [-p protocol] [-r] [interval] - a 显示所有连接和侦听端口。服务器连接通常不显示
Netstat参数使用之 e显示以太网统计。该参数可以与-s选项结合使用。 C: \netstat -s Statistics IP Statistics TCP Statistics d sent Me Packets Received essages Active Opens =597 0 Received header errors Destination Unreachable 685 Passive Op 13 Received Address errors =23150 Time exceeded o Failed Connection Attempts =107 Datagrams Forwarded 0 Parameter Problems o Reset Connections =91 UnImown Protocols Received =0 Source Quenches 0 Current Connections 8 Received Packets Discarded =0 0 Segments Received 106770 Received Packets Delivered =4616524 echoes 0 Segments Sent 118431 Output Re Echo Replies Routing Discards =157 4 Segments Retransmitted Timestamps Discarded Output Packets =0 Timestamp Replies utput Packet No route Address masks 00400000 UDP Statistics Reassembly R 0 Address Mask Replies Reassembly Successful 0 Datagrams Received =4157136 Reassembly Failures 351928 Datagrams Successfully Fragmented 0 Receive errors Datagrams Failing Fragmentation =0 Datagrams Sent =13809
Netstat 参数使用之二 -e 显示以太网统计。该参数可以与 -s 选项结合使用
Netstat参数使用之三 n以数字格式显示|P地址和端口号(而不是尝试查找名称)。 D:、> netstat-n Active Connections Proto Local Address Foreign Address State TCP 192.1682.1:123g 192.168.20.24?:139 ESTABLISHED TcP192.168.288.1:1236 211.196.154.198:88 ESTABLISHED TCP 192.168.289.1:1238 61.233.4.99:8 ESTABLISHED TCP 192.168.2.1:1239 61.233.4.99:8 ESTABLISHED TcP192.168.20.1:12461.233.4.99:8 ESTABLISHED TcP192.168.2.1:1241 61.233.4.99:8 ESTABLISHED TcP192.168.20.1:1243 61.141.32.89:8 ESTABLISHED TcP192.168.20.1:1246 218.22.18.251:88 ESTABLISHED TCP192.168.208.1:124 218.22.18.251:8 ESTABLISHED TcP192.168.2.1:1251 218.78.148.25:8 ESTABLISHED TcP192.168.29.1:1257 211.196.154.182:8 ESTABLISHED TcP192.168.28.1:1259 61.152.94.134:88 ESTABLISHED TcP192.168.208.1:126 61.152.94.134:88 ESTABLISHED
Netstat 参数使用之三 -n 以数字格式显示IP地址和端口号(而不是尝试查找名称)