248 lines
9.1 KiB
HTML
248 lines
9.1 KiB
HTML
|
|
<!doctype html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html>
|
|
<head><META http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<title>Change Community for SNMP (CHGCOMSNMP)</title>
|
|
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
|
|
</head>
|
|
<body bgcolor="white">
|
|
<script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<a name="CHGCOMSNMP.Top_Of_Page"></a>
|
|
<h2>Change Community for SNMP (CHGCOMSNMP)</h2>
|
|
<table width="100%">
|
|
<tr>
|
|
<td valign="top" align="left"><b>Where allowed to run: </b>All environments (*ALL)<br>
|
|
<b>Threadsafe: </b>No
|
|
</td>
|
|
<td valign="top" align="right">
|
|
<a href="#CHGCOMSNMP.PARAMETERS.TABLE">Parameters</a><br>
|
|
<a href="#CHGCOMSNMP.COMMAND.EXAMPLES">Examples</a><br>
|
|
<a href="#CHGCOMSNMP.ERROR.MESSAGES">Error messages</a></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<div> <a name="CHGCOMSNMP"></a>
|
|
<p>The Change Community for SNMP (CHGCOMSNMP) command changes an SNMP community profile in the SNMP agent community list. An SNMP agent uses a community profile to determine whether or not to honor a request sent by an SNMP manager. The community profile consists of a community name, an object access specification, and a list of the SNMP managers that are part of the community. The community name combined with the ASCII community (ASCIICOM) parameter defines a community.
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGCOMSNMP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
|
|
<div>
|
|
<h3><a name="CHGCOMSNMP.PARAMETERS.TABLE">Parameters</a></h3>
|
|
<table border="1" cellpadding="4" cellspacing="0">
|
|
<!-- col1="10" col2="15" col3="30" col4="10" -->
|
|
<tr>
|
|
<th bgcolor="aqua" valign="bottom" align="left">Keyword</th>
|
|
<th bgcolor="aqua" valign="bottom" align="left">Description</th>
|
|
<th bgcolor="aqua" valign="bottom" align="left">Choices</th>
|
|
<th bgcolor="aqua" valign="bottom" align="left">Notes</th>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#CHGCOMSNMP.COM"><b>COM</b></a></td>
|
|
<td valign="top">Community name</td>
|
|
<td valign="top"><i>Character value</i></td>
|
|
<td valign="top">Required, Key, Positional 1</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#CHGCOMSNMP.ASCIICOM"><b>ASCIICOM</b></a></td>
|
|
<td valign="top">Translate community name</td>
|
|
<td valign="top"><b><u>*YES</u></b>, *NO</td>
|
|
<td valign="top">Optional, Key</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#CHGCOMSNMP.INTNETADR"><b>INTNETADR</b></a></td>
|
|
<td valign="top">Manager internet address</td>
|
|
<td valign="top">Single values: <b><u>*SAME</u></b>, *ANY<br>Other values (up to 300 repetitions): <i>Character value</i></td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#CHGCOMSNMP.OBJACC"><b>OBJACC</b></a></td>
|
|
<td valign="top">Object access</td>
|
|
<td valign="top"><b><u>*SAME</u></b>, *SNMPATR, *READ, *WRITE, *NONE</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#CHGCOMSNMP.LOGSET"><b>LOGSET</b></a></td>
|
|
<td valign="top">Log set requests</td>
|
|
<td valign="top"><b><u>*SAME</u></b>, *SNMPATR, *YES, *NO</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#CHGCOMSNMP.LOGGET"><b>LOGGET</b></a></td>
|
|
<td valign="top">Log get requests</td>
|
|
<td valign="top"><b><u>*SAME</u></b>, *SNMPATR, *YES, *NO</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGCOMSNMP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</div>
|
|
<div> <a name="CHGCOMSNMP.COM"></a>
|
|
<h3>Community name (COM)</h3>
|
|
<p>Specifies the name of the SNMP community being changed. The community must already exist in the SNMP agent community list. You can define an SNMP community using the Add Community for SNMP (ADDCOMSNMP) command.
|
|
</p>
|
|
<p>The possible values are:
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>community-name</i></b></dt>
|
|
<dd>Specify the name of the SNMP community being changed. The name may contain characters that cannot be displayed.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGCOMSNMP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="CHGCOMSNMP.ASCIICOM"></a>
|
|
<h3>Translate community name (ASCIICOM)</h3>
|
|
<p>Specifies whether the community name is translated to ASCII characters before it is compared with the community name specified in a request from an SNMP manager. This parameter is used in combination with the community name to determine the community to be changed.
|
|
</p>
|
|
<p>The possible values are:
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*YES</u></b></dt>
|
|
<dd>The community name is translated to ASCII characters before it is compared with a community name specified by an SNMP manager.
|
|
</dd>
|
|
<dt><b>*NO</b></dt>
|
|
<dd>The community name is not translated to ASCII characters before it is compared with a community name specified by an SNMP manager.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGCOMSNMP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="CHGCOMSNMP.INTNETADR"></a>
|
|
<h3>Manager internet address (INTNETADR)</h3>
|
|
<p>The internet addresses of the SNMP managers that are part of this community.
|
|
</p>
|
|
<p>The possible values are:
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*SAME</u></b></dt>
|
|
<dd>The value does not change.
|
|
</dd>
|
|
<dt><b>*ANY</b></dt>
|
|
<dd>Allow any SNMP manager to be part of this community.
|
|
</dd>
|
|
<dt><b><i>manager-internet-address</i></b></dt>
|
|
<dd>Specify the internet address of the SNMP manager. The internet address is specified in the form <i>nnn.nnn.nnn.nnn</i>, where <i>nnn</i> is a decimal number ranging from 0 through 255. An internet address is not valid if it has a value of all binary ones or all binary zeros for the network identifier (ID) portion or the host ID portion of the address. If the internet address is entered from a command line, the address must be enclosed in apostrophes. Up to 300 unique internet addresses may be specified. The same internet address may appear in more than one community profile.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGCOMSNMP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="CHGCOMSNMP.OBJACC"></a>
|
|
<h3>Object access (OBJACC)</h3>
|
|
<p>Specifies the object access for the community.
|
|
</p>
|
|
<p>The possible values are:
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*SAME</u></b></dt>
|
|
<dd>The value does not change.
|
|
</dd>
|
|
<dt><b>*SNMPATR</b></dt>
|
|
<dd>The object access defined with the Change SNMP Attributes (CHGSNMPA) command is used for this community.
|
|
</dd>
|
|
<dt><b>*READ</b></dt>
|
|
<dd>Allow SNMP managers that are part of this community to read all management information base (MIB) objects. Modification of MIB objects by SNMP managers is not permitted.
|
|
</dd>
|
|
<dt><b>*WRITE</b></dt>
|
|
<dd>Allow SNMP managers that are part of this community to change all MIB objects that can be changed. Specifying *WRITE implies *READ access.
|
|
</dd>
|
|
<dt><b>*NONE</b></dt>
|
|
<dd>Do not allow SNMP managers that are part of this community to access any MIB objects.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGCOMSNMP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="CHGCOMSNMP.LOGSET"></a>
|
|
<h3>Log set requests (LOGSET)</h3>
|
|
<p>Specifies whether Set requests from SNMP managers in this community are logged in journal QSNMP in library QUSRSYS.
|
|
</p>
|
|
<p>The possible values are:
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*SAME</u></b></dt>
|
|
<dd>The value does not change.
|
|
</dd>
|
|
<dt><b>*SNMPATR</b></dt>
|
|
<dd>The value defined with the Change SNMP Attributes (CHGSNMPA) command is used for this community.
|
|
</dd>
|
|
<dt><b>*YES</b></dt>
|
|
<dd>Set requests are logged.
|
|
</dd>
|
|
<dt><b>*NO</b></dt>
|
|
<dd>Set requests are not logged.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGCOMSNMP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="CHGCOMSNMP.LOGGET"></a>
|
|
<h3>Log get requests (LOGGET)</h3>
|
|
<p>Specifies whether get requests and get-next requests from SNMP managers in this community are logged in journal QSNMP in library QUSRSYS.
|
|
</p>
|
|
<p>The possible values are:
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*SAME</u></b></dt>
|
|
<dd>The value does not change.
|
|
</dd>
|
|
<dt><b>*SNMPATR</b></dt>
|
|
<dd>The value defined with the Change SNMP Attributes (CHGSNMPA) command is used for this community.
|
|
</dd>
|
|
<dt><b>*YES</b></dt>
|
|
<dd>Get requests and get-next requests are logged.
|
|
</dd>
|
|
<dt><b>*NO</b></dt>
|
|
<dd>Get requests and get-next requests are not logged.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGCOMSNMP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="CHGCOMSNMP.COMMAND.EXAMPLES">Examples</a> </h3>
|
|
<p>
|
|
<pre>
|
|
CHGCOMSNMP COM(ENDICOTT) INTNETADR(*ANY) OBJACC(*READ)
|
|
</pre>
|
|
</p>
|
|
<p>This command changes community ENDICOTT to have an object access of read and to allow any SNMP manager to read the MIB objects on this system. All of the other community values are unchanged.
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGCOMSNMP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="CHGCOMSNMP.ERROR.MESSAGES">Error messages</a> </h3>
|
|
<p><b><u>*ESCAPE Messages</u></b>
|
|
</p>
|
|
<dl>
|
|
<dt><b>TCP4001</b></dt>
|
|
<dd>Error occurred accessing SNMP configuration information.
|
|
</dd>
|
|
<dt><b>TCP4009</b></dt>
|
|
<dd>Community does not exist.
|
|
</dd>
|
|
<dt><b>TCP8050</b></dt>
|
|
<dd>*IOSYSCFG authority required to use &1.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGCOMSNMP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</body>
|
|
</html>
|