|
|
TCP/IP Troubleshooting
This article provides basic TCP/IP troubleshooting commands. These common TCP/IP commands are diagnostic commands, remote login commands, srs commands, communication commands and status commands. A network administrator can easily troubleshoot TCP/IP by the help of these common TCP/IP commands.
|
Common commands of TCP/IP
Command Function
PING Verifies and tests connectivity
WinIPCFG Displays the current TCP/IP configuration and information on windows
95/98.
IPCONFIG Displays the current TCP/IP configuration and information on 98/NT/2000
TRACERT Displays the path a packet takes to a destination host computer.
ROUTE Displays or modifies the local routing table
ARP Displays the cache of locally resolved IP addresses to MAC (media access
control) addresses
LPQ Obtains status of the print queue on a host running the LPD services
TCP/IP Diagnostic commands and their solution
PING
Function.
This command can be very useful in determining whether IP connectivity exists. Excellent options are LENGTH and COUNT:
TRACERTE
Function.
With this command you can find the last router a packet can reach in a disrupted network, or you can verify if packets flow over a planned route.
TSO NETSTAT VIPADCFG
Function.
Displays dynamic VIPA configuration data (-F).
TSO NETSTAT SOCKETS
Function.
Displays sockets based on client name (-s)
TSO NETSTAT CONN
Function.
Displays information for all TCP/IP connections (-c)
TSO NETSTAT ROUTE
Fuction.
Displays routing information (-r).
TSO NETSTAT HOME
Fuction.
Displays the home IP addresses for the IP stack (-h).
|
|
SRC commands of TCP/IP
Command Function
Startsrc Starts all TCP/IP subsystems and inetd subservers. The
startsrc command works for all TCP/IPP subsystems and
inetd
subservers.
Refresh Refreshes the following subsystems and subservers: the inetd,
syslogd, named, dhcpsd, and gated subsystems
stopsrc Stops all TCP/IP subsystems and inetd subservers.
This command is also called the stop normal command.
The stop normal command allows subsystems to process
all outstanding work and terminate gracefully.
stopsrc –f Stops all TCP/IP subsystems and inetd subservers. This command
is also called the stop force. The stop force command
mmediately terminates all subsystems. For inetd subservers,
all pending connections and existing connections are terminated
immediately.
Remote login commands
Commands fuctions
rexec host Executes commands one at a time on a remote host.
rlogin remotehost Connects a local host with a remote host.
rsh and remsh remotehost command Executes specified command at remote host or logs into the remote host.
Status Commands
Commands Functions
host hostname Resolves a host name into an Internet address or an
Internet address into a host name.
ping hostname Sends an echo request to a network host.
rwho Shows which users are logged in to hosts on the local network.
whois name Identifies a user by user ID or alias.
Print Commands
Commands Functions
Refresh Requests a refresh of a subsystem or group of subsystems.
enq file Enqueues a file.
smit Performs system management.
In this article describes some common TCP/IP commands that used in TCP/IP troubleshooting. With the help of these commands like remote login commands, status commands, communication commands and diagnostic commands. A user can solve and troubleshoot TCP/IP problems with the help of this article. |