>> On doing a snmpget (snmpget -v1 -cdemo localhost vpnIFIndex.0) for index 0
>> it fails with the following error message -
>>
>> "vpnIFIndex.0: Unknown Object Identifier (Index out of range: 0 
>> (vpnIFIndex))"

> What is the MIB definition for vpnIFIndex  ?

This is how I have defined vpnIFIndex.

vpnTable OBJECT-TYPE
    SYNTAX      SEQUENCE OF VpnEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "sequence"
    ::= { vpnGrpInfo 7 }

vpnEntry OBJECT-TYPE
    SYNTAX      VpnEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "entry"
    INDEX   { vpnIFIndex }
    ::= { vpnTable 1 }

VpnEntry ::= SEQUENCE {
    vpnIFIndex           InterfaceIndex,
    vpnIFType            Integer32,
    vpnAddType           Integer32

>Dave

http://www.mindtree.com/email/disclaimer.html

------------------------------------------------------------------------------
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to