Python Script

I have a script using Paramiko that logs into network devices and runs some arbitrary command. I need to enhance and upgrade this script.

It needs to do the following:

- Login to switches (read in from csv or txt file, doesn't matter).

- Run a command: "show int status | in connected.*716"

The output to that command will look something similar to:

switch1#show int status | in connected.*716

Fa2/0/3 connected 716 a-full a-100 10/100BaseTX

Fa2/0/38 connected 716 a-full a-100 10/100BaseTX

Fa2/0/45 connected 716 a-full a-100 10/100BaseTX

Fa3/0/28 connected 716 a-full a-100 10/100BaseTX

Fa3/0/37 connected 716 a-full a-100 10/100BaseTX

Fa3/0/38 connected 716 a-full a-100 10/100BaseTX


Second Step= I need to take each interface and run the following command:

"show mac address-table | in $INTERFACE"

Expected output:

switch1#show mac address-table | in Gi1/0/22

716 0040.1234.5678 DYNAMIC Gi1/0/22


Third Step= Also for each interface, I need to run this command:

"show interfaces counters errors | in $INTERFACE"

Expected Output:

switch1#show interfaces counters errors | in Gi1/0/22

Gi1/0/22 0 32 0 33 0 9

Gi1/0/22 0 0 0 0 0 0 0


(I only need the first line of that output.)

Lastly, it all needs to go into a CSV. It should have:

switch1, interface, mac address, columns of numbers from the third step.


switch1, Gi1/0/22, 0040.1234.5678,0,32,0,33,0,9

Should be a line for each interface on each switch. I will be hitting 50+ switches so multithreading or multiple process at once would be ideal.

I have attached the static script I use now as a reference, in no way does it need to be used. I would like a 24 hour turn around if possible. Please ask ANY questions before getting started. I will have to test for you as I cannot allow outside access to my production network.

Beceriler: Linux, Python, Yazılım Mimarisi

Daha fazlasını gör: python script example, python tutorial for beginners with examples, how to run a python script in windows, python script download, python hello world script, what is python programming, how to run a python script mac, python script header, Need a java, php or python script writer (Expert only) — 3, qgis python script process, ebook production process, unix shell script monitor active java process, python script harvast email, python script crawl, python script city, python script modify file content, python script text files, python script scrapes results google search, read csv file using python script, python script read html page

İşveren Hakkında:
( 0 değerlendirme ) numazu-shi, Japan

Proje NO: #16264072

Bu iş için 11 freelancer ortalamada $157 teklif veriyor


I am a python developer having 6 + experience in IT industry. I am expert in: * Python, Web Development (Django, Flask) * CSS, HTML5, Javascript, AJAX, JQuery, Bootstrap * REST API application development Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(62 Değerlendirme)

i can do the job for you but may be it will take few times for testing if you want do it your self so i need each time to send script to execute it and then you send results back

in %bids___i_period_sub_35% gün içinde198%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(27 Değerlendirme)

A proposal has not yet been provided

in %bids___i_period_sub_35% gün içinde555%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(34 Değerlendirme)

I read the entire project description and also looked at your [login to view URL] file. I can upgrade your script with the changes you want. I only want to know how the output messages are delivered to your script? My assum Daha Fazla

in %bids___i_period_sub_35% gün içinde60%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(9 Değerlendirme)

Hi. how is your script working? [login to view URL]("Fa2/0/3 connected 716 a-full a-100 10/100BaseTX\n") [login to view URL]("Fa2/0/38 connected 716 a-full a-100 10/100BaseTX\n") [login to view URL]( Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(1 Yorum)

A proposal has not yet been provided

in %bids___i_period_sub_35% gün içinde50%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(4 Değerlendirme)

Hi sir, I am a professional web developer with great experience of 7+ years with specializing in web application development - designing (HTML, JS, Drupal, WordPress, Magento, Bigcommerce, Opencart, PrestaShop, PHP, B Daha Fazla

in %bids___i_period_sub_35% gün içinde50%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(1 Yorum)

my main is not programing. i am network eng/ops on large huawei,cisco,juniper network. but in python i have 5 years exp , mainly with focus on data mining from network.. so exactly what you requests is about... Daha Fazla

in %bids___i_period_sub_35% gün içinde166%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(0 Değerlendirme)

Hi,   I have gone through your project details and I assure I can do it  as  i got all the skills  required for this project. I have already completed a lot of similar  projects in the past so it is my pleasure to work Daha Fazla

in %bids___i_period_sub_35% gün içinde150%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(0 Değerlendirme)

Hello. I worked with paramiko and i can complate the job. I will test on my env then we can check on yours. Best

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(0 Değerlendirme)

2year python work experience

in %bids___i_period_sub_35% gün içinde133%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(0 Değerlendirme)