| Commands | Switches |
PING | Verifies that TCP/IP is configured correctly and another host is available | -a Returns Netbios name with IP address |
IPCONFIG |
View, Release and Renew DHCP leases, gives IP address
information IP address/Subnet mask/Default gateway |
/all - also gives Host name, DNS servers, Node type, Wins Proxy, Mac
address, Dhcp enabled |
WINIPCFG |
Windows 95 equivalent of the Ipconfig in NT |
|
NBTSTAT |
Checks state of NetBT connections, updates Lmhosts cache |
-c Views the contents of the cache -R Purges the cache
-s Lists currents sessions (connections) |
ARP |
Cache of locally resolved IP addresses to Mac addresses |
-g or -a Shows entries in Arp cache -s (ip address)
(mac address) add a static entry into the cache -d (ip address)
(mac address) deletes an entry |
NSLOOKUP |
Manual lookup to DNS servers |
|
NETSTAT |
Displays protocol statistics and current TCP/IP connections |
-a displays all connections and listening ports -e displays
ethernet interface statistics |
ROUTE |
Views or modifies the local routing table |
print - Displays the routing table add (ipaddress) mask
(netmask) (ipaddress) -p Adds a persistent route (stores in
registry so is there on reboot) |
HOSTNAME |
Returns the local computers hostname (Netbios name) |
|
FINGER |
Gets system information from a remote computer |
user@host |
DHCPLOC |
Displays DHCP servers which are active on the subnet |
|
DHCPCMD |
Manage DHCP from the command line |
|