ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzalu_5.4.0.1/rzaluconsnmpprt.htm

154 lines
8.5 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 xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="dc.language" scheme="rfc1766" 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. -->
<meta name="dc.date" scheme="iso8601" content="2005-09-06" />
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
<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))' />
<title>Configure SNMP printers</title>
<link rel="stylesheet" type="text/css" href="ibmidwb.css" />
<link rel="stylesheet" type="text/css" href="ic.css" />
</head>
<body>
<a id="Top_Of_Page" name="Top_Of_Page"></a><!-- Java sync-link -->
<script language = "Javascript" src = "../rzahg/synch.js" type="text/javascript"></script>
<img src="delta.gif" alt="Start of change" />
<a name="rzaluconsnmpprt"></a>
<h3 id="rzaluconsnmpprt">Configure SNMP printers</h3>
<ol type="1">
<li>Ensure that you have satisfied the following requirements:
<ul>
<li>The printer must support the Host Resource Management Information Base
(Host Resources MIB, RFC1514). The printer should also support the Printer
Management Information Base (Printer MIB, RFC1759). For a list of printers
that are known to support SNMP, see the <a href="http://www.ibm.com/support/docview.wss?rs=110&amp;uid=nas1dae2e6b32726a0f386256f0300551dbd" target="_blank">IBM&reg; knowledge
base document</a>
<img src="www.gif" alt="Link outside Information Center" /> &quot;Support for Various ASCII
Printers&quot; (search for the document title at www.ibm.com/support/).</li>
<li>If the printer is connected to a network interface card, the network interface
card must be compatible with the Host Resource Management Information Base
(Host Resources MIB, RFC1514).</li>
<li>If the printer is connected to an external network adapter that has more
than one port, the printer should be connected to the first parallel port
and there should be no other SNMP-capable devices attached to the network
adapter.</li>
<li>The printer and any network adapter must be set to have, at a minimum,
a community name of public. The community name of public is typically a factory
default setting. Community names are a means of access control for SNMP devices.
Read-only access to the public community is sufficient.</li></ul></li>
<li>Use the Create Device Description (Printer) (<a href="../cl/crtdevprt.htm">CRTDEVPRT</a>) CL command to create a printer device description. From a character-based
interface, type <tt class="xph">CRTDEVPRT</tt>.</li>
<li>On the Create Device Description (Printer) Display, press F9 to display
all parameters.</li>
<li>Specify the following values:
<a name="wq153"></a>
<table id="wq153" width="90%" summary="" border="1" frame="border" rules="all" class="singleborder">
<thead valign="bottom">
<tr class="tablemainheaderbar">
<th id="wq154" align="left" valign="top">Parameter</th>
<th id="wq155" align="left" valign="top">Value</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td headers="wq154">Device description (DEVD)</td>
<td headers="wq155">The name of your device description. For example, <tt class="xph"><span class="italic">mysnmpprt</span></tt>.</td>
</tr>
<tr>
<td headers="wq154">Device class (DEVCLS)</td>
<td headers="wq155">This must be set to <tt class="xph">*LAN</tt>.</td>
</tr>
<tr>
<td headers="wq154">Device type (TYPE)</td>
<td headers="wq155">This must be set to <tt class="xph">3812</tt>.</td>
</tr>
<tr>
<td headers="wq154">Device model (MODEL)</td>
<td headers="wq155">This must be set to <tt class="xph">1</tt>.</td>
</tr>
<tr>
<td headers="wq154">LAN attachment (LANATTACH)</td>
<td headers="wq155">This must be set to <tt class="xph">*IP</tt>.</td>
</tr>
<tr>
<td headers="wq154">Port number (PORT)</td>
<td headers="wq155">The port number that the printer network interface card
accepts for SNMP data. Refer to your manufacturer's information or to the <a href="http://www.ibm.com/eserver/iseries/support/s_dir/slkbase.nsf/1ac66549a21402188625680b0002037e/94e73364f979e388862569030071c398?OpenDocument" target="_blank">IBM knowledge base document</a>
<img src="www.gif" alt="Link outside Information Center" /> &quot;Recommended SNMP Port Numbers Values for *LAN 3812 SNMP Device Descriptions&quot; (search for the document title at www.ibm.com/support/) for the correct
value. Typically this value is <tt class="xph">9100</tt> or <tt class="xph">2501</tt>.</td>
</tr>
<tr>
<td headers="wq154">Font (FONT)</td>
<td headers="wq155">This is typically set to <tt class="xph">011</tt>, which is the
default 10 CPI font.</td>
</tr>
<tr>
<td headers="wq154">Form feed (FORMFEED)</td>
<td headers="wq155">Set to <tt class="xph">*AUTOCUT</tt>, if single-cut sheets are
used by the printer. Set to <tt class="xph">*CONT</tt>, if printing to a continuous
forms printer.</td>
</tr>
<tr>
<td headers="wq154">Printer error message (PRTERRMSG)</td>
<td headers="wq155">Set to <tt class="xph">*INFO</tt> so that the printer's message
queue will receive informational messages whenever possible. This can prevent
a condition that might cause the printer writer to end.</td>
</tr>
<tr>
<td headers="wq154">Message queue (MSGQ)</td>
<td headers="wq155">The default value is *CTLD, which indicates that the
message queue is defined in the attached controller. There is no attached
controller for *LAN printer device descriptions, so leaving the Message queue
(MSGQ) parameter set to *CTLD will in effect set it to the QSYSOPR message
queue in library QSYS. If you want to use another message queue for this
printer device, verify that the message queue exists before entering the message
queue and library in the MSGQ parameter. Otherwise, the CRTDEVPRT command
will fail with message CPF2799, <span class="bold">Message queue &amp;1
in library &amp;2 not found.</span></td>
</tr>
<tr>
<td headers="wq154">Host print transform (TRANSFORM)</td>
<td headers="wq155">Set to <span>*YES</span> so that SNA character string (SCS)
and AFP data stream spooled files are converted to the printer's data stream.</td>
</tr>
<tr>
<td headers="wq154">Manufacturer type and model (MTRTYPMDL)</td>
<td headers="wq155">This value indicates the type of ASCII printer and is
used by the host print transform when converting spooled files. For recommendations
on the value to use for some popular printers, see the <a href="http://www.ibm.com/support/docview.wss?rs=110&amp;uid=nas1dae2e6b32726a0f386256f0300551dbd" target="_blank">IBM knowledge base document</a>
<img src="www.gif" alt="Link outside Information Center" /> &quot;Support for various ASCII Printers&quot; (search for the document title at www.ibm.com/support/).</td>
</tr>
<tr>
<td headers="wq154">Remote location (RMTLOCNAME)</td>
<td headers="wq155">The name of your printer on the TCP/IP network; for
example, <tt class="xph"><span class="italic">192.168.0.1</span></tt> or <tt class="xph"><span class="italic">mysnmpprt.myco.com</span></tt>. You should verify that i5/OS can reach the
printer by using either the ping or Verify TCP/IP Connection (VFYTCPCNN) command.</td>
</tr>
<tr>
<td headers="wq154">User-defined options (USRDFNOPT)</td>
<td headers="wq155">Set to <tt class="xph">*IBMSHRCNN</tt> if the printer is an IBM
InfoPrint 21 (4321).</td>
</tr>
<tr>
<td headers="wq154">System driver program (SYSDRVPGM)</td>
<td headers="wq155">This must be set to <tt class="xph">*IBMSNMPDRV</tt>.</td>
</tr>
</tbody>
</table>All other values can be left as the default value.</li>
<li>Press Enter.</li>
<li>Make the printer available. See <a href="rzalumanvryonprt.htm#rzalumanvryonprt">Make printer available</a>.</li>
<li>Start the printer writer. For more information, see <a href="rzalumanstrprtw.htm#rzalumanstrprtw">Start printer writer</a>.</li></ol><img src="deltaend.gif" alt="End of change" />
<a id="Bot_Of_Page" name="Bot_Of_Page"></a>
</body>
</html>