[SNMP4J] SNMP4J IPv6

Radha krishna Meduri -X (radmedur - HCL TECHNOLOGIES LIMITED at Cisco) radmedur at cisco.com
Tue Nov 22 23:46:15 CET 2011


Hi Frank

Thanks for your reply. I am having both device configured with SNMP
community string and client machine are in the same subnet. The client
is basically running from Linux machine. With the client code I have
shared I am not getting exact issue. Is there any way to get exact
issue?

Thanks
Radhakrishna.

-----Original Message-----
From: Frank Fock [mailto:fock at agentpp.com] 
Sent: Wednesday, November 23, 2011 1:31 AM
To: Radha krishna Meduri -X (radmedur - HCL TECHNOLOGIES LIMITED at
Cisco)
Cc: Alexey Nikolaenkov; snmp4j at agentpp.org
Subject: Re: [SNMP4J] SNMP4J IPv6

Hi,

The code looks OK. It seems to be rather an IP address,
agent, or network issue.

Best regards,
Frank


Am 22.11.2011 19:01, schrieb Radha krishna Meduri -X (radmedur - HCL 
TECHNOLOGIES LIMITED at Cisco):
> Attached the client code here with mail.
>
> -----Original Message-----
> From: snmp4j-bounces at agentpp.org [mailto:snmp4j-bounces at agentpp.org]
On
> Behalf Of Radha krishna Meduri -X (radmedur - HCL TECHNOLOGIES LIMITED
> at Cisco)
> Sent: Tuesday, November 22, 2011 1:51 PM
> To: Alexey Nikolaenkov
> Cc: snmp4j at agentpp.org
> Subject: Re: [SNMP4J] SNMP4J IPv6
>
> Hi Frank/Alex,
>
>
>
> I have tried attached sample client to test with IPv6 but I am getting
> error "Response PDU is null". Can you please check whether do I need
to
> modify anything here? The same client code is working fine with IPv4
> address and getting response.
>
>
>
> [root at ACS149 bin]# ./snmp.sh  --------- ipv4 version.
>
> SNMP GET Demo
>
> Sending Request to Agent...
>
> Got Response from Agent
>
> Snmp Get Response = [1.3.6.1.2.1.1.1.0 = Cisco IOS Software, C2960
> Software (C2960-LANBASEK9-M), Version 15.0(1)SE, RELEASE SOFTWARE
(fc1)
>
> Technical Support: http://www.cisco.com/techsupport
>
> Copyright (c) 1986-2011 by Cisco Systems, Inc.
>
> Compiled Wed 20-Jul-11 06:23 by prod_rel_team]
>
> Session status is 0
>
> [root at ACS149 bin]#
>
> [root at ACS149 bin]#
>
> [root at ACS149 bin]#
>
> [root at ACS149 bin]# ./snmp.sh ----- ipv6 version
>
> SNMP GET Demo
>
> Sending Request to Agent...
>
> Got Response from Agent
>
> Error: Response PDU is null
>
> Session status is 0
>
> [root at ACS149 bin]#
>
>
>
> Thanks
>
> Radhakrishna.
>
>
>
> From: Alexey Nikolaenkov [mailto:nickolaenkov at gmail.com]
> Sent: Tuesday, November 22, 2011 9:14 AM
> To: Radha krishna Meduri -X (radmedur - HCL TECHNOLOGIES LIMITED at
> Cisco)
> Cc: Frank Fock; snmp4j at agentpp.org
> Subject: Re: [SNMP4J] SNMP4J IPv6
>
>
>
> Hi,
>
>
>
> http://www.snmp4j.org/html/faq.html
>
> Items #4, #5
>
>
>
> - A.
>
> 2011/11/22 Radha krishna Meduri -X (radmedur - HCL TECHNOLOGIES
LIMITED
> at Cisco)<radmedur at cisco.com>
>
> Hi Frank
>
> I have already tried but response object is null for some reason.
>
> Thanks
> Radhakrishna.
>
>
> -----Original Message-----
> From: Frank Fock [mailto:fock at agentpp.com]
> Sent: Tuesday, November 22, 2011 3:53 AM
> To: Radha krishna Meduri -X (radmedur - HCL TECHNOLOGIES LIMITED at
> Cisco)
>
> Cc: snmp4j at agentpp.org
>
> Subject: Re: [SNMP4J] SNMP4J IPv6
>
> Hi,
>
> I replied already that you can use the same class for IPv6. Why didn't
> you try it?
>
> Best regards,
> Frank
>
> Am 21.11.2011 15:06, schrieb Radha krishna Meduri -X (radmedur - HCL
> TECHNOLOGIES LIMITED at Cisco):
>> Hi Frank
>>
>> Can you please help me on this?
>>
>> We are using following to set IPv4 adddress as of now. To support can
> we
>> use same class. If not could you please suggest sample code to help
in
>> case of IPv6 addresses.
>>
>> Address targetAddress = new UdpAddress(transportAddr);
>>
>> Thanks
>> Radhakrishna.
>>
>> -----Original Message-----
>> From: snmp4j-bounces at agentpp.org [mailto:snmp4j-bounces at agentpp.org]
> On
>> Behalf Of Radha krishna Meduri -X (radmedur - HCL TECHNOLOGIES
LIMITED
>> at Cisco)
>> Sent: Monday, November 21, 2011 3:17 PM
>> To: Frank Fock; snmp4j at agentpp.org
>> Subject: Re: [SNMP4J] SNMP4J IPv6
>>
>> Hi Frank
>>
>> Do you have insight on this?
>>
>> Thanks
>> Radhakrishna.
>>
>> -----Original Message-----
>> From: snmp4j-bounces at agentpp.org [mailto:snmp4j-bounces at agentpp.org]
> On
>> Behalf Of Radha krishna Meduri -X (radmedur - HCL TECHNOLOGIES
LIMITED
>> at Cisco)
>> Sent: Friday, November 11, 2011 11:19 PM
>> To: Frank Fock; snmp4j at agentpp.org
>> Subject: Re: [SNMP4J] SNMP4J IPv6
>>
>> Hi Frank
>>
>> Thanks for the response. Do you have any sample code how to
> communicate
>> to device using community string using ipv6 address.
>>
>> Actually we are using 1.9 version. Do you mean this itself supports
>> IPv6?
>>
>> If I use ipv6 address with this version, send() API is failing. I am
> not
>> getting response. Can you please share if you have any sample code?
>>
>> Thanks
>> Radhakrishna.
>>
>> -----Original Message-----
>> From: snmp4j-bounces at agentpp.org [mailto:snmp4j-bounces at agentpp.org]
> On
>> Behalf Of Frank Fock
>> Sent: Friday, November 11, 2011 9:34 PM
>> To: snmp4j at agentpp.org
>> Subject: Re: [SNMP4J] SNMP4J IPv6
>>
>> Hi,
>>
>> SNMP4J already supports IPv6 in version 1.x.
>> Of course also in 2.x.
>>
>> Best regards,
>> Frank
>>
>> Am 11.11.2011 14:15, schrieb Radha krishna Meduri -X (radmedur - HCL
>> TECHNOLOGIES LIMITED at Cisco):
>>> Hi Experts
>>>
>>>
>>>
>>> Our application was using SNMP4J 1.9 for connecting to devices using
>>> snmp community string.
>>>
>>>
>>>
>>> I would like to check whether SNMP4J 2.0 version, can support
>> connecting
>>> to devices using IPv6 address or not?
>>>
>>>
>>>
>>> Please confirm?
>>>
>>>
>>>
>>> If yes, please let me know do we require any changes to existing
> API's
>>> we are using?
>>>
>>>
>>>
>>> This is urgent. Your help is much appreciated.
>>>
>>>
>>>
>>> Thanks
>>>
>>> Radhakrishna.
>>>
>>> _______________________________________________
>>> SNMP4J mailing list
>>> SNMP4J at agentpp.org
>>> http://lists.agentpp.org/mailman/listinfo/snmp4j
> --
> ---
> AGENT++
> Maximilian-Kolbe-Str. 10
> 73257 Koengen, Germany
> https://agentpp.com
> Phone: +49 7024 8688230
> Fax:   +49 7024 8688231
>
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/snmp4j
>
>
>

-- 
---
AGENT++
Maximilian-Kolbe-Str. 10
73257 Koengen, Germany
https://agentpp.com
Phone: +49 7024 8688230
Fax:   +49 7024 8688231




More information about the SNMP4J mailing list