Giter Site home page Giter Site logo

netspark-scripts's Issues

Adding Multiples IPs in CUSTOMER.csv file not working.

How to add Multiple IPS for Switchs to take backup of Cisco switches.

Note: i can take first Switch-1 of runnning config backup with above traceback error. but not Switch-2

Here my CUSTOMER.csv file
IP_Address,SysName,device_type,authentication
108.16.15.1,Switch-1,cisco_ios,LOCAL
108.16.15.2,Switch-2,cisco_ios,LOCAL

[root@scirpts]# python3 1cisco_tftp.py -v
Customer name: CUSTOMER
SSH connection established to 108.16.15.1:22
Interactive SSH session established
Traceback (most recent call last):
File "1cisco_tftp.py", line 67, in
netcon(username, password, CUSTOMER)
File "1cisco_tftp.py", line 48, in netcon
checkbackup = net_connect.send_command(COMMANDSTRING)
File "/usr/local/lib/python3.6/site-packages/netmiko/utilities.py", line 429, in wrapper_decorator
return func(self, *args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/netmiko/base_connection.py", line 1525, in send_command
search_pattern
OSError: Search pattern never detected in send_command: [KCHNKPOACCSW1#

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.