No video

How To Setup A Network Automation Environment!

  Рет қаралды 6,302

IPvZero

IPvZero

Күн бұрын

Пікірлер: 35
@IPvZero
@IPvZero 4 жыл бұрын
*** IMPORTANT NOTES *** 1) When I copy paste from notepad I forgot to add the line: "username john priv 15 pass cisco" Luckily for me I still had saved settings on the device which allowed me to login but if you're gonna copy paste, remember to add the login details if you're trying to copy my notepad text word-for-word! 2) When installing the Windows Subsystem For Linux, be sure you enable Developer Mode and enable the Subsystem. This is pretty straight forward but the exact steps can be found here: developerinsider.co/stepwise-guide-to-enable-windows-10-subsystem-for-linux/ Any questions you have, then just ask in the comments section and I'll get back to you as soon as I can. Thanks! -John
@gustavomendez6279
@gustavomendez6279 4 жыл бұрын
Tried to follow that guide to enable the subsystem for linux but for w/e reason I can't seem to SSH into the devices in Eve. I've got everything going through the mgmt cloud which is on my network and I can get ping responses on the WSL from the devices. When trying to SSH I get: "Unable to negotiate with 192.168.x.x port 22: no matching key exchange method found. Their offer: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1". Been Googling the issue but haven't seemed to land on anything that works. Was there anything else you did to successfully setup the WSL to SSH into the devices in Eve?
@IPvZero
@IPvZero 4 жыл бұрын
@@gustavomendez6279 Hey Gustavo! Really sorry about the late reply I've been busy with exams lately and not active on KZfaq. Yes! This happens often due to Cisco devices having old ciphers. Edit your SSH file on your WSL terminal by doing: sudo nano /etc/ssh/ssh_config Then uncomment strict host checking and the Ciphers AES128 lines. Then manually add in the line KexAlgorithms +diffie-hellman-group1-sha1 I've uploaded an image of how the file should look after you make the changes: ibb.co/fYY4K1G Hope that helps! -John
@gustavomendez6279
@gustavomendez6279 4 жыл бұрын
@@IPvZero I will def take a crack at this later today! Thanks for your response!
@IPvZero
@IPvZero 4 жыл бұрын
@@gustavomendez6279 Awesome man! Let me know if you have any problems! :) -John
@NetDevOpsJourney
@NetDevOpsJourney Жыл бұрын
Great video, impressive work! Thanks
@varkey123
@varkey123 4 жыл бұрын
Hats off to you John for this wonderful video.
@IPvZero
@IPvZero 4 жыл бұрын
Thank you, Geevarghese! It was inspired by your request! So thanks haha! :) -John
@CKZA10
@CKZA10 3 жыл бұрын
My dumb ass has been adding nodes one by one for ages. Number of nodes.. Number of foookin nodes.. Atta boy NUMBER OF FOOOKIN NODES
@alreid12345
@alreid12345 4 жыл бұрын
Great insightful and thought provoking video. Thanks for the amazing content. Cheers John.
@IPvZero
@IPvZero 4 жыл бұрын
Thanks, Al! Always glad to hear from you, mate! :) -John
@wiecaszekpawel
@wiecaszekpawel 4 жыл бұрын
Great video John! I didn't know I could run the Linux subsystem on Windows! Thanks!
@IPvZero
@IPvZero 4 жыл бұрын
No probs, P W! Haha it's actually quite handy! Try it out! :) -John
@alisado8642
@alisado8642 2 жыл бұрын
Thank you so much.
@michaelmaher9227
@michaelmaher9227 4 жыл бұрын
Thank you so much John!!! I’ve been waiting for this one specifically , so you must have been reading my mind! You make it look so easy my friend! Thanks again for this one, I really needed it! A quick question, can you do the automation inside eve using one of their Linux boxes so it’s all contained in the lab? Mike
@IPvZero
@IPvZero 4 жыл бұрын
Hey, Michael! Haha that's great, glad to hear you found it useful! Yup, you can. You'd use a docker linux image and just drag and drop that node into the topology. It comes preinstalled with Ansible and Napalm etc. And you can connect it to the outside world via the management cloud if you want to download other tools like Nornir. It is however a feature of the Pro version! I sometimes use it on mine, but I do like the WSL terminal better personally! Hope that helps! -John
@skanderlandolsi6182
@skanderlandolsi6182 Ай бұрын
Hello sir thanks for the video but can u tell me where to find the lab ? and automation ? i can't find it in github as it seems can you tell me the file names and thaanks :))
@jclm1rt
@jclm1rt 4 жыл бұрын
great video, thanks a lot!!
@IPvZero
@IPvZero 4 жыл бұрын
Thanks, Julio! Really glad to have your support, brother. -John
@muhammad.rafi2012
@muhammad.rafi2012 4 жыл бұрын
Thanks John for another great tutorial, is there anyway we can bypass the keys like in Ansible we do "host_key_checking = False" in ansible.cfg
@slogoheinzy8695
@slogoheinzy8695 3 жыл бұрын
Hi John. im interested in how you got WSL2 ( hyperv) and vmware player working together, as afaik, the 2 virtualization platforms cant be run together. im having no luck with this. win10 home build 19041.630/vmware workstation player 16/eve-ng community/intel i5/8G ram WSL2 needs hyperV - needs windows feature ' virtual machine platform' enabled Then vmware player wont run eve-ng vm unless vm virtualisation engine options are disabled for ' virtualise intel VT -x/EPT or AMD-V/RVI' and ' Virtualise CPU per performance counters' So if i then disable these options, i can get both WSL2 and eve-ng vm to load up.. But then none of my virl cisco nodes will actually 'start' as per page 33 of community edition workbook , the vm player virtualisation settings that i just disabled need to be enabled
@IPvZero
@IPvZero 3 жыл бұрын
Hey, Slogo. I don't use WSL2 for that very reason. You can't run VMWARE at the same time as WSL2 because of Hyper-V. So I've always just stuck with WSL1 for that very reason :)
@slogoheinzy8695
@slogoheinzy8695 3 жыл бұрын
@@IPvZero thanks so much.yes I now have wsl1 working and loaded cisco virl images in eve-ng at the same time :) Your ide is therefore running from the linux wsl distro ?Can I please ask what method you use for getting your python ide displaying its gui from within the wsl interface . Cheers again.your videos are really ace
@IPvZero
@IPvZero 3 жыл бұрын
@@slogoheinzy8695 Glad to hear it, Slogo :) For my editing I very often just use Vim within WSL. However, I know people like to use proper IDEs for writing their code. I also have Visual Studio Code installed and you can easily connect it to your WSL. Simply open VS Code after youve downloaded and installed it - and select the "Remote Explorer" option from the left hand side menu. This will show you your WSL instance. Right click the WSL instance you want to connect to and then select "Connect to WSL". This will allow you to develop within VS Code but access your WSL files, your WSL terminal and run the scripts within WSL. I've uploaded a picture to help you in case i'm not being clear: imgur.com/a/SD3FtM7 Hope that helps :) -John
@IPvZero
@IPvZero 4 жыл бұрын
Links to my new Network Automation training at CBT Nuggets: ---------------------------------------------------------------------------------------------- UNDERSTAND THE NORNIR AUTOMATION FRAMEWORK ---------------------------------------------------------------------------------------------- www.cbtnuggets.com/it-training/understanding-nornir-automation-framework? ---------------------------------------------------------------------------------------------- AUTOMATE NETWORK CONFIGURATIONS WITH NORNIR ---------------------------------------------------------------------------------------------- www.cbtnuggets.com/it-training/automate-network-configuration-nornir? --------------------------------------------------------------------------------------------- UNDERSTAND AUTOMATION SECURITY --------------------------------------------------------------------------------------------- www.cbtnuggets.com/it-training/understand-automation-security?
@sandeepgrover4882
@sandeepgrover4882 3 жыл бұрын
Hi John, when I ssh the router from the server, it gives me the below error "ssh cisco@192.168.44.12 Unable to negotiate with 192.168.44.12 port 22: no matching key exchange method found. Their offer: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1" Is there a method to negotiate the correct keys ?
@IPvZero
@IPvZero 3 жыл бұрын
Hey Sandeep! Yeah this can happen due to Cisco devices having old ciphers. The fix I used was the edit my /etc/ssh/ssh_config file. I've included a screenshot of what mine looks like. Check the uncommented Ciphers line: imgur.com/7XYHFXG Try that and let me know if you have any problems :) -John
@linkflap1342
@linkflap1342 4 жыл бұрын
Hello John. Your Genie video was very good introduction but do you have plans for more Pyats videos? Maybe some very simple tests in python and Pyats like checking OSPF neighbours with custom tests for example. I can't find any simple, step by step tutorials for Python. Do you know some resources about this topic? I mentioned it once before, EVE looks so nice, ill try to switch from gns3.
@IPvZero
@IPvZero 4 жыл бұрын
Hey, Foto! Thanks! Yeah, definitely plan to do more pyATS videos! It's an amazing tool. If you're interested I'd recommend you watch Siming Yuan's pyATS talk from Cisco Live 2020 in Barcelona, you can view on the Cisco website if you create an account. Really good content! Are you just looking for basic Python tutorials? If so, I would recommend this short KZfaq course, I think it's very good as an introduction kzfaq.info/get/bejne/lduBpa1hudG-nJc.html For network automation really focus on learning data structures like Dictionaries, Lists, etc. Learn the basics of Variables, Functions, Loops and Conditional statements. If you get those locked down, along with understanding Data types like the difference between an Integer and a String, you can get a lot done! That free course should provide enough to get you going. The key is to just practice it, allow yourself to get a lot of stuff wrong, be confused, and then slowly get better. It's the same process for us all haha! -John
@linkflap1342
@linkflap1342 4 жыл бұрын
I can handle python basics. Just finished little ospf automation project with nornir and now I'm thinking how to write tests. I'll try pytest and I think I'll look at others projects on github as always. Pytest is not cisco related and it's more universal.
@IPvZero
@IPvZero 4 жыл бұрын
@@linkflap1342 Ah! That sounds good! Keep practicing man! :)
@eksadiss
@eksadiss 3 жыл бұрын
Drives me nuts that you havn't unpinned Windows Store and Mail from your taskbar
@IPvZero
@IPvZero 3 жыл бұрын
Hahaha fair play on Windows Store, you got me. I actually use the Mail all the time cause I've got like 5 different emails I use regularly haha
@eksadiss
@eksadiss 3 жыл бұрын
@@IPvZero can you say purple burglar alarm?
@eliyagervas8680
@eliyagervas8680 2 жыл бұрын
You talk too fast
Introduction to Nornir | Python Network Automation!
19:45
IPvZero
Рет қаралды 14 М.
Kind Waiter's Gesture to Homeless Boy #shorts
00:32
I migliori trucchetti di Fabiosa
Рет қаралды 10 МЛН
Bony Just Wants To Take A Shower #animation
00:10
GREEN MAX
Рет қаралды 7 МЛН
КАКУЮ ДВЕРЬ ВЫБРАТЬ? 😂 #Shorts
00:45
НУБАСТЕР
Рет қаралды 3 МЛН
Ansible Network Automation
1:02:52
David Bombal
Рет қаралды 74 М.
get started with Ansible Network Automation (FREE cisco router lab)
15:02
KEY CONCEPTS: BGP Loop Prevention!
15:08
IPvZero
Рет қаралды 2 М.
How This New Battery is Changing the Game
12:07
Undecided with Matt Ferrell
Рет қаралды 102 М.
Network Automation: Desired State!
13:08
IPvZero
Рет қаралды 1,3 М.
EVE NG Installation
23:41
David Bombal
Рет қаралды 367 М.
Using Ansible Automation with EVE-NG
31:22
Charles Judd
Рет қаралды 14 М.
Scrapli CFG - Network Automation
21:05
IPvZero
Рет қаралды 3 М.
Kind Waiter's Gesture to Homeless Boy #shorts
00:32
I migliori trucchetti di Fabiosa
Рет қаралды 10 МЛН