89 lines
4.9 KiB
HTML
89 lines
4.9 KiB
HTML
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<!DOCTYPE html
|
||
|
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
|
<html lang="en-us" xml:lang="en-us">
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||
|
<meta name="security" content="public" />
|
||
|
<meta name="Robots" content="index,follow" />
|
||
|
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
|
||
|
<meta name="DC.Type" content="reference" />
|
||
|
<meta name="DC.Title" content="CWBPING - Test the connection to the server" />
|
||
|
<meta name="abstract" content="Use this command from a console prompt to determine if a connection can be successfully made to an iSeries system, or to help determine the cause of a connection failure." />
|
||
|
<meta name="description" content="Use this command from a console prompt to determine if a connection can be successfully made to an iSeries system, or to help determine the cause of a connection failure." />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzatvutilodbc.htm" />
|
||
|
<meta name="copyright" content="(C) Copyright IBM Corporation 2004, 2006" />
|
||
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2004, 2006" />
|
||
|
<meta name="DC.Format" content="XHTML" />
|
||
|
<meta name="DC.Identifier" content="cwbping" />
|
||
|
<meta name="DC.Language" content="en-us" />
|
||
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
||
|
<!-- US Government Users Restricted Rights -->
|
||
|
<!-- Use, duplication or disclosure restricted by -->
|
||
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
||
|
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
|
||
|
<link rel="stylesheet" type="text/css" href="./ic.css" />
|
||
|
<title>CWBPING - Test the connection to the server</title>
|
||
|
</head>
|
||
|
<body id="cwbping"><a name="cwbping"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1"><span class="cmdname">CWBPING</span> - Test the connection to the server</h1>
|
||
|
<div><p>Use this command from a console prompt to determine if a connection
|
||
|
can be successfully made to an iSeries™ system, or to help determine
|
||
|
the cause of a connection failure.</p>
|
||
|
<div class="section"><p><span class="cmdname">CWBPING</span> checks of the status of the host servers
|
||
|
on the iSeries system.
|
||
|
The name of the communications provider is shown, as well as the result of
|
||
|
connecting to each of the host socket servers. To see detailed messages, use
|
||
|
the (/v) verbose option. </p>
|
||
|
</div>
|
||
|
<div class="section"><h4 class="sectiontitle">Syntax</h4><p>cwbping system <samp class="codeph">[/v] [/pl:#] [/al:#]
|
||
|
[/serv:name] [/port:#] [/user:userid] [/password:password] [/all]</samp> </p>
|
||
|
</div>
|
||
|
<div class="section"><h4 class="sectiontitle">Parameters</h4><ul><li>system = name of the server </li>
|
||
|
<li>/v = verbose output </li>
|
||
|
<li>/pl:# = port mode (0 = Server services file, 1 = Local services file,
|
||
|
2 = Standard port ) <div class="note"><span class="notetitle">Note:</span> If the /port:# is specified, the port mode is ignored.</div>
|
||
|
</li>
|
||
|
<li>/al:# = address mode <ul><li>0 = Always use gethostbyname </li>
|
||
|
<li>1 = Lookup after 1 hour </li>
|
||
|
<li>2 = Lookup after 1 day </li>
|
||
|
<li>3 = Lookup after 1 week </li>
|
||
|
<li>4 = Never use gethostbyname, use configured IP address </li>
|
||
|
<li>5 = Lookup once after each PC restart</li>
|
||
|
</ul>
|
||
|
<div class="note"><span class="notetitle">Note:</span> If the system name is specified in IP Address form (x.x.x.x) the
|
||
|
address mode will be ignored.</div>
|
||
|
</li>
|
||
|
<li>/serv:name = name of the service to connect to (i.e. /serv:telnet or /serv:ftp)
|
||
|
<div class="note"><span class="notetitle">Note:</span> Any TCP/IP service name can be used. For example, see CWBCO1003 or
|
||
|
you local services file.</div>
|
||
|
</li>
|
||
|
<li>/port:# = port number to connect to in decimal (i.e. /port:23 or /port:21)
|
||
|
<div class="note"><span class="notetitle">Note:</span> Any TCP/IP port number can be used. For example, see CWBCO1003 or your
|
||
|
local services file</div>
|
||
|
. </li>
|
||
|
<li>/user:userid = iSeries user ID to use only if the server requires
|
||
|
security on startup </li>
|
||
|
<li>/password:password = iSeries password to use only if the server requires
|
||
|
security on startup </li>
|
||
|
<li>/all = verify all possible servers, by default only common servers are
|
||
|
verified.</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="section"><h4 class="sectiontitle">Examples</h4><p>To check the status of the host servers
|
||
|
on the iSeries system
|
||
|
named System1 with address 9.12.103.14:</p>
|
||
|
<pre>cwbping System1</pre>
|
||
|
<p>or
|
||
|
cwbping</p>
|
||
|
<pre>9.12.103.14 /v </pre>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div>
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzatvutilodbc.htm" title="The following utilities are included with iSeries Access for Linux and are shipped in /opt/ibm/iSeriesAccess/bin.">iSeries Access for Linux utilities</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|