Thanks Mr. David, You really help me with these videos. would you tell me... why is your GNS 3 interface looking different ? how can I render mine like yours ? thanks Sir.
David: I really enjoy your videos. They of necessity require in-depth discussion in order to understand the subject matter. The length is just right. Don't change a thing. Your collection of videos has a great span of complexity going from beginner through to expert level coverage. The key I find to your video's it that you provide enough detail for me (at least) to be able to duplicate your setup in GNS3 which then gives me a starting point from which I can continue to test and experiment. That in itself is a HUGE benefit. Keep it up!!! Many thanks. Glenn
Your video's on this series (past three and this one) are absolutely awesome. I was in a rut after passing my CCNA quickly (mind you with flying colors i.e. 900+ score due from your Udemy courses) but I failed my CCNP 300-101 test. I love Cisco, Networking, Python, Linux, etc but the fail threw me for a loop putting a huge doubt in my mind. I was studying feverishly to pass the 300-101 but always pushing the test off two days before it was due in PearsonVue as the fail was a blow. I watch your videos regularly but the past few with Linux totally rekindled my curiosity. They gave me that boost I needed. I found myself writing scripts and playing further discovering I knew a lot more then I thought I did. I didn't push my retake test off this week in PearsonVue for the 300-101 and I finally passed 850+. You do awesome stuff for the Cisco/Networking community and I thought you should know you pushed someone across the pond to do better. Thank you.
Thank you so much for sharing Jonathan! Means so much to me! Congratulation on the pass! We all go through difficult times and stumble. As the saying goes: It's not the number of times we stumble that counts, but the number of times we get up. Congrats on passing that exam and not letting it beat you.
Everyone remembers what you said about time management & cutting out noise last year, and these videos are an additional help. The year to reach goals is this one, not next year. The longer videos the better!
Hi @David Bombal!!! Thank you for all of your free content on Automation and Network Programability and for supporting the way to create the new Hybrid Networking Engineer!!! As you say... The next 10x Engineer!!! Best regards, and I hope to see you and meet you this year in Cisco Live Las Vegas!!!
Big fan of your content! Personally prefer the in depth stuff that you do like this video. I always find with programming and networking tutorials that the longer the better. A really in depth video that’s a hour or two long will teach so much more complex stuff than the surface level topics shorter videos cover. Thanks for everything you do!!
Pls dont stop making these vids. I learn so much off your content. Your content is great. And yes, sometimes i have to watchbit a few times to grasp the concepts 💡. However, that is not boredom, its passion and wanting to add these skills to my bag and advance in i.t. rather than remain level. i like that the lessons are in 1 long video.
David I've been following you and networkchuck for a while and I've come to notice that you both give a lot in a different and unique way, I tend to be motivated by your videos and thrilled that I have a quality and in depth lessons waiting for me in your videos specially in yours, I wouldn't change a thing I would really like to help you deliver better content but I just don't know how to make it better so I can just say thank you for what you give already I like your videos but many times life catches up or I get distracted because I'm tired or something I've transitioned from a networking role to a developer role just by opening my mind listening to you guys even though my steps are slow I believe I've come a long way because hey I was just your classical Cisco fan boy, listening to you guys and dipping my toes on the deep pool that is IT as a whole I feel I've become a better professional for that I'll be forever grateful and I'll keep listening to both of you! Congratulations for making rich quality content keep it up!
Yes the videos are too long, but knowledge has no limit. What I personally do, is that I break the video into parts and then watch it so it doesn't get boring. What you can do is , if you wanna go into more depth regarding stuff you can create mini series with 3-4 episodes regarding it.
I would love to see a video where you make changes to x10 Cisco Routers (Non-XE) from a single Linux box, which I think you alluded to at the end of the video. For example, you make a script that will ssh into all of the x10 Cisco Routers and update the "Message of the day". After a video like that is done I think expanding from that will be useful. For example, a video where you now ssh into x10 Cisco Routers and update the hostname to be Router1, Router2, Router3, etc. Keep up the awesome videos.
I will create newer versions of these videos, but if you look at Part 14 or so in this playlist, I do something very similar to what you have suggested: ua-cam.com/video/-1Z6ygHO--8/v-deo.html
@@davidbombal Thanks a lot! That was an awesome playlist and it was exactly what I was looking for :) I will more than likely be purchasing your Udemy "Python Network Programming for Network Engineers" course as well. Keep up the awesome stuff David you certainly are making me way better at my job.
Two questions: a) what kind of container is it (since it’s not Docker ... lol)? LXC I’m assuming? b) is that container purely ephemeral (i.e. the container has no mapped persistent storage volume on the CSR)?
a) Depends. Guest Shell (LXC Container) on 4000 ISR and CSR. Guest Shell Lite (Limited LXC Container) on 3650 and 3850 switches. See here for more detail: bit.ly/2oeBUHx and bit.ly/2m9VuUU b) Storage is persistent from what I can read in the documentation and based on my tests. nano was still there after I shut down the CSR and GNS3 and ran it again the next day.
@@davidbombal I sort of expected the LXC containers but I definitely did NOT expect persistent storage. It seems to me that one could do a lot of interesting things with persistent containers on network gear (i.e. like dynamically-changing network encryption schemes by deploying new containers with new algorithms at will, if you could manage that effectively) but you could also do a lot of bad things with that as well (storing off captured network data, hosting malware, etc.). I wonder what a security analyst's perspective is on that.
Thank you very much for the demonstration. I did not know you could do all that from CISCO Network IOS XE, but again, I am seeing a clear trend today about using GNU/Linux more and more as Network OS. In my opinion, the most valuable point here is, to realize how the approach of CISCO, of running GNU/Linux on their hardware unleash an great number of options to test and innovate. This again confirms that those with GNU/LINUX skills, Python, and Networking understanding are the very valuable engineers of today and the future. Really appreciate it! What I need to figure now is how to run the GNS3 VM and GNS3 software together in the same PCs I have. I believe there are some hardware limitations blocking me due to the CPU, but definitely interesting to have on hand, GNS3, GNS3 VM, and nested virtualization for all these interesting testing.
Thank you Jair. You can watch my GNS3 installation videos on UA-cam which show you step by step how to set this up. Most modern computers support nested virtualization these days.
@@davidbombal I believe I tried getting this to work, I got a roadblock because I use VirtualBox (VBOX) and GNU/Linux only in my PCs. I believe that VBOX does not support the nested virtualization just yet on Intel CPUs. I might be wrong, but I know I did try. I will definitely check again. But I believe this is my current issue: docs.oracle.com/cd/E97728_01/F12470/html/nested-virt-support.html The PCs I have are old DELL and they are running Intel CPUs not AMD. The other option I may have is to use VMWARE WS.
@@jairusan Understand that. Thank you - you have reminded me that I need to create a new video explaining how to use VMware Workstation Player (which is free) and get it working.
Hey David I love your videos. Typically the video length you choose for each video is good. The point it that you really don't fluff your videos. I really like that your are detailed and to the point. btw I started using shell processing full all the time. I love using grep.
Thank you for the positive feedback Zachary! Much appreciated. So happy to hear that you are using shell processing and grep in your day to day work :)
Thanks David, I have been using this feature to download iPerf and carry out throughput tests across our MPLS network, disappointed when I discovered you can't run Guestshell on the 1100 Series
@@davidbombal Realy i'm doing CCNA exam self study and wish do complete in the next mounth I watch daily your CCNA 200 125 as a refrence and Guid . You helped me to boost my knowledge in Network feild. Many thnks again
@@davidbombal your 10x engineer videos are really great. I am really interested in Network automation, linux scripting. Can you make some videos on SDN, ACI? I am totally new to this.
I've been playing with this idea for awhile. I finally got my hands on an ISR4321 and enough RAM (8G per Cisco documentation) to run the containers on a live router. First thing I thought to do was install IPERF3, and test throughput to a RaspberryPi3 on the same LAN. As far as I can see the USB ethernet adapter of the RaspberryPi is the bottleneck at 300 Mbps.
You always surprise us, learnt something new. Not too long, and yes we would like those in-depth because they are well curated by you👌🏼 Also, I thank you very much for the ICND1 and 2 course with Wireshark Ethical.. Course, which actually gave away. I find them a lot useful. So thanks Mr. David♥️🔥
I understand. Don't worry - I wish I wouldn't forget so much that I have learned :( The great thing about technology is that things are changing and if you concentrate on the new, emerging technologies you will have a massive advantage over people who got tired of learning and didn't upgrade their skills. That is why 2 years of experience with new hot tech can mean a lot more than 10 years with old tech.
Thanks a lot David for this (certainly not too long video) and helpful insights. You explanation and examples are really helpful and understandable, even for me :-)
First question: As I mentioned in the video, running scripts locally on the device means you can do things even when your devices loses network connectivity. If the network goes down / you have an issue, a central script / automation system may not be able to configure the device. Second question: Industry trend is towards network automation. I understand being cynical after the SDN hype. But, have a look online at the opinions of people you care about in the industry (non sales people like the "grumpy old network engineer" Ivan Pepelnjak). His puts Linux and network automation in his top 10 skills to learn. See full video here where he rips apart the hype: ua-cam.com/video/grS__DS3v7c/v-deo.html
Your tutorials are always amazing! With the case of Linux and IOS, I don't know anyone/anywhere else demonstrating/teaching this subject matter, fantastic! I am interested in anything Cisco, but most interested in practical applications. For example, scripts I should have in my bag of tricks when setting up a new Cisco device that conforms to Cisco best practices . One idea I have been thinking about is how to sever links (shut) to all PCs in the case of a Ransomware attack/other infection that has begun to propagate. Or an ACL or other construct that would immediately isolate PCs on a given VLAN from one another (or maybe that should be the default like on Guest wifi unless two PCs need to speak to each other?) Is it possible to have a kill PC connectivity script loaded on switches that can be run with one command from one SSH connection to the core device, across all Cisco devices in a campus infrastructure. Or is a kill switch app a terrible idea? Again, thanks for such great practical instruction while at the same time stretching our thinking by showing us what is possible!
@@davidbombal more longer videos sir, so that so that we can get to learn more things. Your way of teaching had always been great sir and hence you don't need to go more deep dive. We should also do some research work in order to learn more.
Thanks David, it was really helpful. I was just trying to know if you have any sample python code to read the data from a port of cisco 9300 switch. Thanks
Hi David, Fine Job done out there, However i would like to know the script that you can use to automatically create DHCP scopes (Pools) on the DHCP server because am finding it hard to manually create one at a time. And which language can i use.Thanks
Thank you Rukundo. I would suggest Python as a programming language. Are you looking for a Python script that creates DHCP pools automatically on multiple devices?
David ....really very nice content, this is really a new world to the network engineers like us to see a newer perspective🌄 to learn Linux without fail....👍😊 ⚡I also taken your course for Wireshark on udemy.....which is really very nice and useful contents....✌️ Thanks and keep posting such videos...👍
Excellent video as always! Best wishes to you and yours! To your question about your videos and their format: I personally love the deep-dive approach but if you’d prefer to save those for your courses on Udemy that’s fine too (plus you get paid). :) Always love to see your new material!
Thank you for the feedback Andrew. This content will be on Udemy very soon.... I am adding it as a free course :) Do you suggest that I make the UA-cam videos much shorter and then leave the deep dive stuff for Udemy?
@@davidbombal I actually really like the length of this video as you go through the topic back to front; my suggestion re Udemy is simply that I think you should get paid for your time to make the videos. I know that making/editing/posting the videos takes time and effort and I think you should get compensated for it. I'm sure that little girl who likes toys and sandwiches probably already knows those don't come for free. :)
2:13 here's a suggestions. First of am so happy that you are giving us so much great videos #kudos 1. I think the videos don't have proper serialisation.. idk if it's only me or someone else too.. but I have issues finding the exact videos that I want.. not that I don't get em.. to be honest your channel is the only place where I am able to find my CCIE Content. (Especially the one in the new syllabus) 2. I would love to see longer videos. 3. It would be so good if u make a separate series like - " new ccie syllabus tutorial's" " I have booked a CCIE exam for January 2020 and I am concerned about the new syllabus I am able to find videos related to those new topics on ur channel again thx.. but they aren't well organised .. python one is properly organised tho #kudos. So plz make a playlist on new topics also" I really don't know what I typed myself.. Hope you understand the point here
Thank you for the positive feedback and recommendations. 1) I typically try to put videos for a specific topic in a playlist or make it part of a course on Udemy. With UA-cam, videos are kind of random on what I think is a good topic to talk about at that time. 2) You want deep technical videos - right? 3) I don't currently have specific CCIE lab topics. In 2020, I'll probably be spending a lot of time on CCNA / CCNP revamps before I get to the complex CCIE topics. But I will see what I can do :) Thanks again!
Is python and Linux scripting a good or bad thing. I had both connected to my router , and I have no idea how it got there or really what purpose it is serving . Can someone please help me figure this out . Thanks
Thanks Mr. David, You really help me with these videos. would you tell me... why is your GNS 3 interface looks different ? how can I render mine like yours ?
Agreed. Here I installed Ansible on the guestshell: [guestshell@guestshell ~]$ sudo yum install ansible [guestshell@guestshell ~]$ ansible --version ansible 2.4.2.0
You are a really good teacher David. I really enjoy your videos. I wanna ask your advice on something. I am currently in my final year at uni and I need to start working on my dissertation. Now as i am passionate on computer networks I would like to base my project on this field, however I need something more complex and a topic where I can implement both Linux with Python within traditional computer networks would be great. I would like to work more on the network programming side of things and research on a technology that its quite new these days in Computer Networks. Could you recommend me any good online sources where I can find a very good innovative idea or even if you have any suggestions I would be very grateful. Thank you very much in advance. Kind Regards,
Hi David: As I mentioned in my other comment I like to duplicate your lab setup when I first start working with a particular video. In this one you have two appliances that I can't seem to find. You have a Linux appliance and a switch but I can't seem to find these appliances on GNS3 marketplace so I can duplicate the icons that you are using. Can you tell me where to download these from? The rest I have already in my GNS3. Many thanks.
Hi Glenn, I am using the "Toolbox" Linux device here. I typically using that or the "Network Automation" device. Both of these are lightweight Docker containers which you can simply drag into your GNS3 topologies. I am using the builtin GNS3 switch in this lab. I use that as it is lightweight compared to a Cisco switch and I didn't need any fancy switching for this lab. That however may be a reason I had issues. So, may be better to use IOSvL2 in your lab.
@@davidbombal Wow! GNS3 and your videos just continues to impress me with how extensive a tool it is. I just watched your video on the Network Toolkit Docker Appliance. If others do not know of this, I highly suggest it. In one video it just showed me how to integrate a whole lot of tools in that one appliance into my test lab. EXCELLENT!!! As for the switch I will have to look for it. Unlike your Mac, my machine has 32 gig of memory so I don't have to been too concerned about how much an appliance takes up. I really wish Apple would do something about bringing out a MacBook Pro that is something more that a 2012 machine in design. LIke how about 32 Gig of memory for instance. I like the MacBook Pro but it's overpriced and underpowered and just getting too old in the tooth. My 2cents anyway.
regarding your videos I like the information you are pouring and frankly they are unique on UA-cam but if you can divide the video into multiple short videos of 4-5 minutes and put them all as a tutorial or list, it will be better maybe for me))) am not sure about what others like
@@davidbombal u r the best, i like how u reply ASAP that's the best thing tech support is what makes a product really reliable and for utube videos answering is the tech support
Thank you Alisalman. I try my best to reply to every message, but it's not always possible. What makes this platform great is how so many people are sharing and helping and giving suggestions so we can all learn :) I don't know everything and it is great how we can all help each other.
hi Mr. Bombal, I know it's a little bit far fro the topic of this video but, I tried commenting on your pictures on instagram with the following question: is there anyway to install open daylight sdn controller on mininet that runs on gns3 without the need to install it again after i close gns3 ??? I just need to have a fixed environment for SDN app development using python
Try installing that on a Uvuntu virtual machine rather than a Docker container. In GNS3 2.2 Docker containers can be made persistent, but you may want to us Virtual Machine for now.
You can, but be aware that it is not final yet, so you may come across bugs and other issues. This video shows you how to make stuff persistent if you do decide to use 2.2: ua-cam.com/video/K-iAD8B5noM/v-deo.html
Hi David. My ios-xe is the Fuji version (16.9.1), GNS3 v2.1.20. I configured correctly the CSR1-XE Gi1 interface and all the R&S for the lan side 10.1.1.0/24 (all is working) and also the CSR virtualportgroup, ip unnumbered and iox but I have a problem with the CSR guestshell. I can´t enable the guestshell because it seems to stay always in a "Deployed" state instead of a "running" state -> shows none "network interface" . ####################################### CSR1#sh app-hosting detail appid guestshell App id : guestshell Owner : iox State : DEPLOYED #
I found that I had a lot of issues at times. The way I solved it was to allocate more RAM and CPU to the CSR. I used 4 Gig RAM and 2 x CPU in my video. Have you tried that or given the CSR even more RAM like 8 Gig? Also - are you sure your version supports this feature? It looks like the commands are not recognized on the version you have?
@@davidbombal Thanks David!!! Today I spent all day solving the problem, running several versions of IOS-XE and reconfiguring it to work. I finally made it. The Linux Container is running on the Fuji and Everest versions of IOS-XE. My results are: IOS-XE Fuji (16.9.x) ================ - It didn't work with your ip unnumbered method as the IOS-XE version does not allow the command # guestshell enable VirtualPortGroup xxxxxxxxxxx It just allows # guestshell enable - I tried to set everything up manually, but it didn't work out. - With the DevNet (Gabriel Zapodeanu) method worked. The bad thing is that this method is complicated, not so much by the fact to configure a NAT, but because you have to configure previously guestshell manually the app-hosting (in his pdf he forgot to mark those commands in yellow). IOS-XE Everest (16.6.x) ================== - It works with BOTH methods, but yours is better (more simple). - I used another Everest version, the 16.06.04, which is NOT a Qemu VM template by default, therefore I made my own template with the default values. Your method worked at first, allowing the famous command # guestshell enable VirtualPortGroup xxxxxxxxxxx - No GNS3 problem (I didn't have your “conectivity to the Internet GW” issue) - Python 2 scripts working ok! - Your method is much more efficient and it works like a charm! For both versions (Fuji and Everest) ============================ - CSR 4 GB RAM, 2 vcpu -> . No needs 8G. - GNS3 v 2.1.20 (waiting to install the new 2.2 VM from scratch, I hope soon!) - I am happy to have really learned how to install a Linux Container on IOS-XE thanks to you. Your videos for the 10x Saga ======================= Your videos are a bit long for beginners. However, for those of us who have thousands of hours of flight doing the hard work, they get short and leave more hungry. So 15 mins is the magic number for 10xEngineer videos, I think (I prefer 20 but I watch the videos testing inmediatly in my virtual lab). The length and the contents depends of the target audience. Thank you for making a playlist for 10x Engineers although I feel like I'm going just in 3x. Just thank you very much Master!!!!!!!!! you are a real 10x Network Engineer.... Cheers!
Thank you for the detailed explanation Jim! That is great and it will help a lot of people :) Appreciate you taking the time to test different options and give solutions. Thank you.
hi David, I am getting this: [root@guestshell guestshell]# yum install nano -y Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.init7.net * extras: mirror.init7.net * updates: mirror.init7.net Exiting on user cancel suffice to say the user(me) did not cancel, it kind of times out by itself. I have NAT in place and can reach internet fairly quick, ping/curl works, just the yum doesn't. CSR1000V/16.9.3 Any thoughts?
David, I think you may start from the batfish.org site under the selected community resources section (scrolling down the web page) reading the links (my favorites are cumulus and packetflow links where you can find other tlinks to github test). Batfish works with Pybatfish: a collection of questions you can do to your topology (in offline mode). What I think is useful is to analize the behaviour of your networks, validate configuration changes before deployment ( github.com/batfish/pybatfish ). Case study made by myself: As a consultant I retrieved the configuration of all switches and routers of one of my customer and using pybatfish I've discovered offline useful informations about routing, how packet flow inside the network, informations about L2 links. Hope this can help to start. Apologize for my english.
As always great content 👍. Length and course material are right at the Goldilocks spot 1/2 hour. Explainations are easy to follow. I still like to figure out most things myself and this is a great resource/refference. Thank you Sir!
David: I am that you made this video it really helped me out. I was tasked at my john install wireshark on a Cisco Catalyst 9300 switch. I got it working however I did it a little different. I used NAT. I could ping Google DNS 8.8.8.8. When I run the 'yum install wireshark' it loses connectivity with the internet. The only resolution I have it to destroy guestshell and start everything over. The error I get when i yum the command is: [root@guestshell home]# yum install wireshark Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Could not retrieve mirrorlist mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error was 14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error" One of the configured repositories failed (Unknown), and yum doesn't have enough cached data to continue. At this point the only safe thing yum can do is fail. There are a few ways to work "fix" this: 1. Contact the upstream for the repository and get them to fix the problem. 2. Reconfigure the baseurl/etc. for the repository, to point to a working upstream. This is most often useful if you are using a newer distribution release than is supported by the repository (and the packages for the previous distribution release still work). 3. Run the command with the repository temporarily disabled yum --disablerepo= ... 4. Disable the repository permanently, so yum won't use it by default. Yum will then just ignore the repository until you permanently enable it again or use --enablerepo for temporary usage: yum-config-manager --disable or subscription-manager repos --disable= 5. Configure the failing repository to be skipped, if it is unavailable. Note that yum will try to contact the repo. when it runs most commands, so will have to try and fail each time (and thus. yum will be be much slower). If it is a very temporary problem though, this is often a nice compromise: yum-config-manager --save --setopt=.skip_if_unavailable=true Cannot find a valid baseurl for repo: base/7/x86_64 I still fairly new to linux and I am used to using apt-get instead yum. I know very little about the CentOS. Any help will be appreciated.
This is my cisco ios-xe version: 1. EEM_Testing#show ver | grep 1000 cisco CSR1000V (VXE) processor (revision VXE) with 2190795K/3075K bytes of memory. 2. import cli in python2 EEM_Testing#guestshell run python2 Python 2.7.5 (default, Jun 17 2014, 18:11:42) [GCC 4.8.2 20140120 (Red Hat 4.8.2-16)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import cli >>> 3.I want to import cli module in python3 , what should I do? Is there a module named cli in python3? EEM_Testing#guestshell run python3 Python 3.6.8 (default, Aug 7 2019, 17:28:10) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import cli Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'cli' >>>
Menu:
Overview: 0:00
Lab Setup (GNS3 / CSR): 2:00
IOS XE & Container explanation: 3:14
Guestshell Setup: 7:14
Access the Linux Shell: 13:48
Sort out routing: 15:11
SSH to Guestshell remotely: 19:30
Install applications: 22:20
Python scripting: 23:14
=================================
David's Linux & Cisco playlist:
=================================
bit.ly/linuxciscoplaylist
=================================
Documentation:
=================================
Cisco IOS Shell Configuration Guide: bit.ly/2kwMyYN
================================
Books:
=================================
Cisco Press Book: amzn.to/2LpaU1a
Good O'Reilly Book: amzn.to/2Lpbw6Z
=================================
Free DevNet Labs:
=================================
DevNet Lab: Introduction to the Guest Shell: bit.ly/2oq9fj7
DevNet Lab: Introduction to On-Box Python: bit.ly/2nEXjcI
=================================
CSR Configuration steps:
=================================
! Check if service is running
en
show iox-service
! Configure Basics
conf t
hostname CSR1
interface GigabitEthernet1
no shut
ip address 10.1.1.1 255.255.255.0
exit
exit
! Enable the service
conf t
iox
exit
show iox-service
! Configure Virtual Port
conf t
interface VirtualPortGroup0
ip unnumbered GigabitEthernet1
exit
exit
! Enable the guestshell
guestshell enable VirtualPortGroup 0 guest-ip 10.1.1.2
! Access guestshell
guestshell run bash
! Add DNS information to Linux container
echo nameserver 8.8.8.8 | sudo tee -append /etc/resolv.conf
! Need to set up routing so Router knows how to route
conf t
ip route 10.1.1.2 255.255.255.255 virtualportgroup 0
ip route 0.0.0.0 0.0.0.0 10.1.1.254
ip domain-lookup
ip name-server 8.8.8.8
exit
! Check stuff on guestshell host
sudo ifconfig
cat /etc/resolv.conf
!Add a user
sudo useradd david
sudo passwd david
! Install nano and Python 3
sudo yum install nano -y
! You don't need Python3 for these script examples
sudo yum install python3
=================================
Python Script:
=================================
import sys
import cli
cli.executep(‘show ip int brief’)
cli.executep(‘show ver’)
=================================
Documentation
=================================
Programmability Configuration Guide, Cisco IOS XE Fuji 16.9.x: bit.ly/2lUSETq
Programmability Configuration Guide, Cisco IOS XE Gibraltar 16.10.x: bit.ly/2mErAIo
DevNet presentation: bit.ly/2lWedD8
Hank Preston: bit.ly/2nu4VyG
Thanks Mr. David, You really help me with these videos. would you tell me... why is your GNS 3 interface looking different ? how can I render mine like yours ? thanks Sir.
@@matthieumbayo7452 This video shows you how: ua-cam.com/video/51zaAHhdgzQ/v-deo.html
Congrats !! Brilliant !! Keep up the good work !! :-) you should try EVE network simulator ;-)
@@malkta1 EVE-NG videos coming soon :)
David: I really enjoy your videos. They of necessity require in-depth discussion in order to understand the subject matter. The length is just right. Don't change a thing. Your collection of videos has a great span of complexity going from beginner through to expert level coverage. The key I find to your video's it that you provide enough detail for me (at least) to be able to duplicate your setup in GNS3 which then gives me a starting point from which I can continue to test and experiment. That in itself is a HUGE benefit. Keep it up!!! Many thanks.
Glenn
Thank you Glenn. Appreciate the support and encouragement.
Your video's on this series (past three and this one) are absolutely awesome. I was in a rut after passing my CCNA quickly (mind you with flying colors i.e. 900+ score due from your Udemy courses) but I failed my CCNP 300-101 test. I love Cisco, Networking, Python, Linux, etc but the fail threw me for a loop putting a huge doubt in my mind. I was studying feverishly to pass the 300-101 but always pushing the test off two days before it was due in PearsonVue as the fail was a blow. I watch your videos regularly but the past few with Linux totally rekindled my curiosity. They gave me that boost I needed. I found myself writing scripts and playing further discovering I knew a lot more then I thought I did. I didn't push my retake test off this week in PearsonVue for the 300-101 and I finally passed 850+. You do awesome stuff for the Cisco/Networking community and I thought you should know you pushed someone across the pond to do better. Thank you.
Thank you so much for sharing Jonathan! Means so much to me! Congratulation on the pass! We all go through difficult times and stumble. As the saying goes: It's not the number of times we stumble that counts, but the number of times we get up. Congrats on passing that exam and not letting it beat you.
Everyone remembers what you said about time management & cutting out noise last year, and these videos are an additional help. The year to reach goals is this one, not next year. The longer videos the better!
Glad you remember that! Thanks for the feedback about the video length!
Hi @David Bombal!!! Thank you for all of your free content on Automation and Network Programability and for supporting the way to create the new Hybrid Networking Engineer!!! As you say... The next 10x Engineer!!! Best regards, and I hope to see you and meet you this year in Cisco Live Las Vegas!!!
Big fan of your content! Personally prefer the in depth stuff that you do like this video. I always find with programming and networking tutorials that the longer the better. A really in depth video that’s a hour or two long will teach so much more complex stuff than the surface level topics shorter videos cover. Thanks for everything you do!!
Pls dont stop making these vids. I learn so much off your content. Your content is great. And yes, sometimes i have to watchbit a few times to grasp the concepts 💡. However, that is not boredom, its passion and wanting to add these skills to my bag and advance in i.t. rather than remain level. i like that the lessons are in 1 long video.
David I've been following you and networkchuck for a while and I've come to notice that you both give a lot in a different and unique way, I tend to be motivated by your videos and thrilled that I have a quality and in depth lessons waiting for me in your videos specially in yours, I wouldn't change a thing I would really like to help you deliver better content but I just don't know how to make it better so I can just say thank you for what you give already I like your videos but many times life catches up or I get distracted because I'm tired or something I've transitioned from a networking role to a developer role just by opening my mind listening to you guys even though my steps are slow I believe I've come a long way because hey I was just your classical Cisco fan boy, listening to you guys and dipping my toes on the deep pool that is IT as a whole I feel I've become a better professional for that I'll be forever grateful and I'll keep listening to both of you! Congratulations for making rich quality content keep it up!
Thank you for the great feedback Oscar! Much appreciated.
Definitely one of my favorites videos from you David ! It really opens up a new World of possibilities
Yes the videos are too long, but knowledge has no limit. What I personally do, is that I break the video into parts and then watch it so it doesn't get boring.
What you can do is , if you wanna go into more depth regarding stuff you can create mini series with 3-4 episodes regarding it.
Thank you for the feedback and suggestions Prabhdeep.
I would love to see a video where you make changes to x10 Cisco Routers (Non-XE) from a single Linux box, which I think you alluded to at the end of the video. For example, you make a script that will ssh into all of the x10 Cisco Routers and update the "Message of the day". After a video like that is done I think expanding from that will be useful. For example, a video where you now ssh into x10 Cisco Routers and update the hostname to be Router1, Router2, Router3, etc. Keep up the awesome videos.
I will create newer versions of these videos, but if you look at Part 14 or so in this playlist, I do something very similar to what you have suggested: ua-cam.com/video/-1Z6ygHO--8/v-deo.html
@@davidbombal Thanks a lot! That was an awesome playlist and it was exactly what I was looking for :) I will more than likely be purchasing your Udemy "Python Network Programming for Network Engineers" course as well. Keep up the awesome stuff David you certainly are making me way better at my job.
Your videos are all full of very useful content. I do not mind any length. Many thanks.
David absolutely I love your work, you have separated yourself from the rest. Thank you for helping me on my Cisco certification journey.....
Great vid, the 30 min vids are perfect, you are an amazing teacher. Thank you for all you do, we appreciate it.
Thank you Daniel. Appreciate the feedback!
estoy aprendiendo python y desde hace tiempo que vengo estudiando redes cisco me enganchaste con eso subscrito y campanita saludos desde Vzla profe!
Thank you Javier!
Thanks again for another great video. When they are under 30 minutes I can watch during my lunch break!
Thank you for the feedback Jeffrey!
maybe your employer needs to let you watch videos when you have free time if it is advancing your knowledge and career. If not, get a new employer.
David... I just want to be just like you mate!
Two questions:
a) what kind of container is it (since it’s not Docker ... lol)? LXC I’m assuming?
b) is that container purely ephemeral (i.e. the container has no mapped persistent storage volume on the CSR)?
a) Depends. Guest Shell (LXC Container) on 4000 ISR and CSR. Guest Shell Lite (Limited LXC Container) on 3650 and 3850 switches. See here for more detail: bit.ly/2oeBUHx and bit.ly/2m9VuUU
b) Storage is persistent from what I can read in the documentation and based on my tests. nano was still there after I shut down the CSR and GNS3 and ran it again the next day.
@@davidbombal I sort of expected the LXC containers but I definitely did NOT expect persistent storage. It seems to me that one could do a lot of interesting things with persistent containers on network gear (i.e. like dynamically-changing network encryption schemes by deploying new containers with new algorithms at will, if you could manage that effectively) but you could also do a lot of bad things with that as well (storing off captured network data, hosting malware, etc.). I wonder what a security analyst's perspective is on that.
David, this type of videos are just great! Please keep creating content like this!!!
Thank you!
Thank you very much for the demonstration. I did not know you could do all that from CISCO Network IOS XE, but again, I am seeing a clear trend today about using GNU/Linux more and more as Network OS. In my opinion, the most valuable point here is, to realize how the approach of CISCO, of running GNU/Linux on their hardware unleash an great number of options to test and innovate. This again confirms that those with GNU/LINUX skills, Python, and Networking understanding are the very valuable engineers of today and the future. Really appreciate it! What I need to figure now is how to run the GNS3 VM and GNS3 software together in the same PCs I have. I believe there are some hardware limitations blocking me due to the CPU, but definitely interesting to have on hand, GNS3, GNS3 VM, and nested virtualization for all these interesting testing.
Thank you Jair. You can watch my GNS3 installation videos on UA-cam which show you step by step how to set this up. Most modern computers support nested virtualization these days.
@@davidbombal I believe I tried getting this to work, I got a roadblock because I use VirtualBox (VBOX) and GNU/Linux only in my PCs. I believe that VBOX does not support the nested virtualization just yet on Intel CPUs. I might be wrong, but I know I did try. I will definitely check again. But I believe this is my current issue: docs.oracle.com/cd/E97728_01/F12470/html/nested-virt-support.html The PCs I have are old DELL and they are running Intel CPUs not AMD. The other option I may have is to use VMWARE WS.
@@jairusan Understand that. Thank you - you have reminded me that I need to create a new video explaining how to use VMware Workstation Player (which is free) and get it working.
@@davidbombal That will be an interesting one. (^^)/
No matter it's 30-50 min video, Love to learn in dept from you Sir David, would like to see the post's
Hey David I love your videos. Typically the video length you choose for each video is good. The point it that you really don't fluff your videos. I really like that your are detailed and to the point. btw I started using shell processing full all the time. I love using grep.
Thank you for the positive feedback Zachary! Much appreciated. So happy to hear that you are using shell processing and grep in your day to day work :)
Thanks David, I have been using this feature to download iPerf and carry out throughput tests across our MPLS network, disappointed when I discovered you can't run Guestshell on the 1100 Series
Glad the video helped you Anthony! Unfortunately a lot of devices don't support this feature :(
I like the way you teach, very calm and easy to keep up with.
Thank you Ronette. lol... you don't want me shouting and getting excited? Not my style :)
Oh no pls not 😂 hard to focus then
Also the management ip is an svi but this happens on management port too
excellent pronunciation. Differs from most English speakers. Clear
Thank you
Where we can download Cisco IOS XE for GNS3
Thnx Devid your youtube toturial is my guid to become Network Engneer .
Thank you Omar. It means a lot to me if my content helps you and others :)
@@davidbombal Realy i'm doing CCNA exam self study and wish do complete in the next mounth I watch daily your CCNA 200 125 as a refrence and Guid . You helped me to boost my knowledge in Network feild. Many thnks again
you are doing a great job David. And please more in depth videos.
Thank you. Which topics are you interested in Prashant?
@@davidbombal your 10x engineer videos are really great. I am really interested in Network automation, linux scripting. Can you make some videos on SDN, ACI? I am totally new to this.
Thank you. SDN is a difficult one as we need to decide what SDN actually is. So many variations of that term these days. Any specific topic?
@@davidbombal I do not much about SDN specific topics. But how about SDWAN? I am hearing that SDWAN can replace the DMVPN, MPLS.
using a 4k router but the guestshell enable command doesn't have the option for "VirtualPortGroup 0 guest-ip"
i want to see a video about how to update and secure cisco with python and linux .great video
I've been playing with this idea for awhile. I finally got my hands on an ISR4321 and enough RAM (8G per Cisco documentation) to run the containers on a live router. First thing I thought to do was install IPERF3, and test throughput to a RaspberryPi3 on the same LAN. As far as I can see the USB ethernet adapter of the RaspberryPi is the bottleneck at 300 Mbps.
Thank You David! Keep it coming please these are great videos as usual!
Thank you!
Mr.David. I enjoy the long video. 30 minutes is ok for me.
Thank you Naing! Appreciate the support and encouragement.
Thank you so much, David! This video helped to understand how to use Linux and Python with Cisco devices!!
My pleasure Vadim! Glad you found the video useful :)
You always surprise us, learnt something new.
Not too long, and yes we would like those in-depth because they are well curated by you👌🏼
Also, I thank you very much for the ICND1 and 2 course with Wireshark Ethical.. Course, which actually gave away. I find them a lot useful. So thanks Mr. David♥️🔥
Fantastic Mohit! Really appreciate the feedback :)
Hello David,
Can you please make a video explaining the various Cisco operating systems, their types, and usages.
Thank you
Do you mean the differences between IOS, IOS-XE, NX-OS etc?
Very nice video
The biggest issue, is that I started with network late in life, so much that I would like to learn so little time :)
I understand. Don't worry - I wish I wouldn't forget so much that I have learned :(
The great thing about technology is that things are changing and if you concentrate on the new, emerging technologies you will have a massive advantage over people who got tired of learning and didn't upgrade their skills. That is why 2 years of experience with new hot tech can mean a lot more than 10 years with old tech.
@@davidbombal i love NETCONF and its encouraging that emerging tech is regarded very well in the world
Excellent work Mr David
Thank you Cherrie!
Thank you again for another video which is very informative. All the best Mr. Davib B.
Thank you Albert!
Thanks a lot David for this (certainly not too long video) and helpful insights. You explanation and examples are really helpful and understandable, even for me :-)
superb video mr. david, next level of automation, and cisco platform is very very flexible...
Thank you Tarun!
Great video! Thanks, David! Can you please show (on the screen) the ctrl commands used in the Linux container (saving, exiting, etc)? Thank you!
Container is persistent - just like if you were working on a PC. To exit, I just typed exit to get back to the router. Hope that makes sense?
@@davidbombal yeah. How about when you created the python script what was the combination to save the config - Ctrl+O and for exit Ctrl+X?
I was using Nano. Control-X to exit and then Y to save. You can search online for nano keys like here: help.ubuntu.com/community/Nano
The question is why run Linux in a router? Is really the automation usefull or is a new paradigm for sale new scrap
First question: As I mentioned in the video, running scripts locally on the device means you can do things even when your devices loses network connectivity. If the network goes down / you have an issue, a central script / automation system may not be able to configure the device.
Second question: Industry trend is towards network automation. I understand being cynical after the SDN hype. But, have a look online at the opinions of people you care about in the industry (non sales people like the "grumpy old network engineer" Ivan Pepelnjak). His puts Linux and network automation in his top 10 skills to learn. See full video here where he rips apart the hype: ua-cam.com/video/grS__DS3v7c/v-deo.html
@@davidbombal Thanks for your answer and the video. Indeed I subscribed to a python course recently.
David you breakdown CCIE level stuff for entry level engineerz
Your tutorials are always amazing! With the case of Linux and IOS, I don't know anyone/anywhere else demonstrating/teaching this subject matter, fantastic! I am interested in anything Cisco, but most interested in practical applications.
For example, scripts I should have in my bag of tricks when setting up a new Cisco device that conforms to Cisco best practices . One idea I have been thinking about is how to sever links (shut) to all PCs in the case of a Ransomware attack/other infection that has begun to propagate. Or an ACL or other construct that would immediately isolate PCs on a given VLAN from one another (or maybe that should be the default like on Guest wifi unless two PCs need to speak to each other?) Is it possible to have a kill PC connectivity script loaded on switches that can be run with one command from one SSH connection to the core device, across all Cisco devices in a campus infrastructure. Or is a kill switch app a terrible idea? Again, thanks for such great practical instruction while at the same time stretching our thinking by showing us what is possible!
Thank you sir, please make more in-depth videos on each topic if possible.
You are contributing a lot in our life, thanks again.
Thank you. Are you suggesting even longer or more deep dive videos?
@@davidbombal more longer videos sir, so that so that we can get to learn more things.
Your way of teaching had always been great sir and hence you don't need to go more deep dive. We should also do some research work in order to learn more.
@@hrithekshaw5360 thank you
This is amazing. Personally, I like the more in-depth videos.
David when I try to configure the virtual port group it comes up down/down in ip int br. It's a 3850 and I used ip unumbered
Thanks David, it was really helpful. I was just trying to know if you have any sample python code to read the data from a port of cisco 9300 switch. Thanks
Extremely illuminating :)
Sir u r just amazing💗
Thank you for the kind words Preethan!
Hi David, Fine Job done out there, However i would like to know the script that you can use to automatically create DHCP scopes (Pools) on the DHCP server because am finding it hard to manually create one at a time. And which language can i use.Thanks
Thank you Rukundo. I would suggest Python as a programming language. Are you looking for a Python script that creates DHCP pools automatically on multiple devices?
Exactly, the script coz i would like to create different pools on a server especially DHCP server but you could advice me on which is a better way
@@rukundoagira6364 I have added this to the list of videos :)
David ....really very nice content, this is really a new world to the network engineers like us to see a newer perspective🌄 to learn Linux without fail....👍😊
⚡I also taken your course for Wireshark on udemy.....which is really very nice and useful contents....✌️
Thanks and keep posting such videos...👍
Thank you for the great feedback Rishabh! Glad that the video helped you!
Excellent video as always! Best wishes to you and yours!
To your question about your videos and their format: I personally love the deep-dive approach but if you’d prefer to save those for your courses on Udemy that’s fine too (plus you get paid). :) Always love to see your new material!
Thank you for the feedback Andrew. This content will be on Udemy very soon.... I am adding it as a free course :)
Do you suggest that I make the UA-cam videos much shorter and then leave the deep dive stuff for Udemy?
@@davidbombal I actually really like the length of this video as you go through the topic back to front; my suggestion re Udemy is simply that I think you should get paid for your time to make the videos. I know that making/editing/posting the videos takes time and effort and I think you should get compensated for it. I'm sure that little girl who likes toys and sandwiches probably already knows those don't come for free. :)
@@andrewpoloni4197 lol... she does like toys! Appreciate the support.
2:13 here's a suggestions.
First of am so happy that you are giving us so much great videos #kudos
1. I think the videos don't have proper serialisation.. idk if it's only me or someone else too.. but I have issues finding the exact videos that I want.. not that I don't get em.. to be honest your channel is the only place where I am able to find my CCIE Content. (Especially the one in the new syllabus)
2. I would love to see longer videos.
3. It would be so good if u make a separate series like - " new ccie syllabus tutorial's"
" I have booked a CCIE exam for January 2020 and I am concerned about the new syllabus I am able to find videos related to those new topics on ur channel again thx.. but they aren't well organised .. python one is properly organised tho #kudos. So plz make a playlist on new topics also"
I really don't know what I typed myself..
Hope you understand the point here
Thank you for the positive feedback and recommendations.
1) I typically try to put videos for a specific topic in a playlist or make it part of a course on Udemy. With UA-cam, videos are kind of random on what I think is a good topic to talk about at that time.
2) You want deep technical videos - right?
3) I don't currently have specific CCIE lab topics. In 2020, I'll probably be spending a lot of time on CCNA / CCNP revamps before I get to the complex CCIE topics. But I will see what I can do :)
Thanks again!
@@davidbombal well I just checked out ur Udemy page and I found a lot of helpful content.. thank you ☺️
Is python and Linux scripting a good or bad thing. I had both connected to my router , and I have no idea how it got there or really what purpose it is serving . Can someone please help me figure this out . Thanks
Detail is great. don't change a thing.
Thank you Ian.
David: Can you do more videos like these?
Thanks Mr. David, You really help me with these videos. would you tell me... why is your GNS 3 interface looks different ? how can I render mine like yours ?
Watch this video which shows you how to change the symbols: ua-cam.com/video/51zaAHhdgzQ/v-deo.html
@@davidbombal thank Sir!, I really appreciate.
And you can install Ansible on the router and then automate configuration to other routers on the cloud using ansible vpn module.
Agreed. Here I installed Ansible on the guestshell:
[guestshell@guestshell ~]$ sudo yum install ansible
[guestshell@guestshell ~]$ ansible --version
ansible 2.4.2.0
Another productive career growth video
Thank you Previous! Appreciate you watching :)
You are a really good teacher David. I really enjoy your videos. I wanna ask your advice on something. I am currently in my final year at uni and I need to start working on my dissertation. Now as i am passionate on computer networks I would like to base my project on this field, however I need something more complex and a topic where I can implement both Linux with Python within traditional computer networks would be great. I would like to work more on the network programming side of things and research on a technology that its quite new these days in Computer Networks.
Could you recommend me any good online sources where I can find a very good innovative idea or even if you have any suggestions I would be very grateful. Thank you very much in advance.
Kind Regards,
Hi David: As I mentioned in my other comment I like to duplicate your lab setup when I first start working with a particular video. In this one you have two appliances that I can't seem to find. You have a Linux appliance and a switch but I can't seem to find these appliances on GNS3 marketplace so I can duplicate the icons that you are using. Can you tell me where to download these from? The rest I have already in my GNS3. Many thanks.
Hi Glenn, I am using the "Toolbox" Linux device here. I typically using that or the "Network Automation" device. Both of these are lightweight Docker containers which you can simply drag into your GNS3 topologies. I am using the builtin GNS3 switch in this lab. I use that as it is lightweight compared to a Cisco switch and I didn't need any fancy switching for this lab. That however may be a reason I had issues. So, may be better to use IOSvL2 in your lab.
@@davidbombal Wow! GNS3 and your videos just continues to impress me with how extensive a tool it is. I just watched your video on the Network Toolkit Docker Appliance. If others do not know of this, I highly suggest it. In one video it just showed me how to integrate a whole lot of tools in that one appliance into my test lab. EXCELLENT!!! As for the switch I will have to look for it. Unlike your Mac, my machine has 32 gig of memory so I don't have to been too concerned about how much an appliance takes up. I really wish Apple would do something about bringing out a MacBook Pro that is something more that a 2012 machine in design. LIke how about 32 Gig of memory for instance. I like the MacBook Pro but it's overpriced and underpowered and just getting too old in the tooth. My 2cents anyway.
regarding your videos I like the information you are pouring and frankly they are unique on UA-cam but if you can divide the video into multiple short videos of 4-5 minutes and put them all as a tutorial or list, it will be better maybe for me))) am not sure about what others like
Thank you for the suggestion Alisalman!
@@davidbombal u r the best, i like how u reply ASAP that's the best thing tech support is what makes a product really reliable and for utube videos answering is the tech support
Thank you Alisalman. I try my best to reply to every message, but it's not always possible. What makes this platform great is how so many people are sharing and helping and giving suggestions so we can all learn :) I don't know everything and it is great how we can all help each other.
hi Mr. Bombal, I know it's a little bit far fro the topic of this video but, I tried commenting on your pictures on instagram with the following question: is there anyway to install open daylight sdn controller on mininet that runs on gns3 without the need to install it again after i close gns3 ??? I just need to have a fixed environment for SDN app development using python
Try installing that on a Uvuntu virtual machine rather than a Docker container. In GNS3 2.2 Docker containers can be made persistent, but you may want to us Virtual Machine for now.
@@davidbombal thank you so much, so i may use gns3 2.2?
You can, but be aware that it is not final yet, so you may come across bugs and other issues. This video shows you how to make stuff persistent if you do decide to use 2.2: ua-cam.com/video/K-iAD8B5noM/v-deo.html
Thanks David . Your videos are very helpful.God bless.
Thank you Deepak!
That's was outstanding
Thank you Joel!
David, thanks for all these useful stuffs. Could you make a Genie and Pyats videos ?
Ale
On my list :)
David, Super. Thanks for the video
Thank you Praveen.
Thanks David. This is Excellent.
Thank you Usman!
Could you please let me know how deep I have to learn python as network engineer? Is OOP mandatory to learn?
Perfect videos to Get started, dont change a thing GREAT
Thank you. Appreciate the feedback :)
Can it replace EEM
Lots of options here. You can combine EEM and Python so a Python script is called when an event happens. See here as an example: bit.ly/2mOuOcv
Yes I enjoy the long videos. You have more time to explain things
Thank you Christian!
Awesome David!!!
Thank you!
Hi David. My ios-xe is the Fuji version (16.9.1), GNS3 v2.1.20. I configured correctly the CSR1-XE Gi1 interface and all the R&S for the lan side 10.1.1.0/24 (all is working) and also the CSR virtualportgroup, ip unnumbered and iox but I have a problem with the CSR guestshell. I can´t enable the guestshell because it seems to stay always in a "Deployed" state instead of a "running" state -> shows none "network interface" .
#######################################
CSR1#sh app-hosting detail appid guestshell
App id : guestshell
Owner : iox
State : DEPLOYED #
I found that I had a lot of issues at times. The way I solved it was to allocate more RAM and CPU to the CSR. I used 4 Gig RAM and 2 x CPU in my video. Have you tried that or given the CSR even more RAM like 8 Gig? Also - are you sure your version supports this feature? It looks like the commands are not recognized on the version you have?
@@davidbombal Thanks David!!! Today I spent all day solving the problem, running several versions of IOS-XE and reconfiguring it to work. I finally made it. The Linux Container is running on the Fuji and Everest versions of IOS-XE. My results are:
IOS-XE Fuji (16.9.x)
================
- It didn't work with your ip unnumbered method as the IOS-XE version does not allow the command
# guestshell enable VirtualPortGroup xxxxxxxxxxx
It just allows # guestshell enable
- I tried to set everything up manually, but it didn't work out.
- With the DevNet (Gabriel Zapodeanu) method worked. The bad thing is that this method is complicated, not so much by the fact to configure a NAT, but because you have to configure previously guestshell manually the app-hosting (in his pdf he forgot to mark those commands in yellow).
IOS-XE Everest (16.6.x)
==================
- It works with BOTH methods, but yours is better (more simple).
- I used another Everest version, the 16.06.04, which is NOT a Qemu VM template by default, therefore I made my own template with the default values. Your method worked at first, allowing the famous command # guestshell enable VirtualPortGroup xxxxxxxxxxx
- No GNS3 problem (I didn't have your “conectivity to the Internet GW” issue)
- Python 2 scripts working ok!
- Your method is much more efficient and it works like a charm!
For both versions (Fuji and Everest)
============================
- CSR 4 GB RAM, 2 vcpu -> . No needs 8G.
- GNS3 v 2.1.20 (waiting to install the new 2.2 VM from scratch, I hope soon!)
- I am happy to have really learned how to install a Linux Container on IOS-XE thanks to you.
Your videos for the 10x Saga
=======================
Your videos are a bit long for beginners. However, for those of us who have thousands of hours of flight doing the hard work, they get short and leave more hungry. So 15 mins is the magic number for 10xEngineer videos, I think (I prefer 20 but I watch the videos testing inmediatly in my virtual lab). The length and the contents depends of the target audience.
Thank you for making a playlist for 10x Engineers although I feel like I'm going just in 3x.
Just thank you very much Master!!!!!!!!! you are a real 10x Network Engineer....
Cheers!
Thank you for the detailed explanation Jim! That is great and it will help a lot of people :) Appreciate you taking the time to test different options and give solutions. Thank you.
superbly taught
Lekker david, intetesing stuff
Baie dankie Christo!
Yeah david i love the video's 😍 make indepth video so that we can learn new stuffs...tanks for the awesome videos
Thank you Vijay! Appreciate it!
fact: network engineers are more hardworkers than other IT field agree/////
yes we need short video david .......
Thank you for the feedback Holla Holla
hi David,
I am getting this:
[root@guestshell guestshell]# yum install nano -y
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.init7.net
* extras: mirror.init7.net
* updates: mirror.init7.net
Exiting on user cancel
suffice to say the user(me) did not cancel, it kind of times out by itself. I have NAT in place and can reach internet fairly quick, ping/curl works, just the yum doesn't. CSR1000V/16.9.3
Any thoughts?
I appreciate your video automation it is so good
Thank you Patrick! Appreciate the positive vibes!
yeah very amazing content. Thanks David
Thank you Mohamed! Appreciate the support :)
David, another useful tool is batfish. Have you ever listen about ?
I heard of batfish, but haven't used it. Have you found it really useful? Have you got some good documentation and use cases I can research?
David, I think you may start from the batfish.org site under the selected community resources section (scrolling down the web page) reading the links (my favorites are cumulus and packetflow links where you can find other tlinks to github test). Batfish works with Pybatfish: a collection of questions you can do to your topology (in offline mode). What I think is useful is to analize the behaviour of your networks, validate configuration changes before deployment ( github.com/batfish/pybatfish ). Case study made by myself: As a consultant I retrieved the configuration of all switches and routers of one of my customer and using pybatfish I've discovered offline useful informations about routing, how packet flow inside the network, informations about L2 links. Hope this can help to start. Apologize for my english.
Thanks David :)
Thank you for watching Ronette!
As always great content 👍. Length and course material are right at the Goldilocks spot 1/2 hour. Explainations are easy to follow. I still like to figure out most things myself and this is a great resource/refference. Thank you Sir!
Thank you Orley! Appreciate the support and motivation you give me : ) Thank you for the feedback about the video length.
David: I am that you made this video it really helped me out. I was tasked at my john install wireshark on a Cisco Catalyst 9300 switch. I got it working however I did it a little different. I used NAT. I could ping Google DNS 8.8.8.8. When I run the 'yum install wireshark' it loses connectivity with the internet. The only resolution I have it to destroy guestshell and start everything over. The error I get when i yum the command is:
[root@guestshell home]# yum install wireshark
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error was
14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"
One of the configured repositories failed (Unknown),
and yum doesn't have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work "fix" this:
1. Contact the upstream for the repository and get them to fix the problem.
2. Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and the
packages for the previous distribution release still work).
3. Run the command with the repository temporarily disabled
yum --disablerepo= ...
4. Disable the repository permanently, so yum won't use it by default. Yum
will then just ignore the repository until you permanently enable it
again or use --enablerepo for temporary usage:
yum-config-manager --disable
or
subscription-manager repos --disable=
5. Configure the failing repository to be skipped, if it is unavailable.
Note that yum will try to contact the repo. when it runs most commands,
so will have to try and fail each time (and thus. yum will be be much
slower). If it is a very temporary problem though, this is often a nice
compromise:
yum-config-manager --save --setopt=.skip_if_unavailable=true
Cannot find a valid baseurl for repo: base/7/x86_64
I still fairly new to linux and I am used to using apt-get instead yum. I know very little about the CentOS. Any help will be appreciated.
Have you read this document? bit.ly/2pMKNsL
This is my cisco ios-xe version:
1. EEM_Testing#show ver | grep 1000
cisco CSR1000V (VXE) processor (revision VXE) with 2190795K/3075K bytes of memory.
2. import cli in python2
EEM_Testing#guestshell run python2
Python 2.7.5 (default, Jun 17 2014, 18:11:42)
[GCC 4.8.2 20140120 (Red Hat 4.8.2-16)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import cli
>>>
3.I want to import cli module in python3 , what should I do? Is there a module named cli in python3?
EEM_Testing#guestshell run python3
Python 3.6.8 (default, Aug 7 2019, 17:28:10)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import cli
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'cli'
>>>
Wow, you are doing well...............!
Do you mean that you enjoyed the video?
Yes
These are so great tutorials for me
@@ahmadfawadfarahmand1107 Really happy to hear that!
Sir Love you so much.
Thank u sir.
Great appreciate it.
First :) keep it up david
Thank you Charlie!
I made it 1k likes... Yay me! BTW thanks for the vid!!
Best video
Thank you!
Keep the videos as they are, they're awesome. Thank you for all the information you're sharing with us!
Thank you!
Go deep!
Thank you for the feedback Jay!