Тёмный

1 Router to Rule them All - Use a router as a terminal server! 

Keith Barker - The OG of IT
Подписаться 182 тыс.
Просмотров 11 тыс.
50% 1

Опубликовано:

 

25 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 59   
@willgmez
@willgmez 4 года назад
Keith is so awesome. This beats spending thousands of $ on a full blown terminal server (especially during a post covid-19 world). Thanks for always looking out!
@KeithBarker
@KeithBarker 4 года назад
Thank you Will G!
@embeddedautomation2464
@embeddedautomation2464 3 года назад
Keith, thank you so much for this content! I was inspired to setup my own terminal server using a 2911. Finding the line numbers was a bit tricky since I installed the hwic16 into subslot 2, but I will outline the steps below in case it is helpful to others. The async ports are numbered according to slot/subslot/port so with my hwic16 installed in subslot 2, my 16 async ports are numbered 0/2/0 to 0/2/15. The line numbers can be found by sending the command "show line" (see below). r4#show line Tty Line Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overruns Int 0 0 CTY - - - - - 0 1 0/0 - 1 1 AUX 9600/9600 - - - - - 0 0 0/0 - 2 2 TTY 9600/9600 - - - - - 0 0 0/0 - 0/2/0 35 TTY 9600/9600 - - - - - 0 0 0/0 - 0/2/1 36 TTY 9600/9600 - - - - - 0 0 0/0 - NOTE: the line number for port 0/2/0 is 35. To determine the Telnet port number, you add 2000 to the line number, which provides the following values for my setup on the 2911. 0/2/0 - port 2035 0/2/1 - port 2036 0/2/2 - port 2037 0/2/3 - port 2038 0/2/4 - port 2039 0/2/5 - port 2040 0/2/6 - port 2041 0/2/7 - port 2042
@SpinningSpiral362
@SpinningSpiral362 4 года назад
Thanks Keith. I have had this set up for a while. I used to use a spare computer to RDP to that was connected to my router (acting as a terminal server) but your raspberry pi video was a game changer for me. Low power with a massive reduction on noise and space. Your passion for teaching is amazing. Thank you so much.
@KeithBarker
@KeithBarker 4 года назад
Happy to do it, thanks for the feedback!
@NetworkBruh
@NetworkBruh 4 года назад
God Bless you Keith. I have a Cisco 2821 Router with the NM-32A Card but wasn't able to get it fully configured. Im gonna revisit it with this config you provided Keith!!
@KeithBarker
@KeithBarker 4 года назад
All the best NetworkBruh!
@natetaft4275
@natetaft4275 4 года назад
You are freaking awesome! I wish you had this earlier, it is what is it is. Thank you for these online labs, information, etc. Please continue what you are doing it is very appreciated and important. 🤜
@KeithBarker
@KeithBarker 4 года назад
Wow, thank you!
@jairusan
@jairusan 4 года назад
Hello Keith, excellent that you are sharing this type of technology that is currently used in CLOUD point of presence sites, data centers, etc... I am definitely looking forward to more content like this, related to the day to day data center operations. I understand that the main purpose of the channel is CCNA but believe me, knowing the fundamentals of IP addressing (V4 & V6), ansible/python, and, data center topologies/operations makes a CCNA certified engineer a bit more valuable. Thank you for the great tip.
@KeithBarker
@KeithBarker 4 года назад
Happy to do it, thanks for the feedback Jair Bolivar.
@SirxMMPD
@SirxMMPD 4 года назад
Thank you for the video that was helpful! I had been doing this for a a while, but I didn't know I could connect on the computer directly through the router to another router. I had been doing it via router 1 to each device. That is very useful!
@KeithBarker
@KeithBarker 4 года назад
You're very welcome!
@demetriorosario8134
@demetriorosario8134 4 года назад
Thank you Keith , you are a God send teacher to all of us newbies.
@KeithBarker
@KeithBarker 4 года назад
Thank you Demetrio!
@lexboegen
@lexboegen 4 года назад
This is the technique that I use in my home lab. I currently have eleven routers and switches, and just recently bought a 2621 router with two async cards installed. I have up to 32 ports to use, so I have plenty of spares and room to grow. In my lab I've assigned permanent names to the devices (R1, R2, SW1, SW2, etc) so I named my hosts with those names instead of dev1, like you did. I didn't know about saving Putty sessions using the async port numbers. I've always remoted into the terminal server router and reverse telnet from there, using my host names in its config. I like your method better. It might seem silly to go the trouble and expense of a terminal server like we have, but the convenience makes it all worth it, even though I'm only a couple of feet away from my equipment. It was a real pain to constantly be switching the console cable around. One more tip for lab that I'll pass on...I have a basic config for each device set up with a bare-bones setup: hostname, logging synchronous on the vty and console ports, etc. I then put that in flash as "basic.config" and have an alias on each device that I call "reset" to "config replace flash:basic.config". This gets rid of whatever config I have and puts it back for a fresh start on another lab. Faster than rebooting.
@_trust9994
@_trust9994 4 года назад
Great! Any reason to use loopback instead of a physical port for this setup?
@KeithBarker
@KeithBarker 4 года назад
Thank you Lex Boegen! Great tips. Much appreciated!
@jmhm17
@jmhm17 4 года назад
Thanks Keith! I had a 2811 i just let go too ugh... kicking myself now.
@matmcpaul9060
@matmcpaul9060 4 года назад
Great video. I set mine up on a 1841 a few months ago. Super convenient. I'll have to check out the video about using the Pi as a terminal server.
@blendonator
@blendonator 4 года назад
It wasn't until I grabbed a bunch of 1811's instead of 1841's a while back that I realized that the HWIC octo cards existed. My only regret! Might have to check out a 1921 or so at some point
@KeithBarker
@KeithBarker 4 года назад
Right on!
@matmcpaul9060
@matmcpaul9060 4 года назад
@@blendonator I have a 2611 that I was going to use but, it seems to draw a lot more power. I'm sure if I tracked down the data sheet I could confirm but, meh.
@matmcpaul9060
@matmcpaul9060 4 года назад
@@KeithBarker Thought I might include my config. line 0/1/0 0/1/7 exec-timeout 0 0 password cisco login no exec transport input telnet transport output telnet ip host 2960-sw1 2021 10.10.10.10 ip host 2960-sw2 2022 10.10.10.10 ip host r1 2023 10.10.10.10 ip host r3 2024 10.10.10.10 ip host r2 2019 10.10.10.10 I included the security for practice.
@MichaelLutzTech
@MichaelLutzTech 4 года назад
We use this for our Netlabs implementation at our Cisco Academy! When students schedule a lab, they'll have console access to 2 switches and 2 routers and 2 virtualized W10 computers. It's a pretty clever setup.
@KeithBarker
@KeithBarker 3 года назад
Thank you Michael, that sounds like a great lab setup.
@zgnrc02
@zgnrc02 4 года назад
This is my current terminal server setup: 2801 with hwic16: an upgrade from a 2509 with octal cable. You are right about port determination. the trick is using the correct one for IP host. mine started at 2018 - 2033 because the hwic card is on slot 2.
@KeithBarker
@KeithBarker 4 года назад
Thank you.
@chrisco9782
@chrisco9782 4 года назад
I recently used an NM-32A module attached to a 2620XM router for my automation project at university. The goal was to create a solution for connecting to as many lab devices (no set IP!) as possible to check the IOS version and upgrade if necessary. You can get these parts dirt cheap on eBay!
@KeithBarker
@KeithBarker 4 года назад
Thank you Chrisco!
@FaridPangos
@FaridPangos 4 года назад
Great Video Keith. By the way what is the name of the software you use as a blackboard. It's really cool.
@KeithBarker
@KeithBarker 4 года назад
Thank you Farid, I use Painter with an image of a chalkboard for the background.
@emagenstudios
@emagenstudios 4 года назад
I will need to try this out on my lab.
@KeithBarker
@KeithBarker 4 года назад
Have fun Jesse!
@Anna-yt4hy
@Anna-yt4hy 11 месяцев назад
Keith, can you please do one for SSH Terminal-Line Access for a Console Serial Line Ports Configuration?
@demetriorosario8134
@demetriorosario8134 4 года назад
Keith Barker, thank you so much for all your help.. Just a question here, as you mention a person is a newbie, and don't know about what is console and others parts. thinking about going for an interview, what and how you will answer the technical questions may they ask how you will responds to it.
@KeithBarker
@KeithBarker 4 года назад
Thank you for the question Demetrio. The first step would be to repeat the question, to confirm you understand what they are asking. If you have no idea of what the technology or answer is, be honest. If you have a guess, you could elaborate on that as a guess. They may want to see your attitude towards new situations/technologies. If you offer your best, with an offer to research it a bit more and follow up, that may be useful as well. No matter how the interview goes, use the lessons learned to do more research/study in preparation for the next one.
@demetriorosario8134
@demetriorosario8134 4 года назад
Thank you so much for your input.
@laxplaya25
@laxplaya25 3 года назад
Hi Keith, can this be done on PuTTY as well?
@murphybrown32216
@murphybrown32216 2 года назад
Hi Keith, I am doing this on a 2821 router with the 32 port card, I assume your connecting to the Aux ports, any other tips? Thanks Chris
@KeithBarker
@KeithBarker 2 года назад
Thank you Murphy Brown. Feel free to join my Discord sever. Lots of people there helping each other out. Each Saturday at 10am Pacific I hold my "Office Hour" where learners can ask questions about the topics they are studying. Mostly focusing on Cisco CCNA 200-301 topics. Feel free to join us there live if you are available. Here is the link ogit.online/Join_OGIT_on_Discord Thanks again Murphy Brown!
@nonegiven
@nonegiven 4 года назад
So you are basically using the router as a sort of jumping point to connect to the console port of your other switches and routers if I'm understanding correctly? Is there a benefit to this instead of setting up telnet or ssh on each device? Ill have to find this pi video :)Thanks.
@nonegiven
@nonegiven 4 года назад
Watched it, pretty interesting, thanks.
@chimezirimihebenachi1317
@chimezirimihebenachi1317 4 года назад
Hi None Given, while ssh/telnet to each device directly is inline, this console access can be setup as an Out of Band Management in case you have a network outage in your Datacenter affecting inline access. This way you can check via console and troubleshoot. This has been my use case for this setup.
@KeithBarker
@KeithBarker 4 года назад
Thank you for the question. Chimezirim nailed it. Out of band (OOB) management directly to the console port.
@jeffreysimpson3930
@jeffreysimpson3930 4 года назад
You could also connect via the CLI by doing a reverse Telnet, which is pretty much the same (connecting to yourself to port 200X). The command will be: Router# telnet 1.1.1.1 2003
@KeithBarker
@KeithBarker 4 года назад
Thank you Jeffrey Simpson!
@muntasirkhan6968
@muntasirkhan6968 10 месяцев назад
Hi I am facing a problem with Cisco 1100TG service getaway router when I tried from Cisco server gateway router to console any other device then it asks for a password/username but for the remote device console port I have not assigned any passwords. Then I have set a console port pass for the remote device. but still pass word and username is not checking.
@KeithBarker
@KeithBarker 9 месяцев назад
Thank you for the question @muntasirkhan6968. If you don't have aaa-new model enabled, then in line configuration, use the command: no login See if that makes a difference for your lab. In production, you would want to require authentication.
@chimezirimihebenachi1317
@chimezirimihebenachi1317 4 года назад
Finding the line number has always been a pain for me. Do you have any shortcut or tips?
@KeithBarker
@KeithBarker 4 года назад
Thank you for the question Chimezirim. I will usually find a document for the module, and a document for the version of router to solve that. Here are examples: www.cisco.com/c/en/us/support/docs/routers/3600-series-multiservice-platforms/7258-hw-async.html www.cisco.com/c/en/us/td/docs/routers/access/2900/hardware/installation/guide/Hardware_Installation_Guide/Overview.html Cheers.
@mosasa1307
@mosasa1307 Год назад
For anyone in the future reading this: Just do a "show line" and then it'll list of bunch of lines and you should be looking for something in the effect of 0/0/0 - 0/0/15 (It maybe different but still the same principle applies.) Then once you find that, it should have columns, look under the Line column. So for example, the first line 0/0/0 might have a line number of 3. Take that number and add it by 2000. So line 1s port number would be 2003. I hope that makes sense.
@murphybrown32216
@murphybrown32216 2 года назад
Keith, trying your config on a 2821, using console port and port numbers 2033-2064. none of this works?
@KeithBarker
@KeithBarker 2 года назад
Thank you Murphy Brown. Feel free to join my Discord sever. Lots of people there helping each other out. Each Saturday at 10am Pacific I hold my "Office Hour" where learners can ask questions about the topics they are studying. Mostly focusing on Cisco CCNA 200-301 topics. Feel free to join us there live if you are available. Here is the link ogit.online/Join_OGIT_on_Discord Thanks again Murphy Brown!
@EmilRaeven
@EmilRaeven 4 года назад
Does this work with SSH instead of telnet?
@jeffreysimpson3930
@jeffreysimpson3930 4 года назад
Yes, it works, but is kinda different as you need to configure rotary groups. Here's the official Cisco doc if you want to give a look: Secure Shell Configuration Guide, Cisco IOS Release 15S: Chapter: SSH Terminal-Line Access www.cisco.com/c/en/us/td/docs/ios-xml/ios/sec_usr_ssh/configuration/15-s/sec-usr-ssh-15-s-book/sec-ssh-term-line.html
@texastitan6567
@texastitan6567 4 года назад
Yo yo yo where can I find that raspberry pi video?
@KeithBarker
@KeithBarker 4 года назад
Thank you for the question Texas Titan. Here is the link: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-uqq1fWYS18k.html
@texastitan6567
@texastitan6567 4 года назад
Keith Barker awesome! I’m checking it out right now! I love you btw, by far my favorite instructor for anything Cisco related!
Далее
Raspberry Pi WiFi Console Server
16:56
Просмотров 18 тыс.
What is a Protocol? (Deepdive)
18:14
Просмотров 162 тыс.
Proxmox NETWORKING: VLANs, Bridges, and Bonds!
25:09
Просмотров 135 тыс.
The Hype about Hypervisors | Cisco CCNA 200-301
11:06
How to Connect to a Cisco Switch Using Putty (CCNA)
27:23
IPv6 SLAAC and DNS Overview | Cisco CCNA 200-301
27:34
Password Recovery & Update | Cisco CCNA 200-301
34:53