Closed fireman0865 closed 4 years ago
Hi, Can you give me the model of your switch please?
Hi it is WS-C2960-48FPS-L CISCO SWITCH IMAGE=C2960X-UNIVERSALK9-M SW VERSION: 15.2
On Mon, Apr 27, 2020 at 12:33 PM Anthony Ruhier notifications@github.com wrote:
Hi, Can you give me the model of your switch please?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/scaleway/netbox-netprod-importer/issues/40#issuecomment-619957140, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA4AEIOAF5KLZCARW5AYMHDROV3QLANCNFSM4MR4CTFQ .
I think we also had some issues with napalm and some catalyst 2960 at Scaleway. I'm not working there anymore, but maybe someone from @scaleway can confirm and look if I wrote an internal workaround from napalm.
@fireman0865: To confirm that it's an issue with the napalm driver, can you run this in python 3 please?
# REPLACE THESE 3 VARIABLES TO CONNECT TO YOUR SWITCH
ip = "10.0.0.1"
user = "username"
passwd = "password"
import napalm
driver = napalm.get_network_driver("ios")
device = driver(hostname=ip, username=user, password=passwd)
with device:
pass
Edit: added the import for napalm
Yeah there was some problems with napalm but ii't is not napalm really but a problem with netmiko .i have regulated it and now all is ok With netmiko .i think the problem maybe come from our proxy which block it . Cordially
Le mer. 29 avr. 2020 à 16:30, Anthony Ruhier notifications@github.com a écrit :
I think we also had some issues with napalm and some catalyst 2960 at Scaleway. I'm not working there anymore, but maybe someone from @scaleway https://github.com/scaleway can confirm and look if I wrote an internal workaround from napalm.
@fireman0865 https://github.com/fireman0865: To confirm that it's an issue with the napalm driver, can you run this in python 3 please?
REPLACE THESE 3 VARIABLES TO CONNECT TO YOUR SWITCH
ip = "10.0.0.1" user = "username" passwd = "password"
driver = napalm.get_network_driver("ios") device = driver(hostname=ip, username=user, password=passwd) with device: pass
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/scaleway/netbox-netprod-importer/issues/40#issuecomment-621322724, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA4AEIJ3BGMZE4FZQE2K7TTRPBI3LANCNFSM4MR4CTFQ .
Ok, I'm closing this issue then.
Feel free to give some news if it confirms it was your proxy. I don't think it is, though, but more probably the parsing of the 2960's shell.
Hi dear ,I am trying to run the importer but get this
How Can I solve it
?