[SNMP4J] Fwd: SNMP4J - not able to get response for Solaris machine

Chinmay Kant chinmay.kant at gmail.com
Fri Nov 26 10:04:48 CET 2010


Further adding, Please see wireshark captures.

This shows some data is received but when i say
    response.getResponse() is null

My Program:-
        Snmp snmp = new Snmp(new DefaultUdpTransportMapping());

        InetAddress address = InetAddress.getByName("172.18.5.55");
        // setting up target
        CommunityTarget target = new CommunityTarget();
        target.setCommunity(new OctetString("public"));
        target.setAddress(new UdpAddress(address, 161));
        target.setRetries(2);
        target.setTimeout(1500);
        target.setVersion(SnmpConstants.version1);
        // creating PDU
        PDU pdu = new PDU();

        pdu.add(new VariableBinding(new OID(OIDsysDescr)));
        pdu.add(new VariableBinding(new OID(OIDsysOid)));
        pdu.add(new VariableBinding(new OID(OIDsysContact)));
        pdu.add(new VariableBinding(new OID(OIDsysName)));
        pdu.add(new VariableBinding(new OID(OIDsysLocation)));
        pdu.add(new VariableBinding(new OID(OIDsysServices)));
        pdu.add(new VariableBinding(new OID(OIDipForwarding)));
        pdu.add(new VariableBinding(new OID(OIDprtGeneralCfgChanges)));
        pdu.add(new VariableBinding(new OID(OIDifNumber)));
        pdu.setType(PDU.GETNEXT);

        snmp.listen();

        ResponseEvent response = snmp.send(pdu, target);

        System.out.println("Received response PDU is:
"+response.getResponse());

    Output :-  Received response PDU is: null

Thanks,
Chinmay Kant

---------- Forwarded message ----------
From: <Chinmay.Kant at gmail.com>
Date: Fri, Nov 26, 2010 at 1:40 PM
Subject: SNMP4J - not able to get response for Solaris machine
To: snmp4j at agentpp.org.


Hi all,

I am trying to use SNMP4J for discovering machines in my network.

The SNMP4J detects all Windows machine with public community.
It is not able to get a solaris machine.

I am sending the request from windows and not able to get any response from
a solaris machine from SNMP4J.

other tools can get response from the same machine using public community,

Can anybody guide me??

Thanks,
Chinmay Kant



-- 
Thanks and Regards,
Chinmay
-------------- next part --------------
No.     Time        Source                Destination           Protocol Info
   1607 31.301199   172.18.2.213          172.18.5.55           SNMP     get-next-request 1.3.6.1.2.1.1.1 1.3.6.1.2.1.1.2 1.3.6.1.2.1.1.4 1.3.6.1.2.1.1.5 1.3.6.1.2.1.1.6 1.3.6.1.2.1.1.7 1.3.6.1.2.1.4.1 1.3.6.1.2.1.43.5.1.1 1.3.6.1.2.1.2.1

Frame 1607: 192 bytes on wire (1536 bits), 192 bytes captured (1536 bits)
Ethernet II, Src: Pegatron_6b:70:d9 (70:71:bc:6b:70:d9), Dst: Oracle_1f:7b:5f (00:03:ba:1f:7b:5f)
Internet Protocol, Src: 172.18.2.213 (172.18.2.213), Dst: 172.18.5.55 (172.18.5.55)
User Datagram Protocol, Src Port: dashpas-port (3498), Dst Port: snmp (161)
Simple Network Management Protocol
    version: version-1 (0)
    community: public
    data: get-next-request (1)
        get-next-request
            request-id: 135705341
            error-status: noError (0)
            error-index: 0
            variable-bindings: 9 items
                1.3.6.1.2.1.1.1: 
                    Object Name: 1.3.6.1.2.1.1.1 (iso.3.6.1.2.1.1.1)
                1.3.6.1.2.1.1.2: 
                    Object Name: 1.3.6.1.2.1.1.2 (iso.3.6.1.2.1.1.2)
                1.3.6.1.2.1.1.4: 
                    Object Name: 1.3.6.1.2.1.1.4 (iso.3.6.1.2.1.1.4)
                1.3.6.1.2.1.1.5: 
                    Object Name: 1.3.6.1.2.1.1.5 (iso.3.6.1.2.1.1.5)
                1.3.6.1.2.1.1.6: 
                    Object Name: 1.3.6.1.2.1.1.6 (iso.3.6.1.2.1.1.6)
                1.3.6.1.2.1.1.7: 
                    Object Name: 1.3.6.1.2.1.1.7 (iso.3.6.1.2.1.1.7)
                1.3.6.1.2.1.4.1: 
                    Object Name: 1.3.6.1.2.1.4.1 (iso.3.6.1.2.1.4.1)
                1.3.6.1.2.1.43.5.1.1: 
                    Object Name: 1.3.6.1.2.1.43.5.1.1 (iso.3.6.1.2.1.43.5.1.1)
                1.3.6.1.2.1.2.1: 
                    Object Name: 1.3.6.1.2.1.2.1 (iso.3.6.1.2.1.2.1)

0000  00 03 ba 1f 7b 5f 70 71 bc 6b 70 d9 08 00 45 00   ....{_pq.kp...E.
0010  00 b2 00 76 00 00 80 11 d9 94 ac 12 02 d5 ac 12   ...v............
0020  05 37 0d aa 00 a1 00 9e 8c 47 30 81 93 02 01 00   .7.......G0.....
0030  04 06 70 75 62 6c 69 63 a1 81 85 02 04 08 16 b2   ..public........
0040  fd 02 01 00 02 01 00 30 77 30 0b 06 07 2b 06 01   .......0w0...+..
0050  02 01 01 01 05 00 30 0b 06 07 2b 06 01 02 01 01   ......0...+.....
0060  02 05 00 30 0b 06 07 2b 06 01 02 01 01 04 05 00   ...0...+........
0070  30 0b 06 07 2b 06 01 02 01 01 05 05 00 30 0b 06   0...+........0..
0080  07 2b 06 01 02 01 01 06 05 00 30 0b 06 07 2b 06   .+........0...+.
0090  01 02 01 01 07 05 00 30 0b 06 07 2b 06 01 02 01   .......0...+....
00a0  04 01 05 00 30 0d 06 09 2b 06 01 02 01 2b 05 01   ....0...+....+..
00b0  01 05 00 30 0b 06 07 2b 06 01 02 01 02 01 05 00   ...0...+........

No.     Time        Source                Destination           Protocol Info
   1678 32.800621   172.18.2.213          172.18.5.55           SNMP     get-next-request 1.3.6.1.2.1.1.1 1.3.6.1.2.1.1.2 1.3.6.1.2.1.1.4 1.3.6.1.2.1.1.5 1.3.6.1.2.1.1.6 1.3.6.1.2.1.1.7 1.3.6.1.2.1.4.1 1.3.6.1.2.1.43.5.1.1 1.3.6.1.2.1.2.1

Frame 1678: 192 bytes on wire (1536 bits), 192 bytes captured (1536 bits)
Ethernet II, Src: Pegatron_6b:70:d9 (70:71:bc:6b:70:d9), Dst: Oracle_1f:7b:5f (00:03:ba:1f:7b:5f)
Internet Protocol, Src: 172.18.2.213 (172.18.2.213), Dst: 172.18.5.55 (172.18.5.55)
User Datagram Protocol, Src Port: dashpas-port (3498), Dst Port: snmp (161)
Simple Network Management Protocol
    version: version-1 (0)
    community: public
    data: get-next-request (1)
        get-next-request
            request-id: 135705341
            error-status: noError (0)
            error-index: 0
            variable-bindings: 9 items
                1.3.6.1.2.1.1.1: 
                    Object Name: 1.3.6.1.2.1.1.1 (iso.3.6.1.2.1.1.1)
                1.3.6.1.2.1.1.2: 
                    Object Name: 1.3.6.1.2.1.1.2 (iso.3.6.1.2.1.1.2)
                1.3.6.1.2.1.1.4: 
                    Object Name: 1.3.6.1.2.1.1.4 (iso.3.6.1.2.1.1.4)
                1.3.6.1.2.1.1.5: 
                    Object Name: 1.3.6.1.2.1.1.5 (iso.3.6.1.2.1.1.5)
                1.3.6.1.2.1.1.6: 
                    Object Name: 1.3.6.1.2.1.1.6 (iso.3.6.1.2.1.1.6)
                1.3.6.1.2.1.1.7: 
                    Object Name: 1.3.6.1.2.1.1.7 (iso.3.6.1.2.1.1.7)
                1.3.6.1.2.1.4.1: 
                    Object Name: 1.3.6.1.2.1.4.1 (iso.3.6.1.2.1.4.1)
                1.3.6.1.2.1.43.5.1.1: 
                    Object Name: 1.3.6.1.2.1.43.5.1.1 (iso.3.6.1.2.1.43.5.1.1)
                1.3.6.1.2.1.2.1: 
                    Object Name: 1.3.6.1.2.1.2.1 (iso.3.6.1.2.1.2.1)

0000  00 03 ba 1f 7b 5f 70 71 bc 6b 70 d9 08 00 45 00   ....{_pq.kp...E.
0010  00 b2 00 88 00 00 80 11 d9 82 ac 12 02 d5 ac 12   ................
0020  05 37 0d aa 00 a1 00 9e 8c 47 30 81 93 02 01 00   .7.......G0.....
0030  04 06 70 75 62 6c 69 63 a1 81 85 02 04 08 16 b2   ..public........
0040  fd 02 01 00 02 01 00 30 77 30 0b 06 07 2b 06 01   .......0w0...+..
0050  02 01 01 01 05 00 30 0b 06 07 2b 06 01 02 01 01   ......0...+.....
0060  02 05 00 30 0b 06 07 2b 06 01 02 01 01 04 05 00   ...0...+........
0070  30 0b 06 07 2b 06 01 02 01 01 05 05 00 30 0b 06   0...+........0..
0080  07 2b 06 01 02 01 01 06 05 00 30 0b 06 07 2b 06   .+........0...+.
0090  01 02 01 01 07 05 00 30 0b 06 07 2b 06 01 02 01   .......0...+....
00a0  04 01 05 00 30 0d 06 09 2b 06 01 02 01 2b 05 01   ....0...+....+..
00b0  01 05 00 30 0b 06 07 2b 06 01 02 01 02 01 05 00   ...0...+........

No.     Time        Source                Destination           Protocol Info
   1739 34.300492   172.18.2.213          172.18.5.55           SNMP     get-next-request 1.3.6.1.2.1.1.1 1.3.6.1.2.1.1.2 1.3.6.1.2.1.1.4 1.3.6.1.2.1.1.5 1.3.6.1.2.1.1.6 1.3.6.1.2.1.1.7 1.3.6.1.2.1.4.1 1.3.6.1.2.1.43.5.1.1 1.3.6.1.2.1.2.1

Frame 1739: 192 bytes on wire (1536 bits), 192 bytes captured (1536 bits)
Ethernet II, Src: Pegatron_6b:70:d9 (70:71:bc:6b:70:d9), Dst: Oracle_1f:7b:5f (00:03:ba:1f:7b:5f)
Internet Protocol, Src: 172.18.2.213 (172.18.2.213), Dst: 172.18.5.55 (172.18.5.55)
User Datagram Protocol, Src Port: dashpas-port (3498), Dst Port: snmp (161)
Simple Network Management Protocol
    version: version-1 (0)
    community: public
    data: get-next-request (1)
        get-next-request
            request-id: 135705341
            error-status: noError (0)
            error-index: 0
            variable-bindings: 9 items
                1.3.6.1.2.1.1.1: 
                    Object Name: 1.3.6.1.2.1.1.1 (iso.3.6.1.2.1.1.1)
                1.3.6.1.2.1.1.2: 
                    Object Name: 1.3.6.1.2.1.1.2 (iso.3.6.1.2.1.1.2)
                1.3.6.1.2.1.1.4: 
                    Object Name: 1.3.6.1.2.1.1.4 (iso.3.6.1.2.1.1.4)
                1.3.6.1.2.1.1.5: 
                    Object Name: 1.3.6.1.2.1.1.5 (iso.3.6.1.2.1.1.5)
                1.3.6.1.2.1.1.6: 
                    Object Name: 1.3.6.1.2.1.1.6 (iso.3.6.1.2.1.1.6)
                1.3.6.1.2.1.1.7: 
                    Object Name: 1.3.6.1.2.1.1.7 (iso.3.6.1.2.1.1.7)
                1.3.6.1.2.1.4.1: 
                    Object Name: 1.3.6.1.2.1.4.1 (iso.3.6.1.2.1.4.1)
                1.3.6.1.2.1.43.5.1.1: 
                    Object Name: 1.3.6.1.2.1.43.5.1.1 (iso.3.6.1.2.1.43.5.1.1)
                1.3.6.1.2.1.2.1: 
                    Object Name: 1.3.6.1.2.1.2.1 (iso.3.6.1.2.1.2.1)

0000  00 03 ba 1f 7b 5f 70 71 bc 6b 70 d9 08 00 45 00   ....{_pq.kp...E.
0010  00 b2 00 95 00 00 80 11 d9 75 ac 12 02 d5 ac 12   .........u......
0020  05 37 0d aa 00 a1 00 9e 8c 47 30 81 93 02 01 00   .7.......G0.....
0030  04 06 70 75 62 6c 69 63 a1 81 85 02 04 08 16 b2   ..public........
0040  fd 02 01 00 02 01 00 30 77 30 0b 06 07 2b 06 01   .......0w0...+..
0050  02 01 01 01 05 00 30 0b 06 07 2b 06 01 02 01 01   ......0...+.....
0060  02 05 00 30 0b 06 07 2b 06 01 02 01 01 04 05 00   ...0...+........
0070  30 0b 06 07 2b 06 01 02 01 01 05 05 00 30 0b 06   0...+........0..
0080  07 2b 06 01 02 01 01 06 05 00 30 0b 06 07 2b 06   .+........0...+.
0090  01 02 01 01 07 05 00 30 0b 06 07 2b 06 01 02 01   .......0...+....
00a0  04 01 05 00 30 0d 06 09 2b 06 01 02 01 2b 05 01   ....0...+....+..
00b0  01 05 00 30 0b 06 07 2b 06 01 02 01 02 01 05 00   ...0...+........

No.     Time        Source                Destination           Protocol Info
   1942 37.584667   172.18.5.55           172.18.2.213          SNMP     get-response 1.3.6.1.2.1.1.1.0 1.3.6.1.2.1.1.2.0 1.3.6.1.2.1.1.4.0 1.3.6.1.2.1.1.5.0 1.3.6.1.2.1.1.6.0 1.3.6.1.2.1.1.7.0 1.3.6.1.2.1.4.1.0 1.3.6.1.4.1.42.2.15.12 1.3.6.1.2.1.2.1.0

Frame 1942: 321 bytes on wire (2568 bits), 321 bytes captured (2568 bits)
Ethernet II, Src: Oracle_1f:7b:5f (00:03:ba:1f:7b:5f), Dst: Pegatron_6b:70:d9 (70:71:bc:6b:70:d9)
Internet Protocol, Src: 172.18.5.55 (172.18.5.55), Dst: 172.18.2.213 (172.18.2.213)
User Datagram Protocol, Src Port: snmp (161), Dst Port: dashpas-port (3498)
Simple Network Management Protocol
    version: version-1 (0)
    community: public
    data: get-response (2)
        get-response
            request-id: 135705341
            error-status: genErr (5)
            error-index: 8
            variable-bindings: 9 items
                1.3.6.1.2.1.1.1.0: 
                    Object Name: 1.3.6.1.2.1.1.1.0 (iso.3.6.1.2.1.1.1.0)
                1.3.6.1.2.1.1.2.0: 
                    Object Name: 1.3.6.1.2.1.1.2.0 (iso.3.6.1.2.1.1.2.0)
                1.3.6.1.2.1.1.4.0: 
                    Object Name: 1.3.6.1.2.1.1.4.0 (iso.3.6.1.2.1.1.4.0)
                1.3.6.1.2.1.1.5.0: 
                    Object Name: 1.3.6.1.2.1.1.5.0 (iso.3.6.1.2.1.1.5.0)
                1.3.6.1.2.1.1.6.0: 
                    Object Name: 1.3.6.1.2.1.1.6.0 (iso.3.6.1.2.1.1.6.0)
                1.3.6.1.2.1.1.7.0: 
                    Object Name: 1.3.6.1.2.1.1.7.0 (iso.3.6.1.2.1.1.7.0)
                    Value (Integer32): 72
                1.3.6.1.2.1.4.1.0: 
                    Object Name: 1.3.6.1.2.1.4.1.0 (iso.3.6.1.2.1.4.1.0)
                    Value (Integer32): 2
                1.3.6.1.4.1.42.2.15.12: 
                    Object Name: 1.3.6.1.4.1.42.2.15.12 (iso.3.6.1.4.1.42.2.15.12)
                1.3.6.1.2.1.2.1.0: 
                    Object Name: 1.3.6.1.2.1.2.1.0 (iso.3.6.1.2.1.2.1.0)
                    Value (Integer32): 2

0000  70 71 bc 6b 70 d9 00 03 ba 1f 7b 5f 08 00 45 00   pq.kp.....{_..E.
0010  01 33 4e 9b 40 00 ff 11 cb ed ac 12 05 37 ac 12   .3N. at ........7..
0020  02 d5 00 a1 0d aa 01 1f a2 e2 30 82 01 13 02 01   ..........0.....
0030  00 04 06 70 75 62 6c 69 63 a2 82 01 04 02 04 08   ...public.......
0040  16 b2 fd 02 01 05 02 01 08 30 81 f5 30 38 06 08   .........0..08..
0050  2b 06 01 02 01 01 01 00 04 2c 53 75 6e 4f 53 20   +........,SunOS 
0060  73 75 6e 7a 6f 6e 65 30 31 20 35 2e 31 30 20 47   sunzone01 5.10 G
0070  65 6e 65 72 69 63 5f 31 31 38 38 33 33 2d 33 33   eneric_118833-33
0080  20 73 75 6e 34 75 30 16 06 08 2b 06 01 02 01 01    sun4u0...+.....
0090  02 00 06 0a 2b 06 01 04 01 bf 08 03 02 03 30 22   ....+.........0"
00a0  06 08 2b 06 01 02 01 01 04 00 04 16 22 53 79 73   ..+........."Sys
00b0  74 65 6d 20 61 64 6d 69 6e 69 73 74 72 61 74 6f   tem administrato
00c0  72 22 30 15 06 08 2b 06 01 02 01 01 05 00 04 09   r"0...+.........
00d0  73 75 6e 7a 6f 6e 65 30 31 30 2a 06 08 2b 06 01   sunzone010*..+..
00e0  02 01 01 06 00 04 1e 22 53 79 73 74 65 6d 20 61   ......."System a
00f0  64 6d 69 6e 69 73 74 72 61 74 6f 72 73 20 6f 66   dministrators of
0100  66 69 63 65 22 30 0d 06 08 2b 06 01 02 01 01 07   fice"0...+......
0110  00 02 01 48 30 0d 06 08 2b 06 01 02 01 04 01 00   ...H0...+.......
0120  02 01 02 30 0d 06 09 2b 06 01 04 01 2a 02 0f 0c   ...0...+....*...
0130  05 00 30 0d 06 08 2b 06 01 02 01 02 01 00 02 01   ..0...+.........
0140  02                                                .

No.     Time        Source                Destination           Protocol Info
   1943 37.584697   172.18.2.213          172.18.5.55           ICMP     Destination unreachable (Port unreachable)

Frame 1943: 190 bytes on wire (1520 bits), 190 bytes captured (1520 bits)
Ethernet II, Src: Pegatron_6b:70:d9 (70:71:bc:6b:70:d9), Dst: Oracle_1f:7b:5f (00:03:ba:1f:7b:5f)
Internet Protocol, Src: 172.18.2.213 (172.18.2.213), Dst: 172.18.5.55 (172.18.5.55)
Internet Control Message Protocol
    Type: 3 (Destination unreachable)
    Code: 3 (Port unreachable)
    Checksum: 0xadd9 [correct]
    Internet Protocol, Src: 172.18.5.55 (172.18.5.55), Dst: 172.18.2.213 (172.18.2.213)
    User Datagram Protocol, Src Port: snmp (161), Dst Port: dashpas-port (3498)
    Data (120 bytes)

0000  00 03 ba 1f 7b 5f 70 71 bc 6b 70 d9 08 00 45 00   ....{_pq.kp...E.
0010  00 b0 01 06 00 00 80 01 d9 16 ac 12 02 d5 ac 12   ................
0020  05 37 03 03 ad d9 00 00 00 00 45 00 01 33 4e 9b   .7........E..3N.
0030  40 00 ff 11 cb ed ac 12 05 37 ac 12 02 d5 00 a1   @........7......
0040  0d aa 01 1f a2 e2 30 82 01 13 02 01 00 04 06 70   ......0........p
0050  75 62 6c 69 63 a2 82 01 04 02 04 08 16 b2 fd 02   ublic...........
0060  01 05 02 01 08 30 81 f5 30 38 06 08 2b 06 01 02   .....0..08..+...
0070  01 01 01 00 04 2c 53 75 6e 4f 53 20 73 75 6e 7a   .....,SunOS sunz
0080  6f 6e 65 30 31 20 35 2e 31 30 20 47 65 6e 65 72   one01 5.10 Gener
0090  69 63 5f 31 31 38 38 33 33 2d 33 33 20 73 75 6e   ic_118833-33 sun
00a0  34 75 30 16 06 08 2b 06 01 02 01 01 02 00 06 0a   4u0...+.........
00b0  2b 06 01 04 01 bf 08 03 02 03 30 22 06 08         +.........0"..

No.     Time        Source                Destination           Protocol Info
   2019 39.090241   172.18.5.55           172.18.2.213          SNMP     get-response 1.3.6.1.2.1.1.1.0 1.3.6.1.2.1.1.2.0 1.3.6.1.2.1.1.4.0 1.3.6.1.2.1.1.5.0 1.3.6.1.2.1.1.6.0 1.3.6.1.2.1.1.7.0 1.3.6.1.2.1.4.1.0 1.3.6.1.4.1.42.2.15.12 1.3.6.1.2.1.2.1.0

Frame 2019: 321 bytes on wire (2568 bits), 321 bytes captured (2568 bits)
Ethernet II, Src: Oracle_1f:7b:5f (00:03:ba:1f:7b:5f), Dst: Pegatron_6b:70:d9 (70:71:bc:6b:70:d9)
Internet Protocol, Src: 172.18.5.55 (172.18.5.55), Dst: 172.18.2.213 (172.18.2.213)
User Datagram Protocol, Src Port: snmp (161), Dst Port: dashpas-port (3498)
Simple Network Management Protocol
    version: version-1 (0)
    community: public
    data: get-response (2)
        get-response
            request-id: 135705341
            error-status: genErr (5)
            error-index: 8
            variable-bindings: 9 items
                1.3.6.1.2.1.1.1.0: 
                    Object Name: 1.3.6.1.2.1.1.1.0 (iso.3.6.1.2.1.1.1.0)
                1.3.6.1.2.1.1.2.0: 
                    Object Name: 1.3.6.1.2.1.1.2.0 (iso.3.6.1.2.1.1.2.0)
                1.3.6.1.2.1.1.4.0: 
                    Object Name: 1.3.6.1.2.1.1.4.0 (iso.3.6.1.2.1.1.4.0)
                1.3.6.1.2.1.1.5.0: 
                    Object Name: 1.3.6.1.2.1.1.5.0 (iso.3.6.1.2.1.1.5.0)
                1.3.6.1.2.1.1.6.0: 
                    Object Name: 1.3.6.1.2.1.1.6.0 (iso.3.6.1.2.1.1.6.0)
                1.3.6.1.2.1.1.7.0: 
                    Object Name: 1.3.6.1.2.1.1.7.0 (iso.3.6.1.2.1.1.7.0)
                    Value (Integer32): 72
                1.3.6.1.2.1.4.1.0: 
                    Object Name: 1.3.6.1.2.1.4.1.0 (iso.3.6.1.2.1.4.1.0)
                    Value (Integer32): 2
                1.3.6.1.4.1.42.2.15.12: 
                    Object Name: 1.3.6.1.4.1.42.2.15.12 (iso.3.6.1.4.1.42.2.15.12)
                1.3.6.1.2.1.2.1.0: 
                    Object Name: 1.3.6.1.2.1.2.1.0 (iso.3.6.1.2.1.2.1.0)
                    Value (Integer32): 2

0000  70 71 bc 6b 70 d9 00 03 ba 1f 7b 5f 08 00 45 00   pq.kp.....{_..E.
0010  01 33 4e 9c 40 00 ff 11 cb ec ac 12 05 37 ac 12   .3N. at ........7..
0020  02 d5 00 a1 0d aa 01 1f a2 e2 30 82 01 13 02 01   ..........0.....
0030  00 04 06 70 75 62 6c 69 63 a2 82 01 04 02 04 08   ...public.......
0040  16 b2 fd 02 01 05 02 01 08 30 81 f5 30 38 06 08   .........0..08..
0050  2b 06 01 02 01 01 01 00 04 2c 53 75 6e 4f 53 20   +........,SunOS 
0060  73 75 6e 7a 6f 6e 65 30 31 20 35 2e 31 30 20 47   sunzone01 5.10 G
0070  65 6e 65 72 69 63 5f 31 31 38 38 33 33 2d 33 33   eneric_118833-33
0080  20 73 75 6e 34 75 30 16 06 08 2b 06 01 02 01 01    sun4u0...+.....
0090  02 00 06 0a 2b 06 01 04 01 bf 08 03 02 03 30 22   ....+.........0"
00a0  06 08 2b 06 01 02 01 01 04 00 04 16 22 53 79 73   ..+........."Sys
00b0  74 65 6d 20 61 64 6d 69 6e 69 73 74 72 61 74 6f   tem administrato
00c0  72 22 30 15 06 08 2b 06 01 02 01 01 05 00 04 09   r"0...+.........
00d0  73 75 6e 7a 6f 6e 65 30 31 30 2a 06 08 2b 06 01   sunzone010*..+..
00e0  02 01 01 06 00 04 1e 22 53 79 73 74 65 6d 20 61   ......."System a
00f0  64 6d 69 6e 69 73 74 72 61 74 6f 72 73 20 6f 66   dministrators of
0100  66 69 63 65 22 30 0d 06 08 2b 06 01 02 01 01 07   fice"0...+......
0110  00 02 01 48 30 0d 06 08 2b 06 01 02 01 04 01 00   ...H0...+.......
0120  02 01 02 30 0d 06 09 2b 06 01 04 01 2a 02 0f 0c   ...0...+....*...
0130  05 00 30 0d 06 08 2b 06 01 02 01 02 01 00 02 01   ..0...+.........
0140  02                                                .

No.     Time        Source                Destination           Protocol Info
   2020 39.090270   172.18.2.213          172.18.5.55           ICMP     Destination unreachable (Port unreachable)

Frame 2020: 190 bytes on wire (1520 bits), 190 bytes captured (1520 bits)
Ethernet II, Src: Pegatron_6b:70:d9 (70:71:bc:6b:70:d9), Dst: Oracle_1f:7b:5f (00:03:ba:1f:7b:5f)
Internet Protocol, Src: 172.18.2.213 (172.18.2.213), Dst: 172.18.5.55 (172.18.5.55)
Internet Control Message Protocol
    Type: 3 (Destination unreachable)
    Code: 3 (Port unreachable)
    Checksum: 0xadd9 [correct]
    Internet Protocol, Src: 172.18.5.55 (172.18.5.55), Dst: 172.18.2.213 (172.18.2.213)
    User Datagram Protocol, Src Port: snmp (161), Dst Port: dashpas-port (3498)
    Data (120 bytes)

0000  00 03 ba 1f 7b 5f 70 71 bc 6b 70 d9 08 00 45 00   ....{_pq.kp...E.
0010  00 b0 01 21 00 00 80 01 d8 fb ac 12 02 d5 ac 12   ...!............
0020  05 37 03 03 ad d9 00 00 00 00 45 00 01 33 4e 9c   .7........E..3N.
0030  40 00 ff 11 cb ec ac 12 05 37 ac 12 02 d5 00 a1   @........7......
0040  0d aa 01 1f a2 e2 30 82 01 13 02 01 00 04 06 70   ......0........p
0050  75 62 6c 69 63 a2 82 01 04 02 04 08 16 b2 fd 02   ublic...........
0060  01 05 02 01 08 30 81 f5 30 38 06 08 2b 06 01 02   .....0..08..+...
0070  01 01 01 00 04 2c 53 75 6e 4f 53 20 73 75 6e 7a   .....,SunOS sunz
0080  6f 6e 65 30 31 20 35 2e 31 30 20 47 65 6e 65 72   one01 5.10 Gener
0090  69 63 5f 31 31 38 38 33 33 2d 33 33 20 73 75 6e   ic_118833-33 sun
00a0  34 75 30 16 06 08 2b 06 01 02 01 01 02 00 06 0a   4u0...+.........
00b0  2b 06 01 04 01 bf 08 03 02 03 30 22 06 08         +.........0"..

No.     Time        Source                Destination           Protocol Info
   2066 40.565262   172.18.5.55           172.18.2.213          SNMP     get-response 1.3.6.1.2.1.1.1.0 1.3.6.1.2.1.1.2.0 1.3.6.1.2.1.1.4.0 1.3.6.1.2.1.1.5.0 1.3.6.1.2.1.1.6.0 1.3.6.1.2.1.1.7.0 1.3.6.1.2.1.4.1.0 1.3.6.1.4.1.42.2.15.12 1.3.6.1.2.1.2.1.0

Frame 2066: 321 bytes on wire (2568 bits), 321 bytes captured (2568 bits)
Ethernet II, Src: Oracle_1f:7b:5f (00:03:ba:1f:7b:5f), Dst: Pegatron_6b:70:d9 (70:71:bc:6b:70:d9)
Internet Protocol, Src: 172.18.5.55 (172.18.5.55), Dst: 172.18.2.213 (172.18.2.213)
User Datagram Protocol, Src Port: snmp (161), Dst Port: dashpas-port (3498)
Simple Network Management Protocol
    version: version-1 (0)
    community: public
    data: get-response (2)
        get-response
            request-id: 135705341
            error-status: genErr (5)
            error-index: 8
            variable-bindings: 9 items
                1.3.6.1.2.1.1.1.0: 
                    Object Name: 1.3.6.1.2.1.1.1.0 (iso.3.6.1.2.1.1.1.0)
                1.3.6.1.2.1.1.2.0: 
                    Object Name: 1.3.6.1.2.1.1.2.0 (iso.3.6.1.2.1.1.2.0)
                1.3.6.1.2.1.1.4.0: 
                    Object Name: 1.3.6.1.2.1.1.4.0 (iso.3.6.1.2.1.1.4.0)
                1.3.6.1.2.1.1.5.0: 
                    Object Name: 1.3.6.1.2.1.1.5.0 (iso.3.6.1.2.1.1.5.0)
                1.3.6.1.2.1.1.6.0: 
                    Object Name: 1.3.6.1.2.1.1.6.0 (iso.3.6.1.2.1.1.6.0)
                1.3.6.1.2.1.1.7.0: 
                    Object Name: 1.3.6.1.2.1.1.7.0 (iso.3.6.1.2.1.1.7.0)
                    Value (Integer32): 72
                1.3.6.1.2.1.4.1.0: 
                    Object Name: 1.3.6.1.2.1.4.1.0 (iso.3.6.1.2.1.4.1.0)
                    Value (Integer32): 2
                1.3.6.1.4.1.42.2.15.12: 
                    Object Name: 1.3.6.1.4.1.42.2.15.12 (iso.3.6.1.4.1.42.2.15.12)
                1.3.6.1.2.1.2.1.0: 
                    Object Name: 1.3.6.1.2.1.2.1.0 (iso.3.6.1.2.1.2.1.0)
                    Value (Integer32): 2

0000  70 71 bc 6b 70 d9 00 03 ba 1f 7b 5f 08 00 45 00   pq.kp.....{_..E.
0010  01 33 4e 9d 40 00 ff 11 cb eb ac 12 05 37 ac 12   .3N. at ........7..
0020  02 d5 00 a1 0d aa 01 1f a2 e2 30 82 01 13 02 01   ..........0.....
0030  00 04 06 70 75 62 6c 69 63 a2 82 01 04 02 04 08   ...public.......
0040  16 b2 fd 02 01 05 02 01 08 30 81 f5 30 38 06 08   .........0..08..
0050  2b 06 01 02 01 01 01 00 04 2c 53 75 6e 4f 53 20   +........,SunOS 
0060  73 75 6e 7a 6f 6e 65 30 31 20 35 2e 31 30 20 47   sunzone01 5.10 G
0070  65 6e 65 72 69 63 5f 31 31 38 38 33 33 2d 33 33   eneric_118833-33
0080  20 73 75 6e 34 75 30 16 06 08 2b 06 01 02 01 01    sun4u0...+.....
0090  02 00 06 0a 2b 06 01 04 01 bf 08 03 02 03 30 22   ....+.........0"
00a0  06 08 2b 06 01 02 01 01 04 00 04 16 22 53 79 73   ..+........."Sys
00b0  74 65 6d 20 61 64 6d 69 6e 69 73 74 72 61 74 6f   tem administrato
00c0  72 22 30 15 06 08 2b 06 01 02 01 01 05 00 04 09   r"0...+.........
00d0  73 75 6e 7a 6f 6e 65 30 31 30 2a 06 08 2b 06 01   sunzone010*..+..
00e0  02 01 01 06 00 04 1e 22 53 79 73 74 65 6d 20 61   ......."System a
00f0  64 6d 69 6e 69 73 74 72 61 74 6f 72 73 20 6f 66   dministrators of
0100  66 69 63 65 22 30 0d 06 08 2b 06 01 02 01 01 07   fice"0...+......
0110  00 02 01 48 30 0d 06 08 2b 06 01 02 01 04 01 00   ...H0...+.......
0120  02 01 02 30 0d 06 09 2b 06 01 04 01 2a 02 0f 0c   ...0...+....*...
0130  05 00 30 0d 06 08 2b 06 01 02 01 02 01 00 02 01   ..0...+.........
0140  02                                                .

No.     Time        Source                Destination           Protocol Info
   2067 40.565293   172.18.2.213          172.18.5.55           ICMP     Destination unreachable (Port unreachable)

Frame 2067: 190 bytes on wire (1520 bits), 190 bytes captured (1520 bits)
Ethernet II, Src: Pegatron_6b:70:d9 (70:71:bc:6b:70:d9), Dst: Oracle_1f:7b:5f (00:03:ba:1f:7b:5f)
Internet Protocol, Src: 172.18.2.213 (172.18.2.213), Dst: 172.18.5.55 (172.18.5.55)
Internet Control Message Protocol
    Type: 3 (Destination unreachable)
    Code: 3 (Port unreachable)
    Checksum: 0xadd9 [correct]
    Internet Protocol, Src: 172.18.5.55 (172.18.5.55), Dst: 172.18.2.213 (172.18.2.213)
    User Datagram Protocol, Src Port: snmp (161), Dst Port: dashpas-port (3498)
    Data (120 bytes)

0000  00 03 ba 1f 7b 5f 70 71 bc 6b 70 d9 08 00 45 00   ....{_pq.kp...E.
0010  00 b0 01 30 00 00 80 01 d8 ec ac 12 02 d5 ac 12   ...0............
0020  05 37 03 03 ad d9 00 00 00 00 45 00 01 33 4e 9d   .7........E..3N.
0030  40 00 ff 11 cb eb ac 12 05 37 ac 12 02 d5 00 a1   @........7......
0040  0d aa 01 1f a2 e2 30 82 01 13 02 01 00 04 06 70   ......0........p
0050  75 62 6c 69 63 a2 82 01 04 02 04 08 16 b2 fd 02   ublic...........
0060  01 05 02 01 08 30 81 f5 30 38 06 08 2b 06 01 02   .....0..08..+...
0070  01 01 01 00 04 2c 53 75 6e 4f 53 20 73 75 6e 7a   .....,SunOS sunz
0080  6f 6e 65 30 31 20 35 2e 31 30 20 47 65 6e 65 72   one01 5.10 Gener
0090  69 63 5f 31 31 38 38 33 33 2d 33 33 20 73 75 6e   ic_118833-33 sun
00a0  34 75 30 16 06 08 2b 06 01 02 01 01 02 00 06 0a   4u0...+.........
00b0  2b 06 01 04 01 bf 08 03 02 03 30 22 06 08         +.........0"..


More information about the SNMP4J mailing list