|
The DECmcc SNMP AM uses standard ASN.1 basic encoding rules (BER)
and the structure of the PDU sent out by the AM should not differ
in any way from what HP or SUN are sending out. In fact, we have
been shipping the SNMP AM for 2 1/2 years and never have we heard
any complaints regarding the PDU structures (and that layer of code
has not changed since V1.0).
The only difference I can think of between HP/SUN and DECmcc is that
we mainly use the SNMP Get request while they use the GetNext request.
The question is does the sniffer implement Get responses properly?
Use the mib query utility to walk through the mib objects using the
GetNext operation. (You could also do a GetNext operation from DECmcc
by doing a wildcarded show on a table entity, like the interface
table).
Another thing you might want to check is whether the DECmcc management
station has read access on the agent. This is a common problem faced
by people setting up SNMP management stations.
Rahul.
|
| Hello,
I spoke to the customer about your reply and here is their response
I agree that BER rules are being followed. What I noticed is that the Length
field is expanded. For instance the encoding of - tag,length,value - sequence
of ...with 12 bytes should be 30 0C. DECmcc expands this into 30 82 00 0C.
Legal BER but unnecessary (maybe the Sniffer agent can't handle this?). We
utilized some code from CMU to send a SNMP Get Request from the DEC station to
the Sniffer and that works OK (non-expanded length field). The only other
difference between these two messages is CMU's packet has Request ID 77827118
(large arbitrary number) and DECmcc always uses a Request ID of 1. DECmcc 1.3
does not even recognize the sniffer agent...it will not let us add the MIB
icon to the list of SNMP objects for the Sniffer. MIB walk does not
work. Community string (access to the agent) is not a problem.
|
|
Peter,
I understand with the current ASN.1 encodings you may not
be able to query the Sniffer agent from DECmcc. Trying to change
the ASN.1 encodings at this juncture is going to be an extremely
risky proposition. It may also mean changes to the DECmcc kernel,
since the SNMP AM uses the ASN.1 kernel routines. I would suggest
that the customer talk with Network General explaining the problem,
since it may not be too difficult a task removing the current
limitation from the agent software.
This problem is going to be a temporary one since for our
SNMP V2 implementation we intend to start using Jeff Case's code
base for the low level protocol engine. We expect that all agents
will standardise around this code, thereby removing any possibility
of the sort of problems your customers are facing now.
Rahul.
|