Udemy

NOS Linux shells - Cisco, Arista, Cumulus Linux

A free video tutorial from David Bombal
CCIE #11023, over 20 years of network training experience
Rating: 4.7 out of 5Instructor rating
49 courses
1,302,646 students
NOS Linux shells - Cisco, Arista, Cumulus Linux

Learn more from the full course

Linux for Network Engineers: Practical Linux with GNS3

Linux for Networking Engineers (CCNA, CCNP, CCIE etc). Practical Linux with GNS3 = network programmability & automation

13:09:12 of on-demand video • Updated January 2023

Learn foundational Linux skills
Learn how to practically use Linux in your networks
Build Linux networks using GNS3
English [Auto]
You as a network engineer need to learn a Linux. Now, you may ask why. So let's look at some reasons. The first reason is that a lot of modern network operating systems are based on Linux. Some use a custom command line interface or CLI, which means that they don't look like Linux, but they in actual fact run on Linux. And some network operating systems allow you to drop down into a Linux shell. Some are just pure Linux. Here are three examples. We have a nexus 9000 V, so show version. Notice this is a Nexus operating system switch 9000. He has an rooster switch and he has a cumulus switch. These three switches are running in three. So through the CLI of the Nexus 9000, we see our typical Cisco commands such as configure terminal. But we can also use this command run and run a bash shell. Notice this is Linux, so question mark doesn't work like it works in the Cisco CLI. But Linux commands do work here, such as working out which directory we in. So which working directory are we in? Who am I. Which files are available here? Some commands are not supported, but notice commands such as ifconfig are supported so ifconfig more. There are interfaces per typical Linux commands. Here's VI clear. Now if I type exit, I'm back in my Cisco shell. So again, we can run commands such as show and show various commands so we can run various show commands as we would normally. But notice if we type run bash again, we are in a Linux shell. Exit takes me back to the Cisco Shell run bash, Linux shell type python here. And we are now running a Python interpreter. Back on Linux, back on the Cisco CLI. Same is true in a rooster. In a rooster. This is an Arista CLI. So command such as show IP interface, brief work or show run. There's the running config of the Arista switch. Very similar to what we would do on Cisco show run to see the running config of a Cisco device. But on Arista we simply type bash and notice we are now in the Linux shell less PWD. Who am I. Look at processes. Make a directory. Let's run python. So very similar to the Cisco environment. Exit takes me back to the Arista Shell. Bash takes me directly to the Linux Shell VI. There's VI clear ifconfig and so forth. So here are two switches from two vendors that allow us to run Linux commands directly on the switch. Now, Cumulus Linux gives us direct access to the Linux shell. Cumulus also have their own CLI type interface, but by default you're straight into Linux. So PWD VI clear ifconfig processes. ET cetera. ET cetera. So the first reason to learn Linux is a lot of network operating systems run Linux or are based on Linux. You may or may not have access to the Linux shell. That depends on the vendor and the operating system. So I hope that's answered the question for a lot of you and I hope you enjoyed this video. If you did, please like it and please subscribe to my YouTube channel. I want to wish you all the very best.