Commands for TCP/IP Cont

Commands for TCP/IP Cont

INTRODUCTION z/OS Console Commands for TCP/IP cont... z/VM Operator Commands This summary lists many of the commonly used commands (with • D TCPIP,{procname},HELP - display list of TCP/IP display Note: Requires class B authority to issue the following commands. brief descriptions) for FTP and TCP/IP, as well as related z/OS, options. These include -NETSTAT, TELNET, HELP, • Q MITIME - Display MIH times for devices. z/VM, VSE, Linux, and VTAM commands. DISPLAY, VARY, OMPROUTE, SYSPLEX, STOR. • Q OSA ACTIVE|ALL - display status of OSA devices. This is only a summary. If you need details about a command, refer • D TCPIP,{procname},Netstat,ALLCONN|CONN - display • Q rdev|rdev-rdev - Display status of real device(s). to the appropriate documentation. socket information for the TCP/IP stack. • Q PATHS rdev|rdev-rdev - Display path status to real NOTE: All commands are for current operating system releases • D TCPIP,{procname},Netstat,ARP - display contents of ARP device(s) (PIM, PAM, LPM). as of 26 November 2002. If using an earlier release, some cache for the TCP/IP stack. • Q CHPID cc - Display real CHPID status. commands may not work. • D TCPIP,{procname},Netstat,DEVlinks - display Device and • VARY OFF|ON rdev|rdev-rdev - vary device(s) off or online link status for the TCP/IP stack. • VARY OFF|ON PATH cc FROM|TO rdev|rdev-rdev - • D TCPIP,{procname},Netstat,HOME - display the IP change the status of a path to device(s). TCP/IP Commands for TSO/E address(es) for the TCP/IP stack. • VARY OFF|ON CHPID cc - configure a CHPID off or on to Note: The following TCP/IP commands should be done from the • D TCPIP,{procname},Netstat,ROUTE - display the routing both hardware and software. TSO command panel or the READY prompt. table for the TCP/IP stack. z/VM TCP/IP Commands Note: hostname may be the IP address of the host, or the host • V TCPIP,{procname},HELP - display list of TCP/IP vary Note: Your CMS userid must be linked to the TCPMAINT 592 name of the host. options. These include - HELP, OBEYFILE, PKTTRACE, minidisk to execute the following commands. • FTP hostname {port} - Connect to remote host to get/put files. DATTRACE, START, STOP, PURGECACHE Note: hostname may be the IP address of the host, or the host Defaults to port 21. • V TCPIP,{procname},PURGECACHE,linkname - purge name of the host. • HOMETEST - Validate TCP/IP configuration. ARP cache for the specified adapter (linkname from • FTP hostname {port} - Connect to remote host to get/put files. • NETSTAT option {TCP procname} - Display network status NETSTAT,DEVLINKS). Defaults to port 21. Enter FTP ? for list of options. of local host. Use ? for list of options. • V TCPIP,{procname},START|STOP,devname - Start or stop • HOMETEST - Validate TCP/IP configuration. • NETSTAT ALLCON|CONN - Display port connections for the device name identified in NETSTAT DEV output. • IFCONFIG - display network interfaces. the TCP/IP stack. • V TCPIP,{procname},Telnet,xxxx - performs specified • IFCONFIG interface UP|DOWN - Start or stop the specified • NETSTAT ARP ALL|ipaddress - Display ARP cache for the function for TELNET. network interface. TCP/IP stack. ACT|INACT,luname - Enables|disables lu as VTAM • NETSTAT option - Display network status of local host. Use ? • NETSTAT DEV - Display the status of the device(s) and session candidate for list of options. link(s) for the TCP/IP stack. QUIESCE - Blocks new connections. • NETSTAT ALLCON|CONN - Display all port connections • NETSTAT GATE|ROUTE - Display routing information for RESUME - Ends QUIESCEd state. for the TCP/IP stack. the TCP/IP stack. (Different views) STOP - Ends telnet connections and closes port. • NETSTAT ARP *|ipaddress - Display ARP cache for the • NETSTAT HOME - Display IP address(es) for the stack. Related z/OS Console Commands TCP/IP stack. • PING hostname - Sends an echo request to a host name or • D IOS,MIH,DEV=dddd - MIH value for device • NETSTAT DEV - Display the status of the device(s) and address to determine if the computer is accessible. Use ? for list Note: The value for "c's and d's" in the following Display link(s) for the TCP/IP stack. of options. Matrix (D M) command is optional, but if included, must be in • NETSTAT GATE - Display TCP/IP routing information. • TELNET hostname {port} - Log on to remote host. By default, parentheses (). • NETSTAT HOME - Display IP address(es) in TCP/IP stack. port 23 is used. Use ? for list of options. • D M=CHP{(cc)}|DEV{(dddd)} - Status of CHPID cc, or • NETSTAT OBEY START|STOP devname - Start or stop the • TRACERTE hostname - Trace hops from this host to summary of all CHPIDs if (cc) is not provided. device name identified in NETSTAT DEV output. destination host. Use ? for list of options. Display CHPIDs/device status or summary of CHPID status of • PING hostname - Sends an echo request to a host name or z/OS Console Commands for TCP/IP all devices if (dddd) is not provided. address to determine if the computer is accessible. Use ? for list Note: If multiple stacks are running, you must identify the stack in • D U,,ALLOC|OFFLINE|ONLINE - Display information for of options. the procname field. all devices by selected status. • TELNET hostname {port} - Log on to remote host. By default, • D TCPIP - list names and status of TCP/IP stacks. • D U,,,dddd{,nnn} - Display status of devices starting at device port 23 is used. Use ? for list of options. dddd for nnn number of devices (default 16). • TRACERTE hostname - Trace hops from this host to • SETIOS MIH,DEV=ddd,TIME=mm:ss - set MIH time for destination host. Use ? for list of options. specified device. VSE TCP/IP Commands • V dddd|dddd-dddd,OFFLINE|ONLINE - vary device(s) Note: hostname may be the IP address of the host, or the host offline or online. name of the host. • CF CHP(cc),ONline|OFFline - Configure online/offline • PING hostname - Sends an echo request to a host name or CHPID cc to MVS & hardware. address to determine if the computer is accessible. • Query ARP{,IP=hostname} - Display contents of ARP cache for the TCP/IP stack. VSE TCP/IP Commands cont... TCP/IP Commands for OS/2 cont… TCP/IP Commands for Linux • Query CON{,IP=hostname} - Display port connections for • NETSTAT -A - Display host network address. The commands are listed in upper case for presentation only. They the TCP/IP stack. • NETSTAT -C - Display host ICMP statistics. should be entered in lower case. • Query LINKs{,ID=name} - Display link status. • NETSTAT -H - host name for specified IP address. • ARP - Display ARP cache. Use -? for options. • Query MASKs - Display contents of subnet mask table. • NETSTAT -I - Display host IP statistics. • DMESG |MORE - Display complete information about the • Query ROUTes{ID=name|,IP=hostname} - Display routing • NETSTAT -N - Display host network interface details. (Like Linux environment including network devices. ( |MORE keeps table for the TCP/IP stack. MAC, speed, and statistics) output from scrolling.) ( > filename to send to a file.) • STATUS dddd - Display device status • NETSTAT -P - Display host ARP cache. • FTP hostname|ipaddress - Connect to remote host to get/put • START LINK=name -start a link in the TCP/IP stack. • NETSTAT -R - Display host routes. files. Defaults to port 21. Use -? for options. • STOP LINK=name -suspends attempts to activate a link. • NETSTAT -S - Display host sockets. • IFCONFIG - display network interfaces (like LO,EN0,TR0) • Note: Use with CTCA and cross-partition links (not OSA). • NETSTAT -T - Display host TCP statistics. • IFCONFIG interface UP|DOWN - Start or stop the selected • TRACERT hostname - Trace hops from this host to • NETSTAT -U - Display host UDP statistics. network interface(EN0,TR0, etc). destination host. • PING hostname - Sends an echo request to a host name or For the following NETSTAT commands, adding N to the option VTAM Commands address to determine if computer is accessible. (To cancel, use will display numerical output. AddingV will display verbose. VTAM commands related to OSA cards. Ctrl + C.) Use -? for list of options. • NETSTAT -A - Display all sockets. • D NET,ID=name - display network named in ID field • TELNET {-p port} hostname - Log on to remote host. By • NETSTAT -I - Display interface table. Additional parameters that may be added: default, port 23 is used. Use -? for list of options. • NETSTAT -R - Display host routes. ,SCOPE=ONLY|ACT|ALL|INACT • TRACERTE hostname - Trace hops from this host to • PING hostname|ipaddress - Sends an echo request to a host to ,E - Gives extended information about the node. destination host. Use -? for list of options. determine if the computer is accessible. Use -? for options. • D NET,MAJNODES|APPLS - Shows status of all active TCP/IP Commands for Windows1 • ROUTE - Displays IP routing table. major nodes or applications. Commands should work for Windows 95, 98, NT, & 2000 1. • TELNET hostname|ipaddress {port} - Log on to remote host. • D NET,PENDING - Lists nodes in pending states. Commands must be done from a command prompt window. By default, port 23 is used. Use -? for options. • D NET,TRL - display list of TRLEs. The commands are listed in upper case for presentation only. They • TRACEROUTE hostname|ipaddress - Trace hops from this • D NET,TRL,TRLE=trlename - display status of specific should be entered in lower case. host to destination host. Use -? for list of options. TRLE. (Use this command to display the devices assigned to a Note: hostname may be the IP address of the host, or the host FTP Subcommands QDIO (or MPC) OSA-Express resource.) name of the host. • ascii - ASCII transfer of text files. • V NET,ACT,ID=ISTTRL,UPDATE=ALL - Deletes all • ARP -A - Display ARP cache.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    2 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us