readme_demo

来自「这里包含了风河vxworks系统中的官方例程的C源代码」· 代码 · 共 38 行

TXT
38
字号
FILE LIST -              Makefile.demo  demo.c demo.mibDESCRIPTION -              This demo shows how to do a MIB extension to the SNMP agent               using a scalar custom MIB. This example is described in the               SNMPv1/v2c Component Release Supplement 1.0 Chapter 6 -              Extending the WindNet SNMPv1/v2c Agent.              Use the 6 steps provided in the chapter to make the MIB               extension.  The Makefile in the /snmpv1/agent/ dir has              been edited to Makefile.demo to include demo.mib and demo.o              Do a "make clean" in your agent and vxWorks image dir              before you build a new SNMP agent and integrage it to VxWorks.   RUNNING DEMO -               Follow the steps in Section 6.3 Compile-time MIB Extensions              of the SNMPv1/v2c Component Release Supplement 1.0 TESTED ON -  Host/Target : Solaris 2.5 / mv162             VxWorks     : 5.3.1EXAMPLE COMPILE LINE -             In the /snmpv1/agent dir - make CPU=MC68040 TOOL=gnuOUTPUTS/LOGFILE -% snmpwalk demossysState.0      Number: system-running(1)sysUserName.0           String(6): rajeshsysUserPassw.0          String(0):No more in MIB

⌨️ 快捷键说明

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