As you see, we're back to our lab. And the link that I drew on the board was this link between router to one
and rather one. So router to one serial 010 interface is connected to a router. One serial 000000 interface.
go ahead and log into router to one
and let's look at the serial 010 interface.
So I'm gonna execute the command show interfaces serial 010
A few things I want you to notice about this interface.
Now, we already know that by default, serial interface is or all interfaces on a router, for that matter are administratively shut down
again. The maximum transmission unit is 1500 bytes,
and the band with is 100 and 28 kilobits per second.
I also want you to notice that the encapsulation
is high level data link layer control once again, high level data link Clear Control or H D l c.
So the default encapsulation type for a serial interface is h d l C.
I also want you to notice that there is no Mac address on a serial interface.
So serial interface is do not have Mac addresses.
So let's go ahead and assign this interface an I P address.
Before I do that show, I'd be interface brief
just to show you that cereal
010 by default is down.
Now, let's go into serial 010
and assigning an I p address.
terminal takes, meet your config mode.
Then I go into the interface by saying interface serial 010
And now I have signed it tonight P address I P address. And we picked the 200
about 202 100 range and router to one. I'm gonna make 10.2 and my mask is going to be 255255255252 Which is the same as slash 30.
A total of 30 bits on into sub net mask. So
eight, which makes 24
I'm gonna bring the interface up by executing the no shutdown command.
Now, I'm going to go to Router One
I'm gonna go into serial zero
interface serial 000
signing tonight. Be address.
This side. I'm going to keep as 0.1. 200. 202 100.1
And the mass is going to be 255255255252
And I'm gonna execute the no shutdown command.
Interface Serial 000 has been changed to up our link. Should have gone green. Let's check.
Make sure this interface is up.
and it stays up. Up.
Let me ping the other end and make sure this is up. Ping
202 100.2. Which is the i P address over Outer to a one,
and it pings. Now you might be tempted to ask me, Junaid,
you did not set a clock rate. You just told us that one side is going to be a D c. East Side and the other side's going to be a d t side.
And you have to set a clock rate on the D. C. Eastside.
Well, first order of business. Let's figure out which side is the D C. Eastside
for this should not have worked yet.
So to figure out which side is the D C Eastside and which side is the D E T E side,
we execute the command show
controllers and then the interface I D which is on this end this cereal
and on top here, if you look it says D. C.
The readout 35 is the cable type,
and the D. C Eastside has an automatic clock rate set,
which is why this link went up.
Nowadays, Cisco routers come
with an auto clock rate on the D. C. M.
So the clock grade, I believe it set to 20 million.
What is that? Two million?
Well, two with 123456 years.
Let's check the other end
on router to one. If I execute the same command
with the interface I d. Serial 010
Show controllers serial 010
You will see that this end is the D T E end
and clocks are detected, which means, in detects clocking being set from the other end.
the running configuration for outer one.
So I'm gonna go back to my d C Eastside
As you see under cereal
interface Serial 000 It is an automatic clock rate set
What if I want to change this clock rate for if I look at my
interface with the show interface serial 010000 command
on rather one sided interfere 000
You will see that the band with all this link is 128 k.
So this link cannot support a bit transfer rate
So we might as well set the clock rate to match our band with. For you can't go any faster than that.
So configure terminal.
I won't go into my interface serial 000
And if execute the help feature of this point,
you will see all the different clock rates available.
But the one that matters to us is this guy. 100 and 28
1000 bits per second or 1 28 K
type and one to a 000 and hit Enter. Let's make sure the clocking exchanged on the interface. So do show interface serial 000
And now Oh, no, it's doo show controllers. You show
and now we will see that the clock rate has changed you. 128000
Now, at this point, if we look at our new show, I p interferes Brief command.
I see that the interface is up. Up
if I change the encapsulation type on one end? That's what I meant earlier by mismatch Encapsulation
on router to one which is the other side we already know by default than encapsulation is HDL See
And on router one Also the encapsulation by default
is HDL. See right here under the show into faces serial 000 command you see on both sides on router to one and rather one encapsulation by default is set to HDL. See what happens
if I change router one to something else.
I will change the encapsulation type to the three options here.
Frame relay H T l C and P p p gonna change it to frame. Really?
Let's look at our show i p i n t brief command again.
And you see that the interface has changed state two up, down.
So that is our first layer to issue.
Now. I can't really get rid of the clocking on this interface because it's there by default. So if I get rid off, if I say no clock space rate 128000
well, let me change encapsulation tight back for us too,
HDL. See? And you see that the link went back up immediately.
Now, if I try to take the clock, read away by saying no clock rate
and and then check do show
controllers serial 000
If I can spell and type,
we will just leave it at s 000
See, I cannot take away the clock rate.
It is set by default.
It should have actually gone back to two million.
on Packet tracer or even on real rounders, you really can't take away the clock raped.
If I look at my running config,
the clock rate does not go away once it's set.
So if I weren't you take away the clock rate.
If I were to take it with a clock rate, you would again see an up down situation in the show i p interface Brief command.
The last option is that if router one stops sending keeper lives,
so if I execute the no keep alive command,
the link should go down
in a little bit. But we're not gonna wait five minutes for this to go down.
You just take my word for it. That if I turn off keeper lives or if there is an error Oh, see, it did go down, actually. So let's test that out again. No, keep alive unless execute to do show I p interface
Brief command. Well, it shows up up,
but the link is technically down.
If I see keep alive command again,
do they keep alive command again? It shows that lying to recall came back up
so which meant it was down previously.
So if you see an up down situation in the show I p interface brief command there, three possible reasons and all three are layer two issues
keeper lives and missing because the interface is malfunctioning for some reason, Or there is a mismatch encapsulation between your side and the other end
or the D. C E side has no clock rate set.
I'm going to save my work
on Router One and router to So we do not lose it
and we're going to move on to I p routing. Terry. This concludes the lab.