Python and Linux on Cisco IOS?

Поділитися
Вставка
  • Опубліковано 24 гру 2024

КОМЕНТАРІ • 207

  • @davidbombal
    @davidbombal  5 років тому +13

    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

    • @matthieumbayo7452
      @matthieumbayo7452 5 років тому

      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.

    • @davidbombal
      @davidbombal  5 років тому

      @@matthieumbayo7452 This video shows you how: ua-cam.com/video/51zaAHhdgzQ/v-deo.html

    • @malkta1
      @malkta1 5 років тому

      Congrats !! Brilliant !! Keep up the good work !! :-) you should try EVE network simulator ;-)

    • @davidbombal
      @davidbombal  5 років тому

      @@malkta1 EVE-NG videos coming soon :)

  • @stampeder1686
    @stampeder1686 5 років тому +13

    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

    • @davidbombal
      @davidbombal  5 років тому +1

      Thank you Glenn. Appreciate the support and encouragement.

  • @jonathanmblair
    @jonathanmblair 5 років тому

    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.

    • @davidbombal
      @davidbombal  5 років тому +2

      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.

  • @GoonCity777
    @GoonCity777 5 років тому +1

    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!

    • @davidbombal
      @davidbombal  5 років тому +1

      Glad you remember that! Thanks for the feedback about the video length!

  • @jesusespinoza-online
    @jesusespinoza-online 4 роки тому

    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!!!

  • @linux_with_anakin
    @linux_with_anakin Рік тому

    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!!

  • @shiloh4184
    @shiloh4184 2 роки тому

    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.

  • @kharos16
    @kharos16 5 років тому

    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!

    • @davidbombal
      @davidbombal  5 років тому

      Thank you for the great feedback Oscar! Much appreciated.

  • @yurisalarich175
    @yurisalarich175 3 роки тому

    Definitely one of my favorites videos from you David ! It really opens up a new World of possibilities

  • @SuperPrabhdeepsingh
    @SuperPrabhdeepsingh 5 років тому

    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.

    • @davidbombal
      @davidbombal  5 років тому

      Thank you for the feedback and suggestions Prabhdeep.

  • @johnsono3
    @johnsono3 5 років тому +1

    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.

    • @davidbombal
      @davidbombal  5 років тому +1

      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

    • @johnsono3
      @johnsono3 5 років тому

      @@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.

  • @genc_emekli
    @genc_emekli 4 роки тому

    Your videos are all full of very useful content. I do not mind any length. Many thanks.

  • @jesussaeta8383
    @jesussaeta8383 4 роки тому

    David absolutely I love your work, you have separated yourself from the rest. Thank you for helping me on my Cisco certification journey.....

  • @danielacosta2836
    @danielacosta2836 5 років тому +2

    Great vid, the 30 min vids are perfect, you are an amazing teacher. Thank you for all you do, we appreciate it.

    • @davidbombal
      @davidbombal  5 років тому

      Thank you Daniel. Appreciate the feedback!

  • @panchaleon9679
    @panchaleon9679 5 років тому +1

    estoy aprendiendo python y desde hace tiempo que vengo estudiando redes cisco me enganchaste con eso subscrito y campanita saludos desde Vzla profe!

  • @jeffreyglennon1530
    @jeffreyglennon1530 5 років тому +1

    Thanks again for another great video. When they are under 30 minutes I can watch during my lunch break!

    • @davidbombal
      @davidbombal  5 років тому

      Thank you for the feedback Jeffrey!

    • @carlhewitt5958
      @carlhewitt5958 4 роки тому

      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.

  • @marvinreyes4984
    @marvinreyes4984 4 роки тому +1

    David... I just want to be just like you mate!

  • @andrewpoloni4197
    @andrewpoloni4197 5 років тому +2

    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)?

    • @davidbombal
      @davidbombal  5 років тому +3

      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.

    • @andrewpoloni4197
      @andrewpoloni4197 5 років тому

      @@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.

  • @Cleonexx
    @Cleonexx 5 років тому

    David, this type of videos are just great! Please keep creating content like this!!!

  • @jairusan
    @jairusan 5 років тому

    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.

    • @davidbombal
      @davidbombal  5 років тому +1

      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.

    • @jairusan
      @jairusan 5 років тому

      @@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.

    • @davidbombal
      @davidbombal  5 років тому +1

      @@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.

    • @jairusan
      @jairusan 5 років тому

      @@davidbombal That will be an interesting one. (^^)/

  • @tennysondesouza9756
    @tennysondesouza9756 4 роки тому

    No matter it's 30-50 min video, Love to learn in dept from you Sir David, would like to see the post's

  • @zacharyball7167
    @zacharyball7167 5 років тому

    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.

    • @davidbombal
      @davidbombal  5 років тому

      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 :)

  • @malone24
    @malone24 5 років тому

    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
      @davidbombal  5 років тому

      Glad the video helped you Anthony! Unfortunately a lot of devices don't support this feature :(

  • @ronetteprinsloo5048
    @ronetteprinsloo5048 5 років тому

    I like the way you teach, very calm and easy to keep up with.

    • @davidbombal
      @davidbombal  5 років тому +1

      Thank you Ronette. lol... you don't want me shouting and getting excited? Not my style :)

    • @ronetteprinsloo5048
      @ronetteprinsloo5048 5 років тому

      Oh no pls not 😂 hard to focus then

  • @derekhalverson2562
    @derekhalverson2562 5 років тому

    Also the management ip is an svi but this happens on management port too

  • @sccs9941
    @sccs9941 5 років тому

    excellent pronunciation. Differs from most English speakers. Clear

  • @amarchanddharewa8676
    @amarchanddharewa8676 5 років тому +2

    Where we can download Cisco IOS XE for GNS3

  • @OmarAbdirahmaan
    @OmarAbdirahmaan 5 років тому +1

    Thnx Devid your youtube toturial is my guid to become Network Engneer .

    • @davidbombal
      @davidbombal  5 років тому +2

      Thank you Omar. It means a lot to me if my content helps you and others :)

    • @OmarAbdirahmaan
      @OmarAbdirahmaan 5 років тому

      @@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

  • @prashantrajbhandari6412
    @prashantrajbhandari6412 5 років тому

    you are doing a great job David. And please more in depth videos.

    • @davidbombal
      @davidbombal  5 років тому

      Thank you. Which topics are you interested in Prashant?

    • @prashantrajbhandari6412
      @prashantrajbhandari6412 5 років тому +1

      @@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.

    • @davidbombal
      @davidbombal  5 років тому

      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?

    • @prashantrajbhandari6412
      @prashantrajbhandari6412 5 років тому

      @@davidbombal I do not much about SDN specific topics. But how about SDWAN? I am hearing that SDWAN can replace the DMVPN, MPLS.

  • @mandito1179
    @mandito1179 4 роки тому

    using a 4k router but the guestshell enable command doesn't have the option for "VirtualPortGroup 0 guest-ip"

  • @testingme7936
    @testingme7936 2 роки тому

    i want to see a video about how to update and secure cisco with python and linux .great video

  • @ozzman530
    @ozzman530 4 роки тому

    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.

  • @usiqvm
    @usiqvm 5 років тому

    Thank You David! Keep it coming please these are great videos as usual!

  • @naingaung7827
    @naingaung7827 5 років тому +2

    Mr.David. I enjoy the long video. 30 minutes is ok for me.

    • @davidbombal
      @davidbombal  5 років тому +1

      Thank you Naing! Appreciate the support and encouragement.

  • @vadimpolovnikov5383
    @vadimpolovnikov5383 5 років тому

    Thank you so much, David! This video helped to understand how to use Linux and Python with Cisco devices!!

    • @davidbombal
      @davidbombal  5 років тому

      My pleasure Vadim! Glad you found the video useful :)

  • @techymoh
    @techymoh 5 років тому +1

    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♥️🔥

    • @davidbombal
      @davidbombal  5 років тому

      Fantastic Mohit! Really appreciate the feedback :)

  • @AhmadReshadZazai
    @AhmadReshadZazai 5 років тому

    Hello David,
    Can you please make a video explaining the various Cisco operating systems, their types, and usages.
    Thank you

    • @davidbombal
      @davidbombal  5 років тому

      Do you mean the differences between IOS, IOS-XE, NX-OS etc?

  • @ThePumbaadk
    @ThePumbaadk 5 років тому

    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 :)

    • @davidbombal
      @davidbombal  5 років тому

      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.

    • @GoonCity777
      @GoonCity777 5 років тому

      @@davidbombal i love NETCONF and its encouraging that emerging tech is regarded very well in the world

  • @cherrieb8850
    @cherrieb8850 5 років тому

    Excellent work Mr David

  • @Smarkalbert
    @Smarkalbert 5 років тому

    Thank you again for another video which is very informative. All the best Mr. Davib B.

  • @ÐÞæ
    @ÐÞæ 3 роки тому

    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 :-)

  • @tarunjha4421
    @tarunjha4421 5 років тому

    superb video mr. david, next level of automation, and cisco platform is very very flexible...

  • @mathqesystem
    @mathqesystem 5 років тому

    Great video! Thanks, David! Can you please show (on the screen) the ctrl commands used in the Linux container (saving, exiting, etc)? Thank you!

    • @davidbombal
      @davidbombal  5 років тому

      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?

    • @mathqesystem
      @mathqesystem 5 років тому

      @@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?

    • @davidbombal
      @davidbombal  5 років тому +1

      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

  • @heribertorios
    @heribertorios 5 років тому +1

    The question is why run Linux in a router? Is really the automation usefull or is a new paradigm for sale new scrap

    • @davidbombal
      @davidbombal  5 років тому +2

      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

    • @heribertorios
      @heribertorios 5 років тому

      @@davidbombal Thanks for your answer and the video. Indeed I subscribed to a python course recently.

  • @kenstoudamire7366
    @kenstoudamire7366 Рік тому

    David you breakdown CCIE level stuff for entry level engineerz

  • @garryholmberg6502
    @garryholmberg6502 5 років тому +1

    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!

  • @hrithekshaw5360
    @hrithekshaw5360 5 років тому

    Thank you sir, please make more in-depth videos on each topic if possible.
    You are contributing a lot in our life, thanks again.

    • @davidbombal
      @davidbombal  5 років тому

      Thank you. Are you suggesting even longer or more deep dive videos?

    • @hrithekshaw5360
      @hrithekshaw5360 5 років тому +1

      @@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.

    • @davidbombal
      @davidbombal  5 років тому

      @@hrithekshaw5360 thank you

  • @carlhewitt5958
    @carlhewitt5958 4 роки тому +1

    This is amazing. Personally, I like the more in-depth videos.

  • @derekhalverson2562
    @derekhalverson2562 5 років тому

    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

  • @debkumarcse
    @debkumarcse 2 роки тому

    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

  • @tcpnetworks
    @tcpnetworks 4 роки тому

    Extremely illuminating :)

  • @DevPreeth
    @DevPreeth 5 років тому +9

    Sir u r just amazing💗

    • @davidbombal
      @davidbombal  5 років тому +1

      Thank you for the kind words Preethan!

  • @rukundoagira6364
    @rukundoagira6364 5 років тому

    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

    • @davidbombal
      @davidbombal  5 років тому

      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?

    • @rukundoagira6364
      @rukundoagira6364 5 років тому

      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

    • @davidbombal
      @davidbombal  5 років тому

      @@rukundoagira6364 I have added this to the list of videos :)

  • @rishabhchangela8495
    @rishabhchangela8495 4 роки тому +1

    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...👍

    • @davidbombal
      @davidbombal  4 роки тому +1

      Thank you for the great feedback Rishabh! Glad that the video helped you!

  • @andrewpoloni4197
    @andrewpoloni4197 5 років тому

    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!

    • @davidbombal
      @davidbombal  5 років тому

      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?

    • @andrewpoloni4197
      @andrewpoloni4197 5 років тому

      @@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. :)

    • @davidbombal
      @davidbombal  5 років тому

      @@andrewpoloni4197 lol... she does like toys! Appreciate the support.

  • @godarayudhvir
    @godarayudhvir 5 років тому

    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

    • @davidbombal
      @davidbombal  5 років тому

      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!

    • @godarayudhvir
      @godarayudhvir 5 років тому

      @@davidbombal well I just checked out ur Udemy page and I found a lot of helpful content.. thank you ☺️

  • @loubroussard8135
    @loubroussard8135 4 роки тому

    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

  • @ianspice4698
    @ianspice4698 5 років тому

    Detail is great. don't change a thing.

  • @hypnotiq54
    @hypnotiq54 4 роки тому

    David: Can you do more videos like these?

  • @matthieumbayo7452
    @matthieumbayo7452 5 років тому

    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 ?

    • @davidbombal
      @davidbombal  5 років тому

      Watch this video which shows you how to change the symbols: ua-cam.com/video/51zaAHhdgzQ/v-deo.html

    • @matthieumbayo7452
      @matthieumbayo7452 5 років тому

      @@davidbombal thank Sir!, I really appreciate.

  • @love2humanity1
    @love2humanity1 5 років тому

    And you can install Ansible on the router and then automate configuration to other routers on the cloud using ansible vpn module.

    • @davidbombal
      @davidbombal  5 років тому

      Agreed. Here I installed Ansible on the guestshell:
      [guestshell@guestshell ~]$ sudo yum install ansible
      [guestshell@guestshell ~]$ ansible --version
      ansible 2.4.2.0

  • @preciousfiadey
    @preciousfiadey 5 років тому

    Another productive career growth video

    • @davidbombal
      @davidbombal  5 років тому +1

      Thank you Previous! Appreciate you watching :)

  • @Jason2000X
    @Jason2000X 5 років тому

    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,

  • @stampeder1686
    @stampeder1686 5 років тому

    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.

    • @davidbombal
      @davidbombal  5 років тому

      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.

    • @stampeder1686
      @stampeder1686 5 років тому

      @@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.

  • @IQ88612
    @IQ88612 5 років тому

    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
      @davidbombal  5 років тому +1

      Thank you for the suggestion Alisalman!

    • @IQ88612
      @IQ88612 5 років тому

      @@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

    • @davidbombal
      @davidbombal  5 років тому +1

      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.

  • @IQ88612
    @IQ88612 5 років тому

    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

    • @davidbombal
      @davidbombal  5 років тому +1

      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.

    • @IQ88612
      @IQ88612 5 років тому

      @@davidbombal thank you so much, so i may use gns3 2.2?

    • @davidbombal
      @davidbombal  5 років тому

      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

  • @deepakdpk411
    @deepakdpk411 5 років тому

    Thanks David . Your videos are very helpful.God bless.

  • @joelogbechie2049
    @joelogbechie2049 5 років тому +1

    That's was outstanding

  • @ale19678
    @ale19678 5 років тому

    David, thanks for all these useful stuffs. Could you make a Genie and Pyats videos ?
    Ale

  • @praveensreedhar7210
    @praveensreedhar7210 5 років тому

    David, Super. Thanks for the video

  • @usmanbayo6417
    @usmanbayo6417 5 років тому

    Thanks David. This is Excellent.

  • @kkings0
    @kkings0 5 років тому

    Could you please let me know how deep I have to learn python as network engineer? Is OOP mandatory to learn?

  • @ulfbye992
    @ulfbye992 5 років тому

    Perfect videos to Get started, dont change a thing GREAT

    • @davidbombal
      @davidbombal  5 років тому

      Thank you. Appreciate the feedback :)

  • @sohanhegde7666
    @sohanhegde7666 5 років тому

    Can it replace EEM

    • @davidbombal
      @davidbombal  5 років тому +1

      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

  • @Nimitz_oceo
    @Nimitz_oceo 5 років тому

    Yes I enjoy the long videos. You have more time to explain things

  • @josemanuelizquierdohernand7551
    @josemanuelizquierdohernand7551 5 років тому

    Awesome David!!!

  • @politron73
    @politron73 5 років тому

    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 #

    • @davidbombal
      @davidbombal  5 років тому

      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?

    • @politron73
      @politron73 5 років тому

      @@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!

    • @davidbombal
      @davidbombal  5 років тому +1

      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.

  • @vishalkanojia1983
    @vishalkanojia1983 4 роки тому

    superbly taught

  • @christo2690
    @christo2690 5 років тому

    Lekker david, intetesing stuff

  • @vijayvijaykumar6937
    @vijayvijaykumar6937 5 років тому +2

    Yeah david i love the video's 😍 make indepth video so that we can learn new stuffs...tanks for the awesome videos

    • @davidbombal
      @davidbombal  5 років тому

      Thank you Vijay! Appreciate it!

  • @ahmedbadal3795
    @ahmedbadal3795 5 років тому

    fact: network engineers are more hardworkers than other IT field agree/////
    yes we need short video david .......

    • @davidbombal
      @davidbombal  5 років тому

      Thank you for the feedback Holla Holla

  • @johndoe-pm7up
    @johndoe-pm7up 4 роки тому

    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?

  • @patrickilunga1535
    @patrickilunga1535 5 років тому

    I appreciate your video automation it is so good

    • @davidbombal
      @davidbombal  5 років тому

      Thank you Patrick! Appreciate the positive vibes!

  • @mohamedhussein2240
    @mohamedhussein2240 5 років тому

    yeah very amazing content. Thanks David

    • @davidbombal
      @davidbombal  5 років тому +1

      Thank you Mohamed! Appreciate the support :)

  • @ale19678
    @ale19678 5 років тому

    David, another useful tool is batfish. Have you ever listen about ?

    • @davidbombal
      @davidbombal  5 років тому

      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?

    • @ale19678
      @ale19678 5 років тому

      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.

  • @ronetteprinsloo5048
    @ronetteprinsloo5048 5 років тому

    Thanks David :)

    • @davidbombal
      @davidbombal  5 років тому +1

      Thank you for watching Ronette!

  • @orleydoss3171
    @orleydoss3171 5 років тому

    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!

    • @davidbombal
      @davidbombal  5 років тому +1

      Thank you Orley! Appreciate the support and motivation you give me : ) Thank you for the feedback about the video length.

  • @jaredrosa4659
    @jaredrosa4659 5 років тому

    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.

    • @davidbombal
      @davidbombal  5 років тому

      Have you read this document? bit.ly/2pMKNsL

  • @优斯夫挨逗
    @优斯夫挨逗 5 років тому

    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'
    >>>

  • @ahmadfawadfarahmand1107
    @ahmadfawadfarahmand1107 5 років тому

    Wow, you are doing well...............!

    • @davidbombal
      @davidbombal  5 років тому +1

      Do you mean that you enjoyed the video?

    • @ahmadfawadfarahmand1107
      @ahmadfawadfarahmand1107 5 років тому

      Yes
      These are so great tutorials for me

    • @davidbombal
      @davidbombal  5 років тому +1

      @@ahmadfawadfarahmand1107 Really happy to hear that!

  • @vikastiwari2910
    @vikastiwari2910 5 років тому

    Sir Love you so much.

  • @manjunathparemajilu9739
    @manjunathparemajilu9739 5 років тому

    Thank u sir.

  • @hussainwasif6784
    @hussainwasif6784 4 роки тому

    Great appreciate it.

  • @Th3Kirkland3r
    @Th3Kirkland3r 5 років тому +1

    First :) keep it up david

  • @michaelpascual2502
    @michaelpascual2502 4 роки тому

    I made it 1k likes... Yay me! BTW thanks for the vid!!

  • @techworld3043
    @techworld3043 5 років тому

    Best video

  • @NovakGoran
    @NovakGoran 5 років тому

    Keep the videos as they are, they're awesome. Thank you for all the information you're sharing with us!

  • @jayjay-yj4vx
    @jayjay-yj4vx 5 років тому

    Go deep!

    • @davidbombal
      @davidbombal  5 років тому

      Thank you for the feedback Jay!

  • @notistsimas1837
    @notistsimas1837 Рік тому