Re: OID length

2015-01-22 Thread Olivier Miakinen
Hello, Le 22/01/2015 10:20, Chitrang Srivastava a écrit : > > I am new to SNMP world, and trying to set(SNMPv2c) an OID , which is of > type *DisplayString*, > > If string is huge like 1300 bytes or so , I see length in OID is encoded as > 1296 (0x0510) > > Byte stream I see on wire shark is li

Forwarding traps to non default port

2015-01-22 Thread Anders Eriksson J
Hi, need some help. Trying to forward traps to a non default port. My snmptrapd.conf: authCommunity log,net public forward default udp:10.1.1.11:28380 public I run (my agent sends to 28380): snmptrapd -f -Lo udp:10.50.24.47:28380 But no traps are forwarded (nothing on my listener on 10.1.1.11:28

OID length

2015-01-22 Thread Chitrang Srivastava
Hi, I am new to SNMP world, and trying to set(SNMPv2c) an OID , which is of type *DisplayString*, If string is huge like 1300 bytes or so , I see length in OID is encoded as 1296 (0x0510) Byte stream I see on wire shark is like *0x04 0x82 0x05 0x10* Why is that ? Is this SNMP v2c limitation or