⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 c-config1.html

📁 vxworks相关论文
💻 HTML
📖 第 1 页 / 共 2 页
字号:
</dl><dl class="margin"><dd><div class="Indent"><a name="83518"> </a>For more information on the <b class="keyword">EXCLUDE</b> keyword, see <a href="x-mibcomp4.html#83627"><i class="title">The EXCLUDE Keyword</i></a>. For information on editing and recompiling this MIB configuration file, see <a href="x-mibcomp.html#83422"><i class="title">A.&nbsp;The MIB Compiler User's Guide</i></a>.</div><br></dl><p><ol class="List"><li value="5."><a name="83523"> </a>Rebuild the agent. For example, to rebuild for a SunOS host and an MVME147 target, type the following line from the VxWorks base directory: </li></ol></p><dl class="margin"><dl class="margin"><dd><pre class="Code3"><b><a name="83524"></b><tt class="output">% </tt><b>(cd $WIND_BASE/target/src/snmpv1/agent ; make CPU=MC68020 TOOL=gnu)</a></b></pre></dl></dl><dl class="margin"><dd><div class="Indent"><a name="83525"> </a>To determine what values to use for <b class="symbol_UC">CPU</b> and <b class="symbol_UC">TOOL</b> for a particular host/target combination, look in the makefile provided in the target-specific BSP directory.</div><br></dl><p><ol class="List"><li value="6."><a name="83526"> </a>Rebuild VxWorks. For example, to rebuild for a SunOS host and an MVME147 target, type the following line from the VxWorks base directory:</li></ol></p><dl class="margin"><dl class="margin"><dd><pre class="Code3"><b><a name="83527"></b><tt class="output">% </tt><b>(cd $WIND_BASE/target/config/mv147 ; make TOOL=gnu)</a></b></pre></dl></dl><p><ol class="List"><li value="7."><a name="83528"> </a>Reload VxWorks onto your target system and reboot.</li></ol></p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H3"><i><a name="83530">5.1.3  &nbsp;&nbsp;Standard Configuration Definitions</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="83531"> </a>Default values for the configuration and MIB-II system group variables listed in <a href="c-config1.html#83538">Table&nbsp;5-3</a> are also provided in <b class="file">configAll.h</b>.<p class="table"><h4 class="EntityTitle"><a name="83538"><font face="Helvetica, sans-serif" size="-1" class="sans">Table 5-3:&nbsp;&nbsp;WindNet SNMP Configuration Constants with Default Values</font></a></h4><table border="0" cellpadding="0" cellspacing="0"><tr><td colspan="20"><hr class="tablerule"></td></tr><tr valign="middle"><th rowspan="1" colspan="1"><div class="CellHeading"><b><a name="83542"> </a><font face="Helvetica, sans-serif" size="-1" class="sans">Constant</font></b></div></th><td width="10">&nbsp;</td><th rowspan="1" colspan="1"><div class="CellHeading"><b><a name="83544"> </a><font face="Helvetica, sans-serif" size="-1" class="sans">Default Value</font></b></div></th><td width="10">&nbsp;</td></tr><tr><td colspan="20"><hr class="tablerule2"></td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBody"><a name="83546"> </a><b class="symbol_UC">MIB2_SYS_DESCR</b></div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="83548"> </a><tt class="output">"VxWorks SNMPv1/v2c Agent"</tt></div></td><td width="10">&nbsp;</td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBody"><a name="83550"> </a><b class="symbol_UC">MIB2_SYS_CONTACT</b></div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="83552"> </a><tt class="output">"Wind River Systems"</tt></div></td><td width="10">&nbsp;</td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBody"><a name="83554"> </a><b class="symbol_UC">MIB2_SYS_LOCATION</b></div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="83556"> </a><tt class="output">"Planet Earth"</tt></div></td><td width="10">&nbsp;</td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBody"><a name="83558"> </a><b class="symbol_UC">MIB2_SYS_OBJID_LEN</b></div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="83560"> </a><tt class="output">2</tt></div></td><td width="10">&nbsp;</td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBody"><a name="83562"> </a><b class="symbol_UC">MIB2_SYS_OBJID</b></div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="83564"> </a><tt class="output">{ 0, 0 }</tt></div></td><td width="10">&nbsp;</td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBody"><a name="83566"> </a><b class="symbol_UC">SNMP_TRACE_LEVEL</b></div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="83568"> </a><tt class="output">0</tt></div></td><td width="10">&nbsp;</td></tr><tr><td colspan="20"><hr class="tablerule"></td></tr><tr valign="middle"><td colspan="20"></td></tr></table></p> </p><dd><p class="Body"><a name="83569"> </a>The MIB-II system group variables defined in <b class="file">configAll.h </b>initialize the MIB-II system group in the agent. Their values can be modified to customize the agent as shown below.</p></dl><dl class="margin"><dd><div class="Item"><a name="83570"> </a><b class="symbol_UC">MIB2_SYS_DESCR</b></div><dl class="margin"><dl class="margin"><dd><div class="Indent2"><a name="83571"> </a> <br>Describes the local SNMP environment.</div><br></dl></dl><dd><div class="Item"><a name="83572"> </a><b class="symbol_UC">MIB2_SYS_CONTACT</b></div><dl class="margin"><dl class="margin"><dd><div class="Indent2"><a name="83573"> </a> <br>Base contact for this active SNMP agent.</div><br></dl></dl><dd><div class="Item"><a name="83574"> </a><b class="symbol_UC">MIB2_SYS_LOCATION</b></div><dl class="margin"><dl class="margin"><dd><div class="Indent2"><a name="83575"> </a> <br>Physical location of this SNMP agent.</div><br></dl></dl><dd><div class="Item"><a name="83576"> </a><b class="symbol_UC">MIB2_SYS_OBJID_LEN</b></div><dl class="margin"><dl class="margin"><dd><div class="Indent2"><a name="83577"> </a> <br>Expected length (in octets) of an <b class="keyword">OBJECT IDENTIFIER</b>.</div><br></dl></dl><dd><div class="Item"><a name="83578"> </a><b class="symbol_UC">MIB2_SYS_OBJID</b></div><dl class="margin"><dl class="margin"><dd><div class="Indent2"><a name="83579"> </a> <br>Value of the agent's own <b class="keyword">OBJECT IDENTIFIER</b>.</div><br></dl></dl><dd><div class="Item"><a name="83580"> </a><b class="symbol_UC">SNMP_TRACE_LEVEL</b></div><dl class="margin"><dl class="margin"><dd><div class="Indent2"><a name="83581"> </a> <br>Integer (0-3) representing a level of information reported in trace messages. The various levels are:</div><br></dl><dl class="margin"><dd><div class="Item3"><a name="83582"> </a>0</div><dl class="margin"><dd><div class="Indent3"><a name="83583"> </a>no trace messages</><br></dl><dd><div class="Item3"><a name="83584"> </a>1</div><dl class="margin"><dd><div class="Indent3"><a name="83585"> </a>only errors which prevent the agent from continuing altogether, usually due to unavailable resources at startup (for example, semaphores or memory partitions)</><br></dl><dd><div class="Item3"><a name="83586"> </a>2</div><dl class="margin"><dd><div class="Indent3"><a name="83587"> </a>level 1 messages, plus other errors which do not prevent the agent from continuing</><br></dl><dd><div class="Item3"><a name="83588"> </a>3</div><dl class="margin"><dd><div class="Indent3"><a name="83589"> </a>level 1 plus level 2 plus informational messages</><br></dl></dl></dl></dl></dl><a name="foot"><hr></a><p class="navbar" align="right"><a href="index.html"><img border="0" alt="[Contents]" src="icons/contents.gif"></a></a><a href="c-config.html"><img border="0" alt="[Top]" src="icons/top.gif"></a><a href="c-config.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="c-config2.html"><img border="0" alt="[Next]" src="icons/next.gif"></a></p></body></html><!---by WRS Documentation (), Wind River Systems, Inc.    conversion tool:  Quadralay WebWorks Publisher 4.0.11    template:         CSS Template, Jan 1998 - Jefro --->

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -