Basic Router Configurations

NEW Cisco CCNA IPv4 Course! Introduction to Basic Router Configurations and IP's
11 minutes
Share the link to this page
You need to have access to the item to view this lesson.
One-time Fee
List Price:  $139.99
You save:  $40
List Price:  €129.06
You save:  €36.87
List Price:  £109.83
You save:  £31.38
List Price:  CA$191.29
You save:  CA$54.65
List Price:  A$210.93
You save:  A$60.27
List Price:  S$188.96
You save:  S$53.99
List Price:  HK$1,093.58
You save:  HK$312.47
CHF 91.33
List Price:  CHF 127.86
You save:  CHF 36.53
NOK kr1,051.93
List Price:  NOK kr1,472.75
You save:  NOK kr420.81
DKK kr687.74
List Price:  DKK kr962.86
You save:  DKK kr275.12
List Price:  NZ$228.27
You save:  NZ$65.22
List Price:  د.إ514.18
You save:  د.إ146.91
List Price:  ৳16,469.33
You save:  ৳4,705.86
List Price:  ₹11,670.32
You save:  ₹3,334.61
List Price:  RM658.44
You save:  RM188.14
List Price:  ₦199,830.12
You save:  ₦57,098.40
List Price:  ₨39,056.94
You save:  ₨11,159.92
List Price:  ฿5,146.06
You save:  ฿1,470.41
List Price:  ₺4,513.23
You save:  ₺1,289.58
List Price:  B$722.44
You save:  B$206.42
List Price:  R2,558.32
You save:  R731
List Price:  Лв252.36
You save:  Лв72.11
List Price:  ₩191,302.09
You save:  ₩54,661.64
List Price:  ₪516.98
You save:  ₪147.72
List Price:  ₱8,187.31
You save:  ₱2,339.39
List Price:  ¥22,011.16
You save:  ¥6,289.35
List Price:  MX$2,344.90
You save:  MX$670.02
List Price:  QR512.02
You save:  QR146.30
List Price:  P1,905.46
You save:  P544.45
List Price:  KSh18,478.68
You save:  KSh5,280
List Price:  E£6,621.61
You save:  E£1,892.02
List Price:  ብር8,063.93
You save:  ብር2,304.14
List Price:  Kz119,404
You save:  Kz34,117.86
List Price:  CLP$125,484.23
You save:  CLP$35,855.20
List Price:  CN¥995.65
You save:  CN¥284.49
List Price:  RD$8,270.79
You save:  RD$2,363.25
List Price:  DA18,840.70
You save:  DA5,383.44
List Price:  FJ$316.23
You save:  FJ$90.35
List Price:  Q1,089.94
You save:  Q311.43
List Price:  GY$29,378.01
You save:  GY$8,394.31
ISK kr13,726.62
List Price:  ISK kr19,217.82
You save:  ISK kr5,491.20
List Price:  DH1,394.39
You save:  DH398.42
List Price:  L2,475.73
You save:  L707.40
List Price:  ден7,947.32
You save:  ден2,270.82
List Price:  MOP$1,128.49
You save:  MOP$322.44
List Price:  N$2,580.41
You save:  N$737.31
List Price:  C$5,165.53
You save:  C$1,475.97
List Price:  रु18,678.49
You save:  रु5,337.09
List Price:  S/526.07
You save:  S/150.31
List Price:  K545.70
You save:  K155.92
List Price:  SAR525.05
You save:  SAR150.02
List Price:  ZK3,778.75
You save:  ZK1,079.72
List Price:  L642.20
You save:  L183.50
List Price:  Kč3,188.26
You save:  Kč910.99
List Price:  Ft49,885.79
You save:  Ft14,254.10
SEK kr1,060.86
List Price:  SEK kr1,485.25
You save:  SEK kr424.38
List Price:  ARS$125,080.50
You save:  ARS$35,739.84
List Price:  Bs969.47
You save:  Bs277.01
List Price:  COP$543,347.34
You save:  COP$155,253.18
List Price:  ₡72,167.83
You save:  ₡20,620.85
List Price:  L3,468.02
You save:  L990.93
List Price:  ₲1,056,745.16
You save:  ₲301,948.75
List Price:  $U5,398.62
You save:  $U1,542.57
List Price:  zł549.29
You save:  zł156.95
Already have an account? Log In


Are welcome back everyone, are you ready? We're gonna go inside the router command line interface, see Li and do some configuration. All right, what are we gonna do? What are we going to do? minimum? Don't go crazy minimum configurations on the routers, Eli, what are they?

We're gonna put some passwords on there. Some banners go on to our lines, minier console, or vt y, which is our selling lines, and a little DNS while we're in there. Okay, just turning on DNS and to look for a DNS server. Simple, simple things, maybe some SSH, just show you some basic administration's. All right, but things that I want you to know. It'll be quick and simple.

All right. So that's that. Let's go do this. All righty. Here we are inside our lab ball for basic router configuration. And like I said, it says something you need to know.

So I mean, it's an IP addressing course. So I want you to know this. Very simple very quick. All right. We're Have the IP addresses sitting here. Here's our networks, one dot zero, we're using the last standard, which is one dot one for the computer on that 24 for the gateway, which is going to be the F 00 when I got into that yet, all right, you'll see, you know, the networks that were here you see, there's another network and these are the cable, huh?

When we get to that particular lecture, we'll talk about that right? Now we're gonna just do some basic admin stuff. All right, so let's go ahead and open up rodder zero. And this is what you call and I'm gonna go quickly through it. Alright, because again, this is not for this, I want to do a little extra stuff. Alright.

So this is what's called setup mode. You will say no, no, I will do anything from scratch. user mode, type enable go to go to configuration, config t go to blog or I mean from user mode or push mode. And then from privileged mode, you go to global configuration, then you type in the host name and if I can get my spelling I'm just going to tap that out hostname r1 Okay, and then we go into the basic interface, enable password Cisco enable secret student enable password Cisco enable secure students are both privileged mode passwords the secret will override the plain text one because enable password Cisco is plaintext secret will always override it because it's usually an MD five encryption, why put both in case you need to go back and use an older iOS that does not have the capabilities of encryption, so you got to leave the plaintext password.

Alright, but we're gonna go ahead and fix that to service password hyphen encryption tab is my friend. All right, because my spelling and typing is atrocious. Well this will do we'll go ahead and encrypt using MD seven All passwords past present future, okay? It will encrypt all the passwords that are there. All right, they're a plain text. Now we're going to go into banner message of the day.

And the important things here just to remember, all right is the the symbols for one a number similar words, or any symbol really not any symbol. There's usually a symbol used pound, welcome. It's not going to be a welcome sign. It will be a Hey, this was going on today, hey, you don't belong in here. It's a warning pretty much message of the day, but it really tells you you know, it could tell you a warning. Hey, if you don't belong in this particular router, get the heck out or until you Hey, you're now on router one.

Today. Remember administrators, we're going to go ahead and upgrade the routers into the maintenance window. Wow, that was just a message of the day type of thing. All right, now we're going to do usernames, okay, usernames, no? username lbos. I'll put her lowercase privilege tab 15, which is administrative privilege that goes from one to 1515 being the highest password.

It's either zero or seven, meaning no encryption or encryption. We're encrypting anyway, with a service password encryption scopa 00 and then we'll put Cisco, okay, everything lowercase, not as our username on there. Alright, there's a username on there. So when you log in, you exit the router is gonna ask you, hey, what's your username? Hey, what's your password, all that so I'm gonna be a username and password. Okay, and then let's go ahead and do DNS, IP domain, hyphen, local.

This turns on the DNS service, which is all by default. Let me show you the command. I'm gonna do IP domain hyphen name. I will do Okay, and then IP name, hyphens server and just put it in a bogus IP address. 192 though once again No one that one right for my previous one.

All right. So now you have DNS configured on the router. Alright, so the router will then all if you want to ping or telnet or do anything get to a particular place using its hostname, you know, the, the name of the router will have you you can do it using that, okay, instead of actually just Hey, what's the IP address? What's the IP address, you know, you can use DNS, also DNS, and host names that we configure are used for SSH configuration. And we're gonna do that. So we'll do IP SSH, and then we're gonna put in authentication retries, we'll try Hey, you're gonna try three times after three times.

