Hello. Welcome back to I C nd one interconnecting Cisco Networking devices. Part one
This episode 813 Network time protocol on trend Darren, A beer structure for this course Last video Winner of the Cyst Log Protocol on how to implement it on the Cisco Devices.
This is sort of recovering the concepts of NTP and how to configure it on the Cisco Devices will.
So far, the objectives were gonna be made only setting the date and time on the devices that are also we're going to let the mtp protocol
synchronized the date and time
as I was quick pre assessment here. What is the time for Matt? You would be setting the time for and the Cisco Iowa. So give me a few seconds to think about it.
All right? Hopefully you got B. It is the 24 hour time for our our month mother. Minute, minute, second seconds.
We'll be going over that in a minute here.
So NTP is the network time protocol. It is used to synchronize the time between devices using one source. The reason why I would want this waas if you have different advice, is they're not secret as a time your messages that are coming in your sister looks overall. Gonna have different time stamps.
Meaning you can't correlate Wonder you can't correlate the issues that are having our network if they're all happening on two different times. Theoretically.
So one thing we can do if we don't have any peace ever available,
our future is just sitting up in the lab. We can just set the actual manual time on on a router
with the clock command, we could set the summertime, which is the daylight savings time.
We can set the actual clock, remember? Must be 24 hour time. If we said this time zone, it won't show it in UTC the universal time coordinated.
because that's what it's gonna show if we just do the clock right now. So I'm gonna go ahead and bring up the party session here,
and if we just do a show clock here,
show clock. Okay. So here we have 20 100
and Wednesday for 20th so it's actually not far off. It may be about five minutes off. Um,
so if we do a show clock in detail as well,
we'll see that the time source from hardware.
It is not from Auntie P.
So let's go ahead and configure it to the proper time zone.
I am in Eastern time, so time zone. And this word? Yes, tea is just Easter standard time. Ah, it's whatever word is meaningful to you.
And then for here we do are offset from UTC, which Eastern is five.
And I'm gonna set the deal Lakes savings time as well
And we want the next one again. There's just a word. So this is the savings time for Eastern
and we want it to be re occurring.
So I'm gonna go ahead. We're gonna go and set the actual time here. So clock set.
So our minute minutes. So we're at 14.
25 will just do as you're zero.
No. If we do a show clock,
we see that this has not changed to this. We have the proper time.
Start logging messages will actually show the difference.
So nobody show Clark detail
this time? It is time sources. User configured.
It's saying the daily sings. Time starts on this day and it gets reverted on this day.
So that's setting the manual clock. Gonna minimize, buddy, and we'll move on to configuring the vice for actual an anti P. This is nice because it has an actual universally time server that's actually set up.
So the way the NTP actually works, it works on stratum levels.
So if we look at it, do you start it started zero. Then you go to Stratton wants to run to delights of this
We could say this is one
and we could say this is stratum too.
So it's kind of like almost think of it as, like a hot hop down the anti Peace No
is the stratum levels.
So the servers are gonna supply the actual information, and the clients accept their information and adjust their clocks.
You're kind of basic client server model. One thing you could do to kind of lessen the burden on the actual NTP servers. As you can have one router set up as a server client model where it works as a client for the actual and T P server that it works a server for the
rest of the network or for the rest of routers. That way, it's a lessening the load on the actual and T P server.
So one thing we're gonna do, we're actually gonna figure Router One is our server
or is our master. We're gonna have router to set up a cz wth e client
so quick, I was gonna do a show NTP status,
and she is not enabled on deceive association. Says anything? Nothing.
So what's gonna configure Terminal
It's quite a bit. We want to go to server.
And here's where we can punch in the I p address here. So
that is going to be 10 1212
And here we can give it. I, uh
we can have it prefer this,
but we're just gonna leave it. Is this for now? For the sea sent level.
If we do a show ngp status,
we could see the clocks are synchronized because we haven't set up the router. One of the ads
we have our, um, frequency
clock offset doesn't matter for this,
so we have not updated yet.
And if we do the show on speed associations
we used in showing that this
so I'm gonna go ahead and plug the council into rather one.
All right, so we should do a show. Clocks. You were right real quick.
I don't know what that weren't really gets me.
So what I'm actually gonna do is just I'm gonna completely change this for I want to put us into the future.
So could figure t clock set.
box set. Uh, let's just say 2200
and I'm gonna go to the fifth of May
So here, I'm going to figure this one as the anti P server. So here we dont p
master. And then we're gonna give a stratum level of zero.
when she pees. Dennis
clocking externalized stratum 16 reference
show NTP associations
saying that this is our local clock, remember?
I'm gonna go ahead and plug back into router to we'll see what happens to the time.
All right, so no, we have this. We're gonna do a show and tp status
still in synchronized show and t p
So it's still saying worker figured
Alright, here we go. So apparently I just had to be a little more patient here. Now we see we have the latest showing TP status.
We have our clocks synchronized where we need We are the stratum too for it because we're that router. One is stratum one level.
No, we have our status in now. Show and tp associations.
We should see we are
where configured and has got the s tricks.
So setting NTP is simple as that.
So our salary cap, we may know configure the date and time on both routers and we went ahead and we pushed ourselves into the future by sitting up rather one of the anti P server and rotter to pulled its time from that.
The nice thing is, now both log messages are gonna have that same time. Stamp is they did before.
So what? Stratum level is the top level NTP, sir, for a Cisco device. So by that I mean you have the top level being zero.
But what is the best stratum level you can give a Cisco to device.
Give it a few seconds.
All right. It is stratum one where you can go through once or 15 on that
and the next episode. And look at the Cisco. Discard Discovery protocol and then the RFC version of that as well
as always. If you guys are questions, need help. Feel free to shoot me. Message. Otherwise, thank you for watching this episode. Look forward to seeing you dressed.