Basic Router Configurations

NEW Cisco CCNA IPv4 Course! Introduction to Basic Router Configurations and IP's
11 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$99.99
List Price:  $139.99
You save:  $40
€96.05
List Price:  €134.47
You save:  €38.42
£78.28
List Price:  £109.60
You save:  £31.31
CA$143.28
List Price:  CA$200.59
You save:  CA$57.31
A$160.13
List Price:  A$224.20
You save:  A$64.06
S$135.03
List Price:  S$189.05
You save:  S$54.02
HK$777
List Price:  HK$1,087.84
You save:  HK$310.83
CHF 88.49
List Price:  CHF 123.89
You save:  CHF 35.40
NOK kr1,126.80
List Price:  NOK kr1,577.57
You save:  NOK kr450.76
DKK kr717.22
List Price:  DKK kr1,004.14
You save:  DKK kr286.92
NZ$176.87
List Price:  NZ$247.63
You save:  NZ$70.75
د.إ367.26
List Price:  د.إ514.17
You save:  د.إ146.91
৳11,929.84
List Price:  ৳16,702.26
You save:  ৳4,772.41
₹8,538.94
List Price:  ₹11,954.85
You save:  ₹3,415.91
RM448.65
List Price:  RM628.13
You save:  RM179.48
₦154,544.52
List Price:  ₦216,368.52
You save:  ₦61,823.99
₨27,792.76
List Price:  ₨38,910.97
You save:  ₨11,118.21
฿3,416.65
List Price:  ฿4,783.45
You save:  ฿1,366.80
₺3,519.17
List Price:  ₺4,926.99
You save:  ₺1,407.81
B$637.56
List Price:  B$892.61
You save:  B$255.05
R1,874.85
List Price:  R2,624.87
You save:  R750.01
Лв188
List Price:  Лв263.20
You save:  Лв75.20
₩145,711.39
List Price:  ₩204,001.77
You save:  ₩58,290.38
₪364.90
List Price:  ₪510.87
You save:  ₪145.97
₱5,865.41
List Price:  ₱8,211.81
You save:  ₱2,346.40
¥15,715.92
List Price:  ¥22,002.92
You save:  ¥6,286.99
MX$2,016.21
List Price:  MX$2,822.78
You save:  MX$806.56
QR363.08
List Price:  QR508.32
You save:  QR145.24
P1,386.50
List Price:  P1,941.15
You save:  P554.65
KSh12,902.70
List Price:  KSh18,064.30
You save:  KSh5,161.60
E£5,082.90
List Price:  E£7,116.27
You save:  E£2,033.36
ብር12,710.92
List Price:  ብር17,795.80
You save:  ብር5,084.87
Kz91,190.88
List Price:  Kz127,670.88
You save:  Kz36,480
CLP$98,919.10
List Price:  CLP$138,490.70
You save:  CLP$39,571.60
CN¥729.82
List Price:  CN¥1,021.78
You save:  CN¥291.96
RD$6,081.12
List Price:  RD$8,513.82
You save:  RD$2,432.69
DA13,508.78
List Price:  DA18,912.83
You save:  DA5,404.05
FJ$231.84
List Price:  FJ$324.58
You save:  FJ$92.74
Q768.97
List Price:  Q1,076.59
You save:  Q307.62
GY$20,886.35
List Price:  GY$29,241.72
You save:  GY$8,355.37
ISK kr13,953.60
List Price:  ISK kr19,535.60
You save:  ISK kr5,582
DH1,006.73
List Price:  DH1,409.47
You save:  DH402.73
L1,841.91
List Price:  L2,578.75
You save:  L736.83
ден5,908.74
List Price:  ден8,272.47
You save:  ден2,363.73
MOP$798.63
List Price:  MOP$1,118.11
You save:  MOP$319.48
N$1,856.28
List Price:  N$2,598.86
You save:  N$742.58
C$3,673.45
List Price:  C$5,142.98
You save:  C$1,469.52
रु13,596.38
List Price:  रु19,035.48
You save:  रु5,439.09
S/371.74
List Price:  S/520.45
You save:  S/148.71
K405.18
List Price:  K567.27
You save:  K162.09
SAR375.47
List Price:  SAR525.68
You save:  SAR150.20
ZK2,762.82
List Price:  ZK3,868.06
You save:  ZK1,105.23
L478.38
List Price:  L669.75
You save:  L191.37
Kč2,417.95
List Price:  Kč3,385.23
You save:  Kč967.27
Ft39,478.73
List Price:  Ft55,271.81
You save:  Ft15,793.07
SEK kr1,088.11
List Price:  SEK kr1,523.40
You save:  SEK kr435.29
ARS$102,698.50
List Price:  ARS$143,782.01
You save:  ARS$41,083.50
Bs689.84
List Price:  Bs965.80
You save:  Bs275.96
COP$441,236.66
List Price:  COP$617,748.98
You save:  COP$176,512.31
₡50,688.88
List Price:  ₡70,966.47
You save:  ₡20,277.58
L2,536.46
List Price:  L3,551.14
You save:  L1,014.68
₲778,577.57
List Price:  ₲1,090,039.75
You save:  ₲311,462.17
$U4,443.67
List Price:  $U6,221.32
You save:  $U1,777.64
zł409.39
List Price:  zł573.17
You save:  zł163.77
Already have an account? Log In

Transcript

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 cisco.com. 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

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.