If you fail, then you're not getting in. We're also going to put a timeout, IP SSH timeout, we're going to come out after 120 seconds. If you're in there and you're idle, and you're playing around 20 120 seconds, you're gonna get kicked out. You You can put in a version just gonna leave the default, whatever doesn't really matter, but you can put the version as well. Alright, so from there, we're going to go into our essay, ours, I know it's crypto key, RSA. crypto key, or generates our generate RSA.

And then we're going to leave the default you see says r1. She says r1 dot Cisco comm because it's going to use that the hostname plus the domain name to create our encryption, okay? And you're gonna give it a 512 or you just hit Enter, and that's what it will do. But if you do anything bigger remembering Christian bogs down your router, it bogs down your router. So you don't want to go ahead and do that. So we have that configured.

Now we'll do the lines line via line con zero is your console. I look it says hey We've done this we've enabled SSH for whatever version of ISO 168 it gives you information on what you just configured. Okay? So like on zero password Cisco and normally we just type in login right certification purposes you log in real world is login local. All right the way you use the local username and password okay? Doing that constantly and it will do it too and we're also going to do this exact type in timeout.

Zero space zero this is minutes. The space yeah 00 minutes, zero seconds here in a lab, never timezone you want to put 10 minutes, zero seconds, 20 minutes, zero seconds, whatever whatever it is. You want the time out to be but the first one is minutes. The second one is seconds. You also want to use login. Synchronous, and yes, I'm tabbing logging synchronous.

Why? Because the router gives you back gives you feedback on what you're doing. Just like you did with the SSH, it may interrupt your typing or will interrupt your typing. So if you're if you do logging synchronous, it will not interrupt your typing, you will be in the same line you're in, it will just give you the feedback and then you will another line, they won't break your commands up, which is nice. Alright, so we're going on out to line bt wise, that's zero space 15. The default telnet lines, these are your tunnel lines, Virtual Terminal lines are zero through four, right your father, but we do it on all real world.

If some guy, you know you're working in the IT department, this guy doesn't put your eggs, exit out of his telnet session, SSH session, whatever the case may be. And then you don't have enough telnet lines open, you run into a problem you gonna go kill that particular telnet session. So open up enough lines, you know how many people you need, and also put a note, listen, if you're not using that logo, next time you do that you're gonna get ripped off and I'm telling you, this is been an issue when I was in telecommunications was an issue constantly. Alright people not ending their session so why did you why zero to 15? password I mean, yeah power Cisco login logo so username and password. Okay and then the same thing exact hyphens timeout zero minutes, zero seconds.

Zero minutes zero seconds. All right and then login synchronous, okay. And that's pretty much it for some basic administration, okay and do w or what you can do your certification Ctrl Z. I'm just gonna do a show start. So there you see that your enable secret is very strong, right? That's Cisco, actually. Right.

Oh, that student actually encrypted and this is Cisco, which is playing password enable password, Cisco, that's what it is using MD seven here is using MD phi. So you can see this one is much, much stronger. So this is not as strong as using this. That's not like a question. Okay, there's your username, see how the password seven encrypted was really using it, we put zero was using the seven on top to encrypt. Here's SSH using version one.

There's your domain name, there's your IP address or a name server. We haven't put any IP addresses in there. Yeah, that's going to be in our next lecture. Okay. And there's your banner. Okay, doo doo doo doo doo.

And there's our things. So let's see if this is actually working. Let's exit. Right? It says r1 available. I'm gonna hit enter.

Says Hey, welcome. What is your user access? Okay, LD is what is your password LD is C i s c o co Hey, if I want to put logging logo that wouldn't have happened. All right, that would not have happened. So that's how you can go ahead and log in. Okay, that's what you should do it because if you notice, we're not in user mode.

We're privileged mode. Again, this is not for that, but I just want to do this little extra bit. Okay. And now what you do is you have this right now Notepad, and you do the exact same thing, right, the exact same thing on the other router. Alright, but with that, I'll see you in the next one.

Sign Up


Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.