|
0:00:13
|
Let’s take a look at 15.2 clock and network time.
|
|
0:00:17
|
We’re told to set the Branch 2 Router 3 system clock
|
|
0:00:21
|
to the time zone of Central European Time,
|
|
0:00:24
|
CET for short which is GMT+1
|
|
0:00:28
|
and the daylight savings time and the daylight savings time
|
|
0:00:35
|
We’re told to ensure that NTP is set up to synch the local clock
|
|
0:00:38
|
to the PSTN router at IP address
|
|
0:00:43
|
177.1.2.54.254
|
|
0:00:47
|
and to ensure, sorry about the scroll there,
|
|
0:00:51
|
and to ensure that the router can also serve
|
|
0:00:53
|
NTP for SIP phones who later need it.
|
|
0:00:56
|
So, the local Branch 2 Router 3
|
|
0:00:58
|
but ensure that it does not become the primary synched clock for the router.
|
|
0:01:02
|
This is the one that we’re gonna configure.
|
|
0:01:04
|
We’ll do a show command but we’ll probably going to switch back out
|
|
0:01:07
|
of the show command or should I say we’re not gonna sit here
|
|
0:01:10
|
and wait for it to fully synchronize.
|
|
0:01:13
|
So let’s do show clock and the time zone has been previously set.
|
|
0:01:20
|
So, it’s still set that way because it updated hardware clock
|
|
0:01:22
|
but let’s just go ahead and do clock time zone.
|
|
0:01:27
|
It wants a name, give it whatever name we want.
|
|
0:01:29
|
It’s not necessarily, it’s not checking anything.
|
|
0:01:34
|
And we want +1 or we can just put in 1.
|
|
0:01:39
|
If we want a negative value, then put in something like -5,
|
|
0:01:43
|
and it would show us that it’s gonna change the clock.
|
|
0:01:45
|
We’re actually gonna put in +1
|
|
0:01:51
|
so it changed from 1919 hours to 1319
|
|
0:01:58
|
and now it changed back from 13:19 to 19:19.
|
|
0:02:02
|
And we’re also gonna say clock summer time
|
|
0:02:07
|
and CEST and reoccurring.
|
|
0:02:16
|
And it was already set to CEST.
|
|
0:02:19
|
It was already running the Daylight Savings Time.
|
|
0:02:23
|
Now, we wanna set up NTP and we wanna set up a master,
|
|
0:02:28
|
sorry, we wanna set up NTP server
|
|
0:02:31
|
pointed to, actually, let’s do a do show NTP associations first
|
|
0:02:36
|
and we don’t see any or do show NTP status.
|
|
0:02:42
|
NTP is not enabled.
|
|
0:02:46
|
Just gonna bring this up to the top again.
|
|
0:02:48
|
So, we’ll say NTP server 177.1.254.254.
|
|
0:02:56
|
Now, if we say show association,
|
|
0:03:01
|
we see that we got it configured and this little ~
|
|
0:03:07
|
along with the legend of the bottom says that ~ is configured,
|
|
0:03:12
|
but the * is at an actual system peer. So, in other words, we are synchronized.
|
|
0:03:18
|
So, we’re still not synchronized, it’s configured.
|
|
0:03:21
|
and the reference clock to the PSTN is still on initialization state.
|
|
0:03:28
|
So, the stratum that said at 16 highest possible
|
|
0:03:31
|
which is the worst possible value or the least trusted.
|
|
0:03:36
|
So, after we’ve done some NTP talking back and forth,
|
|
0:03:41
|
the reference clock of the PSTN will be updated
|
|
0:03:44
|
to reflect with its reference clock is and its proper stratum.
|
|
0:03:48
|
And then after that, we’ll go into an actual peering state.
|
|
0:03:53
|
So for right now, we’re not gonna sit here and wait.
|
|
0:03:56
|
We’ll say NTP, well, actually, it’s a bit difficult to do the NTP master
|
|
0:04:03
|
if we don’t know what stratum the clock that we're gonna synch with this.
|
|
0:04:08
|
And the reason is, whoever has the lowest stratum
|
|
0:04:11
|
is the clock that the router will synch with.
|
|
0:04:13
|
We need to do NTP master as we’ve talked about in Module 1.
|
|
0:04:17
|
In order so that we can hand out time and we can serve,
|
|
0:04:22
|
We, the Router 3 can serve NTP time which is what we were instructed to do.
|
|
0:04:26
|
So, that later, zip phones could pull their time from us.
|
|
0:04:31
|
So, we can just say NTP master, I'll take the default of 8
|
|
0:04:35
|
or we can actually assign the stratum number.
|
|
0:04:39
|
Now, we see that the PSTN address of 177.1.254.254
|
|
0:04:49
|
has a reference clock of 127.127.7.1.
|
|
0:04:53
|
Now, the entire 127/8 network was set aside for local loop backs.
|
|
0:04:59
|
This is a local loop back to the PSTN router and we see it stratum 10.
|
|
0:05:03
|
It's still disconfigured but obviously we received NTP information
|
|
0:05:08
|
or else we wouldn’t have been updated with this information.
|
|
0:05:10
|
It’s still not fully synched with our clock yet,
|
|
0:05:14
|
but we can, now that we have the stratum, we can go ahead and say,
|
|
0:05:17
|
If we just typed in NTP master, we would be able lower stratum
|
|
0:05:21
|
and therefore more preferable with synch with ourselves
|
|
0:05:25
|
and never synch with the PSTN which stopped trying to synchronized with it.
|
|
0:05:29
|
So, we’re gonna say, let’s just say NTP Master 12, something higher.
|
|
0:05:33
|
That’s actually gonna put our own internal master at 11.
|
|
0:05:36
|
We’ll see that when we do a show NTP association.
|
|
0:05:40
|
We see that we are 127.127.11, our reference clock is local.
|
|
0:05:45
|
The stratum is 11, we put in 12 so the stratum is 11.
|
|
0:05:50
|
We are 12 for whomever wants to get time from us.
|
|
0:05:54
|
They will see our time is stratum 12,
|
|
0:05:58
|
but we, ourselves, consider us 11.
|
|
0:06:00
|
So this is why I put in 12 versus 11 which is only 1 higher
|
|
0:06:04
|
then we would be 10 which is equal and we’ve synched with ourselves, well, probably.
|
|
0:06:11
|
So, we’ll just go ahead and this is going to continue
|
|
0:06:16
|
to try and synch up with the lower stratum which is the PSTN router.
|
|
0:06:20
|
At some point, we’ll come back and we’ll see that little * there.
|
|
0:06:23
|
But this will do it for right now.
|
|
0:06:27
|
Let’s just do show NTP associations, still not synched.
|
|
0:06:34
|
So, this is good enough for now and we’ll come back.
|