Re: HPNA and GNS3 (421 Views)
Reply
Occasional Advisor
Nesib
Posts: 12
Registered: ‎01-30-2013
Message 1 of 5 (468 Views)
Accepted Solution

HPNA and GNS3

Hello HP NA Masters of the Universe

 

I'm trying to use HPNA (version 9.22) with GNS3 tool.

 

In GNS3 there is simple network with 2 routers and IPs from 'the real' network.

They are successfully added to HPNA and it is possible to ping and telnet to them, but...

 

What ever I try to do on device (except driver discovery), it generates the message:
    This task did not complete.
    Not enough authentication data needed to create SNMP connection to device Id 501
    Unable to establish a connection to device, tried: snmp, ssh, telnet

Routers are 3660 IOS.

Any info would be very welcome.

 

Regards, Nesib

 

HP Expert
MichaelSanchez
Posts: 14
Registered: ‎05-24-2012
Message 2 of 5 (461 Views)

Re: HPNA and GNS3

I have a test lab with GNS3 and it works fine maybe you did not enable SNMP:

 

snmp-server community public RO

 

This is a basic configuration on my device:

!

version 12.4

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname cisco_7200

!

boot-start-marker

boot-end-marker

!

enable secret 5 $1$WF9H$ezaZ0G.xfsaORllwy0o3P0

enable password opsware

!

no aaa new-model

no ip routing

!

!

no ip cef

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

interface FastEthernet0/0

ip address 192.100.100.1 255.255.255.0

no ip route-cache

duplex half

no cdp enable

!

ip forward-protocol nd

no ip http server

no ip http secure-server

!

snmp-server community public RO

!

control-plane

gatekeeper

shutdown

!

!

line con 0

stopbits 1

line aux 0

line vty 0 4

password opsware

login

!

HP Expert
_paul
Posts: 242
Registered: ‎05-24-2012
Message 3 of 5 (451 Views)

Re: HPNA and GNS3

On another point, for the error: Not enough authentication data needed to create SNMP connection to device Id 501

 

Did you set the NA - Edit Device -  Password Information - Use device-specific password information - SNMP Read-Only Community String/SNMP Read/Write Community String

 

Or similar via Device Password Rules?

 

Thanks and regards,

Paul

Occasional Advisor
Nesib
Posts: 12
Registered: ‎01-30-2013
Message 4 of 5 (434 Views)

Re: HPNA and GNS3

[ Edited ]

Thanky you guys, you helped me a lot. I made some changes on my router and in HPNA GUI so SNMP works.

But still I'm not able to do snapshot, synchronize or run diagnostic.

I configured telnet and ssh on my router and updated that information in HPNA GUI as well, but it does not help.

 

This is what I get now:
    Attempt to retrieve data from device failed:

    Connect - Succeeded
    Connected via snmp to xx.xx.xx.xx [in realm Default Realm]

    Login / Authentication - Succeeded
    Successfully used: Last successful password  (Device-specific password)

    Retrieve configuration - Failed
    Tried: retrieve configuration via SCP through CLI
    (Warning: SSH server username or password not specified in NA admin settings.)
    Bypassed: retrieve configuration via SCP
    Tried: retrieve configuration via FTP through CLI
    (Warning: SSH server username or password not specified in NA admin settings.)
    Tried: retrieve configuration via TFTP through CLI
    (Warning: Login unsuccessful
    Unable to establish a connection to device, tried: ssh, telnet)
    Tried: retrieve configuration via CLI
    (Warning: Login unsuccessful
    Unable to establish a connection to device, tried: ssh, telnet)
    Tried: retrieve configuration via TFTP through SNMP
    (Warning: Request timed out. (possibly incorrect community string))
    IP Address     xx.xx.xx.xx
    Host Name     R2 Cisco router
    FQDN     
    Vendor     
    Model     
    User     admin


Also, in HPNA GUI if I try
for GNS3 router: Connect > Via Proxy Using Telnet / Via Proxy Using SSH

 

I'm not able to connect, it is needed to repeat the operation.

FMI please see attached screnshot.

 

Respected Contributor
mostafa_hassan
Posts: 287
Registered: ‎12-11-2011
Message 5 of 5 (421 Views)

Re: HPNA and GNS3

Hello Nesib ,

After our session , the issue has been sorted out , you need to enable the enabled password on the router in order that NA can retrieve configuration .

that was the solution ,

Have a good night

Regards
Mostafa Hassan
All the best .
Saying Thanks by hitting Kudos :)

Regards
Mostafa Hassan
HP AIS NNM-NA-OO
CCNA-CCNP-ITIL-VCA-Cloud-VCA DataCenter
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.