[AGENT++] how to send a set request to a table by using MIB Explorer Lite

Frank Fock fock at agentpp.com
Thu Feb 1 20:33:19 CET 2007


Hi Rajesh,

First, your table definition is problematic because
the table's index is read-only (must be not-accessible).

In order to be able to help you, we would need more
information. What do you mean with "is not taking these
values"? Who is not accepting which values?

Best regards,
Frank

Rajesh Bansal wrote:
> Hi all,
> I have a table in MIB with following defination .
> 
> testTable OBJECT-TYPE
>  SYNTAX  SEQUENCE OF TestEntry
>  MAX-ACCESS not-accessible
>  STATUS  current
>  DESCRIPTION ""
>  -- 1.3.6.1.4.1.1.1.4
>  ::= { testObjects 4 }
> 
> 
> testEntry OBJECT-TYPE
>  SYNTAX  TestEntry
>  MAX-ACCESS not-accessible
>  STATUS  current
>  DESCRIPTION ""
>  INDEX {
>    testEntryIndex }
>  -- 1.3.6.1.4.1.1.1.4.1
>  ::= { testTable 1 }
> 
> 
> TestEntry ::= SEQUENCE {
> 
>  testEntryPortNo Integer32,
>  testEntryStatus Integer32,
>  testEntryIndex  Unsigned32 }
> 
> 
> testEntryPortNo OBJECT-TYPE
>  SYNTAX  Integer32
>  MAX-ACCESS read-write
>  STATUS  current
>  DESCRIPTION ""
>  DEFVAL { 0 }
>  -- 1.3.6.1.4.1.1.1.4.1.1
>  ::= { testEntry 1 }
> 
> 
> testEntryStatus OBJECT-TYPE
>  SYNTAX  Integer32
>  MAX-ACCESS read-write
>  STATUS  current
>  DESCRIPTION ""
>  -- 1.3.6.1.4.1.1.1.4.1.2
>  ::= { testEntry 2 }
> 
> 
> testEntryIndex OBJECT-TYPE
>  SYNTAX  Unsigned32
>  MAX-ACCESS read-only
>  STATUS  current
>  DESCRIPTION ""
>  -- 1.3.6.1.4.1.1.1.4.1.3
>  ::= { testEntry 3 }
> 
> 
> 
> here testEntryIndex using as a index for this table. I am tring to send a
> set request to this table from MIB Explorer Lite but it is not taking these
> values so plz tell me that if i have to change something there.
> _______________________________________________
> AGENTPP mailing list
> AGENTPP at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/agentpp

-- 
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com




More information about the AGENTPP mailing list