Closed smalldatach closed 3 years ago
Hi,
can you login to the switch and try run those commands
terminal datadump
show startup-config
show running-config
show running-config detailed
Do you get your configuration?
If not, does your user have sufficient priviledges?
thanks for the hint! at the sg350 series you can not modify the privilege modes e.g. adding possibility to run "show startup-config". on the calalyst switches you can... so you must set the privilege level for the napalm user to 15 (admin rights...). not nice but i dont found an other way...
I sopouse it solved the problem, am I right?
Environment
Python version ('python3 --version'): 3.8.5
Steps to Reproduce
Expected Behavior
2020-11-19 13:09:44,003 - napalm - DEBUG - get_facts - Successful 2020-11-19 13:09:44,003 - napalm - DEBUG - method - Calling with args: (<napalm_s350.s350.S350Driver object at 0x7fc28d01da30>, 'get_config'), {} 2020-11-19 13:09:44,004 - napalm - DEBUG - get_config - Attempting to resolve method 2020-11-19 13:09:44,004 - napalm - DEBUG - get_config - Attempting to call method with kwargs: {} 2020-11-19 13:09:47,084 - napalm - DEBUG - get_config - Response { "startup": "% Unrecognized command", "running": "% Unrecognized command", "candidate": "" } 2020-11-19 13:09:47,085 - napalm - DEBUG - method - Successful 2020-11-19 13:09:47,085 - napalm - DEBUG - close - Calling with args: (<napalm_s350.s350.S350Driver object at 0x7fc28d01da30>,), {} 2020-11-19 13:09:51,291 - napalm - DEBUG - close - Successful 2020-11-19 13:09:51,292 - napalm - DEBUG - post_connection_tests - Calling with args: (<napalm_s350.s350.S350Driver object at 0x7fc28d01da30>,), {}