Professional Documents
Culture Documents
Table 12.1 Useful Basic TCP/IP Diagnostic Commands: Command Description
Table 12.1 Useful Basic TCP/IP Diagnostic Commands: Command Description
Command
Description
arp -a
netstat -rn
netstat -an
Shows all TCP/IP sockets in use (numerically) for all clients and servers.
hostname or address.
hostname or address.
Command
Description
netsh
Interactive command-line utility that allows you to list and change network-layer configuration. (Two hints: First, type int
net session
Shows all Windows networking sessions (shares and so forth) active on this machine.
net share
* service.vbs /L /S monster
* service.vbs
* netset /display
Shows a list of network components (that is, network protocols and basic services) that are associated with network interfaces.
* srvinfo //server
Connects to a remote or local server and shows uptime, protocols, network cards, service packs, hotfixes, drive space available, and so on.