0

Hi,
I am new to SNMP and am currently required to design an SNMP based NMS. SNMPv2 has a predefined number of messages that can be sent to an agent (like get,getnext,getbulk,set etc.). Is there a way to extend these messages or define new kinds of messages.

Can I send a new code(other than those defined by the SNMP protocol) in the "Message-type" field of an SNMP message if I knew the agent would be able to understand it ? Is there any problem with this technique ?


Thanks in advance for ur help.

2
Contributors
2
Replies
3
Views
10 Years
Discussion Span
Last Post by rahulmisra
0

You have a define a new MIB object, use some MIB compiler to generate skeleton code for server and agent and fill in the skeleton.

0

You have a define a new MIB object, use some MIB compiler to generate skeleton code for server and agent and fill in the skeleton.

But defining a new MIB gives me new OBJECTS. If I am using snmp, the types of messages still remain the same (GET, GETNEXT, SET etc).

My question is -- when a GETNEXTRequest message is BER encoded the Message-type field has a value of 'A1'h (corresponding to GETNEXTRequest). Can my NMS send a message with BER encoding of say 'AA'h if the agent is also designed by me and it would decode this message as some special message (say some kind of control message).

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.