Hi,
I'm not sure if this is a bug in NetSNMP yet or not, but I'd thought I
would ask the users if I've missed something. I have this really long
index to send to a mib entry value's row status. I'm trying to create
it via netsnmp and have been unsuccessful everytime. I asked another
co-worker to do the same on the same machine, and she had no problem
with it, but she used something else besides NetSNMP. I'll show the
command. The MIB entry is at the end of the email.
C:\Projects\Clients\ADTRAN\workspace\TA5K-Conf\src>snmpset -c 'private' -d -v2c
X.X.X.X adGenMenPortRowStatus.69.86.67.50.48.50.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0
.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.23933901 i 5
adGenMenPortRowStatus.69.86.67.50.48.50.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.
0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.23933901: (Index out of range:
23933901 (adGenEVCNameFixedLen))
I'm trying to connect a port (23933901) to EVC202 (69.86.67.50.48.50
in ASCII) which probably means nothing to you. IP address removed for
privacy. As far as I know, my coworker confirms that this is how it's
supposed to be done for the indexing and has been working for months
now.
Thanks
adGenEVCMenPortEntry OBJECT-TYPE
SYNTAX AdGenEVCMenPortEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry in the EVC MEN Port table. This table can be
used to add or remove MEN Port connections for an EVC.
The first index, adGenEVCNameFixedLen, identifies the EVC.
The second index is the ifIndex for the MEN port."
INDEX { adGenEVCNameFixedLen, adGenMenPortIfIndex }
::= { adGenEVCMenPortTable 1 }
AdGenEVCMenPortEntry ::=
SEQUENCE {
adGenEVCNameFixedLen
OCTET STRING,
adGenMenPortIfIndex
InterfaceIndex,
adGenMenPortRowStatus
RowStatus,
}
adGenEVCNameFixedLen OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The name of the EVC to which the MEN Port should be added.
This string matches adGenEvcName from adGenEVCTable, but it is
padded at the end with 0x00 so that the table index has a fixed
length of 50 characters."
::= { adGenEVCMenPortEntry 1}
adGenMenPortIfIndex OBJECT-TYPE
SYNTAX InterfaceIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This interface index of the MEN port to be connected to this EVC."
::= { adGenEVCMenPortEntry 2}
adGenMenPortRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object is used to create or destroy a MEN Port
connection for an EVC."
::= { adGenEVCMenPortEntry 3}
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users