Parse Cisco IOS to JSON with Python and Netmiko

preview_player
Показать описание
## Network Automation Training

Automating our old legacy equipment seems almost impossible without either an insane mastery of regex or a ton of time (or both). These old Cisco IOS devices don't have APIs after all, so how can we work with their outputs in a programmatic way? Netmiko leverages a library called TextFSM which can use templates to parse standard outputs.
Рекомендации по теме
Комментарии
Автор

What a great Thank you! I loved how you unpacked the dictionary. I did not know that one. Great energy delivering content. So cool

BlindPigBluesBand
Автор

3 years... i´m so late in this world... thank you man.

Nightmaremaker
Автор

Great video! Thank you for explaining all the little bits.

paulheavens
Автор

This video is an absolute gold mine, thank you so much!

vzylexy
Автор

Nice vlog @knox.. look forward to see more example of custom perser to read some of cisco IOS tech-support logs

PraveenRai
Автор

JUST WANT TO SAY THANK YOU !!! I managed to get the output in json format ! Now it's much more easy to get this output into my flask web api and show there just the relevant output ! thank you

alinbandiu
Автор

Great video Knox, love this stuff, more please! I think Netmiko uses c.disconnect() instead of c.close()

kenmurphy
Автор

This I a great work honestly and a great timing as well, I have just received a task to use Netmiko with JSON output, but

muhammadyasser
Автор

thats awesome Knox, I was wondering can this also be accomplished via Genie ?

muhammad.rafi
Автор

great video, i am doing exactly the same thing as you but with Netgear Switch, am i getting false json output because there is no template for netgear ?

anouartouil
Автор

I wanted to parse "sh hsrp ipv4 brief" output in IOS-XR to JSon. No luck so far. I guess I will have to work on the plain text using splitlines() & regex

themarksman
Автор

Hey Knox awesome video. One small request dough. I will really appreciated if you can make a video explaining how use Netmiko and paramiko, how to install it on a windows environment and integrated with VS. I have been really struggling to get it to work. Thanks sir.

andreslopez
Автор

Do we still have to install ntc-templates separately? It seems to be included with Netmiko now?

paulheavens
Автор

Data, fantastic explanation and examples. Could you post the format of your env.py file?

paullukacs
Автор

Is It posible using this with iosxr? 😳

nancyestanislao
Автор

Nice tutorial pls how can i hide my password

emmanueloluwayemisi
Автор

You're totally wrong about ssh on that device. It most definitely supports ssh.

chrisrogers