Cisco CLI for Beginners | Network Fundamentals Part 10
Vložit
- čas přidán 14. 06. 2024
- Cisco CLI for Beginners | Network Fundamentals Part 10
You’ve been following on for a while, and now it’s time to get your keys dirty by starting Cisco router or switch configuration!
Routers and switches come in different sizes and shapes depending on how they’re used. You might have a devices suited to SOHO, enterprise, or service provider spaces. The thing that’s usually common to all these, is that you can configure them using the CLI (Command Line Interface)
In this video we’ll start by looking at a router physically. You’ll see the console ports (both USB and serial), the data ports, the AUX port, module slots, and single/dual power supplies.
Next, we’ll see how to use a terminal emulator called Putty to connect to the router using a USB Serial Adapter. From here you’ll see user exec mode, global exec mode (AKA privileged exec mode) and configuration mode.
While we’re here, we’ll configure an interface with an IP address, and configure remote access to the router (using SSH).
Finally, we’ll talk about lab options, including physical equipment, GNS3, packet tracer, VIRL and EVEng.
Lab options:
www.netacad.com/courses/packe...
www.gns3.com/
learningnetworkstore.cisco.co...
www.eve-ng.net/
The CCENT/CCNA study guide (affiliate): click.linksynergy.com/link?id...
In the next video, we’re starting to get deeper, by starting switching!
Overview of this video:
0:00 Introduction
0:52 Physical Overview
5:05 Connecting to the router
8:19 Getting used to the CLI
12:50 Configuring an Interface
17:15 Remote Access
25:11 Running Config and Filesystem
28:08 Lab Options
LET'S CONNECT
🌏 / networkdirection
🌏 / netwrkdirection
🌏 / networkdirection
🌏 www.networkdirection.net
#NetworkDirection - Věda a technologie
I have to say Thank you too for your great job here! I got my CompTIA Network+ watching some of your videos and now I am back for the Cisco CCT Routing and Switching. Thank you very much man!!🤝
I didn't finish college but I've been learning bits and pieces over the years and the past few weeks I have been obsessively studying every aspect of computers in no particular order, just filling in gaps and building a toolkit to start a career in It or software development. This is great information, well presented and concise. Thank you!
Glad to help you on this journey of learning 😀
First video I have watched that I didn't fall asleep after 5 minutes. Congratulations, excellent presentations stills and knowledge.
Such a great tutorial. I've been looking forward to learning the CLI on Cisco routers / switches. Bravo. Nicely done.
Thank you. This video and the rest of your series are well made, informative and so much easier to digest than the clickbaity, IT / coffee adverts that exist on here.
I am using it to get my CCST. I really appreciate too your content. Essencial knowledge, very clear, straight to the point, great! Thanks man!! 🤝👨🏾💻
Thanks you! I am very happy to hear that our videos have helped you on your network journey!
You are the best worldwide teacher for me! I did not expect such a detailed discussion, thanks a lot dude!
Glad to help!
Thanks for the informative video. I learn it for an hour.
Glad it was helpful!
I love where this series is heading! Exactly what I was looking for when I found this channel. I'm mostly familiar with networks from the server's side and this series has been great at helping me understand networks from a true networking perspective!
So glad you like it!
Great video man.. I want to be like you when I grow up
most wholesome shit ive seen in ages :c
Another great video in the series. started the series because I want to set up my own Pfsense router. So I set out to get a better grasp of how networking works and found your videos and couldn’t thank you enough. Maybe I’ll look into getting into networking after this series!
I have enjoyed the Lesson. Post more videos. I would like to study Cisco.
You've come to the right place! I'm working on a Cisco series here:
czcams.com/video/6tl1GlXjtUQ/video.html
I recommend finishing the 'fundamentals' series first though
Thanks so much i have a fruitful 32 minutes watching and listening to your video
You and your videos are top-notch. They're both comforting to watch and very informative. 😊
Thanks Leesa!
Im sooo glad that I found this channel! Your content quality is A1!!! Thank you, I'm learning a ton!
Glad it's helping you
things are getting practical and harder, but previous knowledges are well fundamentals. gratitude to you from China!
You're welcome! This is where the fun starts
Simple and effective, I appreciate the time that you take to explain each step. Thank you!
You're very welcome, glad it's helped!
Thank you very much Network Direction for your networking classes.
you're welcome!
Good video, some real good nuggets from the past and present. Great to see you use new technology images. I will be following from the basics onwards, appreciate it
Amazing content...and very creative way of teaching.. i am watching since 2 years and really appreciate your work..✨✨
Excellent video, and thanks a lot to start with absolute basic of how a router looks like, and is physical aspects like the different ports.
Glad to help get you started with routers
I would love to see do this type of class on setting up and managing a PFSense router/firewall. Overall this series is really helping me understand networking, thank you.
Thanks for the idea!
@@NetworkDirection no problem!
it was a great and intresting experienced gained
Pretty good info for someone just starting out. Good stuff.
Thanks Lindsey!
Great video. I watched and re-watched this one. Good hands on information.
Thanks, that's good to hear
Very good introduction thank you
Your The Man 👏👏👏
Thank you!
I appreciate your effort brother
Excellent thank you so much buddy. Very helpful tutorial
You're welcome!
Thankyou so much you’ve helped out and made everything so clear !!
I'm so glad!
Very good explanation and inside knowledge shared. Thank you for your time.
Glad it was helpful!
I've been told that Packet Tracer is free, and so is the NetAcad account!
Also been told that there is now a free edition of VIRL! I'm not sure what the limitations are at this time.
Lab options here:
www.netacad.com/courses/packet-tracer
www.gns3.com/
learningnetworkstore.cisco.com/virtual-internet-routing-lab-virl
www.eve-ng.net/
excellent video
I've seen the Auxiliary port in use by contract companies that manage the HVAC services in an enterprise sized building. It was a unique case, the building was newly constructed but not completely finished. We had a near-live connection (minus the vlan trunk specifics) running over to a data closet near their newly installed HVAC setup but they would bring their, modem, laptops and even a desktop for a short while when they were finalizing everything. They didn't do this without permission of course, but they had some reason or another for connecting via their modem that went into our switch so they could get remote (partially) then physical access to the HVAC terminal access.
Sometimes these oddities or parts we never expect to use find their purpose during times of turmoil, changes, or when the reason doesn't have any direct cause from us. haha.
At Least.. that's what i think was going on...
Amazing content thanks !
Thanks!
really good explanations
Thanks
Excellent. Just wondering if you have any plans to add a few follow up videos especially when it comes to Remote access. I mean something TACACS+ and RADIUS
Great tutorial. Thanks. 😀
You're welcome!
It's very helpful by away thank you give us more
Thanks
Wow, thank you very, very much!
You're very welcome!
Just got a sub for how damn awesome this video was.
Thanks!
Thanks teacher
Thank you I’m in love
awwww... shucks
well presented, Thanks a ton
The AUX port can be used in many ways - let's suppose i have a new device that i need to configure & i'm in a remote location....
I will configure my existing router with the AUX configuration { ip host aux-con 2001 (loop back IP) - reverse telnet } ... aux port of the router will be connected to the console port of the new device that we need to configure.... Also, for the above to function, we need to configure a small ACL under line aux 0 for it to work
Красота Cisco
This is the best tutorial on youtube
That's such a nice thing to say, thanks
veeeeeeeeeeeeeeery professional
Thank you!
thank you so much
Thanks man I learned a lot
You're welcome!
I've been watching your videos since a long time and I've learned a lot from this course as well. This comment is here because I need your help because I can't find Ports under my Device Manager in my laptop
Is your USB/Serial adapter plugged in? If not, you won't see the 'ports' section.
You will also need a driver.
@@NetworkDirection Got it, thanks. I don't have any right now but will surely get one from the University lab while practicing.
sick!
Excellent
Thanks!
Hey, thanks a lot for the tutorial! Btw, which cisco router should I get as a complete beginner? Any advice?
I like the 2921- it was iconic back in the day, has many features, and can be found on eBay for like $20 if you look hard enough
Best CZcams Tutorial Ever!!!!
Brand new business-class Dell desktops (Precision, Optiplex) still have a RS232, 9-pin COM/serial port...even now in 2019. But yes, this port is super old and who knows when they will stop putting them on new machines. Personally, I hate needing drivers/adapters - just more headache and complication that _can_ be avoided...sometimes.
I had no idea that they still sold PC's with serial ports...
Come to think of it, some servers still have them. But we wouldn't generally use servers to configure devices.
In some remote sites, I've connected a USB to serial breakout box to a server, and left that connected to switches/routers, so I can always get to them if there's an outage.
nice
How do I know what Cisco Routers come wih GUI or CLI??
For a sec when I heard the theme sound I thought I was watching SOUTH MAIN AUTO hahaha
The theme may be based on that. It's just from CZcams's sound library
If I want to be a backend programmer, do I need to know all this or is the theory we learned so far enough?
Excellent video! One question though. What if I forgot the password? How can I fix this issue, so I can have access to the router's privilege mode?
That's a tricky one. In short, for a Cisco router you have to be connected to the console port, and reboot the router. While it's booting, you need to enter ROMMON mode (this is like pressing F8 to get into Safe Mode in Windows). From here, you can change the password.
Thank you so much for your amazing tutorials. I have been following along and learning so much. I ran into my first issue however, which is upon downloading PuTTy, entering my serial line (COM1 as it was listed in Device Manager), and clicking open, it simply brings me to a black screen. Pressing enter any number of times does not advance the command prompt like it does on yours, and I'm not sure why. Do you have any suggestions?
Could it be because I
A) Dont have a cisco router at my house?
B) I am not using a specific cable that I should be using?
Are you using a usb/serial adapter? Have you definitely got it connected to the console port on the router?
Check if there are other COM devices in device manager. Sometimes there is more than one, and you need to select the right one.
Also, in Putty, make sure you have 'serial' selected
@@NetworkDirection Thank you for the incredibly quick reply. I am on my computer, which is connected via ethernet to the patch panel which is then connected to the switch which is connected to the router (I believe, I am not 100% sure if I got that right). I dont believe I am using a serial adapter at all (or if I am, I am not aware of it. There is no serial port going into my computer).
That might be the issue, but I will give all the details I can. I do not see any other COM devices in the device manager, and I made sure that 'serial' was selected in PuTTy.
Edit: Upon looking closer at my router, it doesnt even appear to have a port labled as console (unless the thing I am looking at is a modem and not the router). This is in my family's home so the router is much much smaller than the example one shown in the video. These are some photos I took of it.
imgur.com/a/fjWYMZC
I actually am quite positive this is a Modem, but I am not sure because I don't see the modem connected to anything else, since a modem should usually be connected to a router, correct?
@@AdamoFC That will be the issue then. For the serial port to work, you need to use a console cable. When you connect through your switch, you're connecting over the network. They're different things.
Generally, you will use a console cable to connect to the router to complete basic configuration, and then connect over the network using SSH (where you connect to the IP address of the router).
So, you will need to get a USB to serial adapter, which you connect to your computer, or you can get a USB cable that connects directly to the router. Both of these options are listed in the video
@@NetworkDirection Thank you very much for helping me find where the issue was. I really appreciate it. Does this mean that, since my router has already had it's basic configuration done, I should be able to connect to the CLI through SSH in PuTTy? Or am I still missing the hardware required to do so?
@@AdamoFC If the router has been configured with an IP, and if SSH has been enabled, then yes, you should be able to connect to it over the network.
It really depends on what configuration it already has.
Basically new to this. My question will sound studpid to many here but anyways; I noticed 3 ip adresses at 17:51 could you explain that in the comment for me . Do we have 3 different devices
Hello there. I want to use the Cisco 887vag model as an adsl modem. How should I configure it? Should the console cable be used? Which terminal should I use?
To connect to the router and configure it, you can use the console cable and use software like Putty.
Cisco's default settings can be found here:
www.cisco.com/c/en/us/support/docs/dial-access/asynchronous-connections/9321-terminal-settings.html
why are there 5 virtual terminals? Can you connect more than 1 at a time?
can I use putty CLI to configure my modem ? it has only wifi, rj45, rj11 inputs.
What model is it?
Where is the link for the IP address and Subnet mask information?
sorry, which information in particular were you looking for?
Thanks for the video. I have a question however that i hope you or anyone of your subscribers can assist me with. Take the following cisco cli commands as an eg to aide my query:
config t
hostname R1
interface g0/0
description UPLINK
no shut
exit
How do i get the router\switch to pause and wait for me to enter the hostname and interface description after i paste these six lines into it? Do you or anyone out there know how to?
my notebook doesn't have serial port thing( COM{number}) , does this mean that i cannot use that putty cli interface thing?
Serial ports are pretty rare so that is not surprising. As I mentioned in the video, your 2 options are a USB cable or a USB to serial adapter. Personally I use the USB to serial adapter but its really a personally choice. 😀
When it changed to ssh in putty, how do the computer connect to the router? Over the interface? Or what?
for SSH it uses the router's IP address to connect
This may be the IP of the management interface, or another IP
It does not use the console port
@@NetworkDirection very big thanks for u sir
Why console
Why not GUI
BTW Im impressed by the way you explain things Im glad to learn from you
That is a great question!
Many Cisco routers and switches don't have the GUI enabled, and a lot of people leave it turned off.
Lower end devices (for small offices) have a GUI, but in general enterprise-grade routers and switches are CLI.
Firewalls are a different story. They're often GUI and CLI, as GUI is far better for putting rules in order, and things like that.
@@NetworkDirectionthanks for your reply I read it with your voice lol
A good work but the narrations cover the commands you entering so cant see the commands
PLEASE DOES ONE HAVE TO BUY ROUTER BEFORE HE CAN BE ABLE TO RUN A CONFIGURATION COMMANDS LINE INTERFACE ON HIS PERSONAL COMPUTER
You can use an emulator like Packet Tracer, GNS3, EveNG, or CML
apparently show interface description doesn't work in packet tracer, it seems not all commands are added to the tool
That's true. Packet Tracer does not have all features.
You need to use GNS3, VIRL/CML, or EVEng to get access to 98% of features
Is it possible, like it is on Linux to run multiple commands at once? On Linux using following line would update and upgrade the packet manager and then install python3-pip:
apt update && apt upgrade && apt install python3-pip
Not quite in the same way. If you want to run multiple commands, you can write them in a text editor, then paste them into the CLI
8:20 it's pointy closing bracket
How to identify its leaf switch or spine switch
A leaf switch has VTEPs, while typically a spine wouldn't
Hi. Can you help me solve my router setting? Every i type #interface gigabit 0/0 or #interface gigabit 0/1 in order to setup ip address. It is always show %invalid input detected at '^' marker.
enter 'conf t' first
What is loopback interface? What is it function?
The loopback interface is a virtual interface on a router or switch. It doesn't relate to a physical interface at all.
We can add IPs to them, and use them for things like router management. They can also play a part in dynamic routing
very nice but how to do with packet tracer..
You would need to build the lab in packet tracer, then import the configs
How to get thé cd
6:55 - So, we actually used Fallout computers?
hahaha, yeah, that's real
How can i download all cisco commands
Cisco have command documentation if that's what you mean?
13:39
18:31
That symbol "router>" is simply caused a prompt. Because it's prompting the user for input. And if the prompt is not there then it's probably not accepting user input. Not sure there is really a specific name for the ">" because that can be customize in most OSs to be whatever you want based on whatever conditions you want. (Like a different symbol for root vs normal user access)
Thanks Ryan, yeah it was the name of the ">" character that was confusing me. Apparently it's just "greater than sign"
Me too; I’ve thought of it as ‘greater than’ since school
could you please remove the subtle
Paying for a terminal emulator?!?
I have 18 years experience in Cisco routers and switches anyone Wana learn just reply below
That's nice of you!
Hello brother
Hard accent. Some English words are distorted. Man, talk normal English.
thank you so much
Glad to help!