TCP/IP Commands for OS/2: Difference between revisions
Jump to navigation
Jump to search
Created page with "Commands must be done from a command prompt window. The commands are listed in upper case for presentation only. They should be entered in lower case. ; Note: hostname may..." |
No edit summary |
||
Line 4: | Line 4: | ||
; ARP -A :Display ARP cache. Use -? for options. | ; ARP -A :Display ARP cache. Use -? for options. | ||
; | ; FTP ''hostname {port}'': Connect to remote host to get/put files. | ||
: Defaults to port 21. Use -? for list of options. NETSTAT command output may roll through the OS/2 window. To prevent this, add |more to the end of the netstat command. (Or direct output to a file by adding >filename.TXT to the end of the NETSTAT command.) | : Defaults to port 21. Use -? for list of options. NETSTAT command output may roll through the OS/2 window. To prevent this, add |more to the end of the netstat command. (Or direct output to a file by adding >filename.TXT to the end of the NETSTAT command.) | ||
; HOST ''ipaddress'': Sends request to an IP address and returns information about the hostname. | ; HOST ''ipaddress'': Sends request to an IP address and returns information about the hostname. | ||
; NETSTAT -? : Display a list of options. | ; NETSTAT -? : Display a list of options. | ||
NETSTAT -A | ; NETSTAT -A : Display host network address. | ||
; NETSTAT -C : Display host ICMP statistics. | |||
; NETSTAT -H : host name for specified IP address. | |||
; NETSTAT -I : Display host IP statistics. | |||
; NETSTAT -N : Display host network interface details. (Like MAC, speed, and statistics) | |||
; NETSTAT -P : Display host ARP cache. | |||
; NETSTAT -R : Display host routes. •NETSTAT -S - Display host sockets. •NETSTAT -T - Display host TCP statistics. | |||
; NETSTAT -U : Display host UDP statistics. | |||
; PINGhostname - Sends an echo request to a host name or address to determine if computer is accessible. (To cancel, use Ctrl + C.) Use -? for list of options. | |||
; TELNET ''{-pport}hostname'' : Log on to remote host. By default, port 23 is used. Use -? for list of options. | |||
; TRACERTE ''hostname'' : Trace hops from this host to destination host. Use -? for list of options. |
Revision as of 03:17, 1 April 2019
Commands must be done from a command prompt window. The commands are listed in upper case for presentation only. They should be entered in lower case.
- Note
- hostname may be the IP address of the host, or the host name of the host.
- ARP -A
- Display ARP cache. Use -? for options.
- FTP hostname {port}
- Connect to remote host to get/put files.
- Defaults to port 21. Use -? for list of options. NETSTAT command output may roll through the OS/2 window. To prevent this, add |more to the end of the netstat command. (Or direct output to a file by adding >filename.TXT to the end of the NETSTAT command.)
- HOST ipaddress
- Sends request to an IP address and returns information about the hostname.
- NETSTAT -?
- Display a list of options.
- NETSTAT -A
- Display host network address.
- NETSTAT -C
- Display host ICMP statistics.
- NETSTAT -H
- host name for specified IP address.
- NETSTAT -I
- Display host IP statistics.
- NETSTAT -N
- Display host network interface details. (Like MAC, speed, and statistics)
- NETSTAT -P
- Display host ARP cache.
- NETSTAT -R
- Display host routes. •NETSTAT -S - Display host sockets. •NETSTAT -T - Display host TCP statistics.
- NETSTAT -U
- Display host UDP statistics.
- PINGhostname - Sends an echo request to a host name or address to determine if computer is accessible. (To cancel, use Ctrl + C.) Use -? for list of options.
- TELNET {-pport}hostname
- Log on to remote host. By default, port 23 is used. Use -? for list of options.
- TRACERTE hostname
- Trace hops from this host to destination host. Use -? for list of options.