阅读:1937回复:0
请教如何在代理端实现列对象的定义
我参考的是msdn给的testdll的例子程序,但是他都是给的标量对象的定义,如果我要是实现如下的列对象定义应该怎么写(即怎么写MIB_ENTRY Mib[])
portSetupTable OBJECT-TYPE SYNTAX SEQUENCE OF PortSetupEntry ACCESS not-accessible STATUS mandatory DESCRIPTION "Port Table settings." ::= { portSetup 1 } portSetupEntry OBJECT-TYPE SYNTAX PortSetupEntry ACCESS not-accessible STATUS mandatory DESCRIPTION "The entry of the address." INDEX { portSetupPort } ::= { portSetupTable 1 } PortSetupEntry::=SEQUENCE { portSetupPort INTEGER, portSetupOnOff INTEGER, portSetupMode INTEGER} 急,有经验的大哥给提点一下,万分感谢 |
|