Thursday, April 23, 2009

CLI Networking Tools on Windows XP

1. ARP: display and modifies the IP-to-Physical address translation table used by ARP
parameter: ARP -s inet_addr eth_addr [if_addr]
ARP -d inet_addr [if_addr]
ARP -a [inet_addr] [-N if_addr]

2. Netstat: display protocol statistic and current TCP/IP networking connection
parameter: netstat [-a] [-b] [-e] [-n] [-o] [-p proto] [-r] [-s] [-v] [interval]

3. Route: manipulates network routing tables
parameter: route [-f] [-p] [command[dest][MASK netmask][gateway]
[METRIC metric][IF interface]

command: PRINT ADD DELETE CHANGE

4. Net User: create and modifies user accounts (only on server)
parameter: net user
[username[password|*][options]][/DOMAIN]
username{password|*}/ADD[optons][/DOMAIN]
username[/DELETE][/DOMAIN]

5. Ipconfig: display IP addr, subnet mask, default gateway for each adapter bound to TCP/IP
parameter: ipconfig [/?|/all|/renew[adapter]|/release[adapter]|
/flushdns|/displaydns|/registerdns|
/showclassid adapter|
/setclassid adapter [classid]]


6. Nbtstat: display protocol statistics & current TCP/IP connection using NBT (netBIOS over TCP/IP)
parameter: nbtstat [[-a RemoteName][-A IP addr][-C][-n][-r][-R][-RR][-s][-S][interval]]

7. Tracert
parameter: tracert [-d][-h max_hops][-j host-list][-w timeout] target

8. Ping
parameter: ping [-t][-a][-n count][-l size][-f][-i TTL][-v TOS]
[-r count][-s count][[-j host-list]|[-K host-list]][-w timeout] target

9. Telnet
parameter: telnet [-a][-e escape char][-f logfile][-l user][-t term][host[port]]

10. Netsh: interactive CLI utility, allow you to list & change network layer

11. Nslookup: tools for query DNS
> set type=any/mx/ns
> server [name]|[IP]

12. Pathping: combine ping and tracert
parameter: pathping [-g host-list][-h max_hops][-i addr][-n][-p period]
[-q num_queries][-w timeout]
[-P][-R][-T][-4][-6] target

No comments:

Post a Comment

Hi, for all of those who already put comments on my blog post, thanks.. really appreciate it. And for those who have not, just put your comments here :)