NTP Flashcards

Network Time Protocol

1
Q

What is the purpose of NTP

A

Synchronizing internal clocks across all devices on a network

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the command to view the time in Cisco IOS

A

sh clock

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the default timezone for Cisco devices

A

UTC

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the command to view the time source on Cisco devices

A

sh clock detail

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the default time source for Cisco devices

A

Hardware calendar

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

T/F: Hardware calendar is considered an authoritative source

A

F

Internal hardware clock of a device will drift over time, so it is not the ideal source

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What does an asterisk in front of the output of sh clock mean?

A

The time is not considered authoritative

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the most important reason to have an accurate time on a device?

A

Accurate log keeping for troubleshooting purposes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the command to view a device’s logs

A

sh logging

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the command to manually configure the time on a Cisco device

A

clock set

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What config mode do you need to be in for clock commands

A

Priviledged EXEC mode

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the command to manually configure the hardware clock (aka calendar)

A

calendar set

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

T/F: You never want the calendar and the clock on a device synchronized

A

F

It is always a good idea for the calendar and the clock to be synchronized

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the command to view a device’s hardware clock

A

sh calendar

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the command to sync a device’s calendar to its clock time

A

clock update-calendar

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the command to sync a device’s clock to the calendar time

A

clock read-calendar

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What is the command to configure the time zone on a Cisco device

A

clock timezone

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

T/F: Timezone must be configured from global config mode since it is part of the device’s running config

A

T

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

T/F: Timezone must be configured from priviledged EXEC mode since it is not part of the device’s running config

A

F

Timezone is part of the running config and therefore has to be changed in global config mode

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

What is the command to enable daylight savings time automatic adjustment

A

clock summer-time (timezone) recurring (day to switch) (day to switch back)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

NTP prevents us from having to manually configure _____

A

time on devices connected to the network

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

T/F: NTP doesn’t prevent device clocks from drifting and becoming out of sync

A

F

Part of NTP’s purpose is to provide clock synchronization across multiple devices

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

T/F: It is possible for a device to become an NTP server and an NTP client at the same time

A

T

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

Generally, NTP provides an accuracy of within _____ if the NTP server is in the same LAN

A

~1 millisecond

25
Generally, NTP provides an accuracy of within _____ if the NTP server is over a WAN or the internet
~50 milliseconds
26
What is the distance of an NTP server from the original reference clock referred to as
Stratum
27
The farther away from a reference clock, the higher the ______ of the server
stratum
28
T/F: A reference clock is stratum 0 within the NTP hierarchy
T
29
What is a reference clock?
A very accurate timekeeping device like an atomic clock or a GPS clock
30
Describe a stratum 1 NTP server
An NTP server that is directly connected to a reference clock
31
T/F: Cisco devices generally can't get their time from a stratum 0 source
T Cisco devices generally need to be connected to a stratum 1 or higher source
32
T/F: A stratum 2 server is directly connected to a stratum 1 server and gets its time from the stratum 1 server
T Stratum 2 servers get their time from stratum 1 servers
33
T/F: A stratum 3 server is directly connected to a stratum 0 server and gets its time from the stratum 0 server
F Stratum 3 servers get their time from a stratum 2 server
34
What is the maximum stratum before an NTP server is considered unreliable
Stratum 15
35
T/F: NTP devices can peer with devices at the same stratum to provide a more accurate time and redundancy
T
36
When an NTP server is peered with another NTP server on the same stratum, it is referred to as being in ______
symmetric active mode
37
T/F: A Cisco device cannot be in server, client, and symmetric active mode (all 3) at the same time
F Cisco devices can operate in all 3 modes
38
T/F: An NTP client cannot sync to multiple servers at the same time
F An NTP client can sync to multiple NTP servers
39
NTP servers which get their time directly from reference clocks are referred to as _____
primary servers
40
Define an NTP primary server
One which is directly connected to a reference clock
41
T/F: Stratum 1 servers can also be called secondary servers
F They could be called primary servers
42
NTP servers which get thier time from other NTP servers are called ____
Secondary servers
43
Secondary servers operate in both ____ and ____ modes at the same time
Client, server
44
NTP servers with stratum 2 and above are ____
secondary servers
45
What is the command to add an NTP server to a Cisco device?
**ntp server** *ip-address*
46
What is the command to manually have a Cisco device prefer a certain NTP server?
**ntp server** *ip-address* **preferred**
47
What is the command to view NTP servers for a Cisco device?
**sh ntp associations**
48
What is the command to get an overview of the NTP configuration on a Cisco device
**sh ntp status**
49
T/F: NTP uses only the UTC time zone. To compensate, the time zone must be configured on the individual device
T
50
What is the command to configure a router to update the hardware clock with the time learned via NTP
**ntp update-calendar**
51
T/F: Normally, it is a bad idea to configure all devices to sync to public NTP servers in a small network
F Best practice is to use public NTP servers for small networks. NTP servers are only needed for larger enterprise networks
52
What is the command to change the source interface for NTP messages on a Cisco router?
**ntp source** *interface*
53
Why is is best practice to configure the NTP source int as a loopback int?
Since loopbacks can't physically fail, there is no possibility for an interface failure to cause a device to loose its NTP connection. tl;dr reduces failure probability
54
After manually configuring the system clock and issuing the **ntp server 1.1.1.1** command, what should be done to complete a basic NTP client configuration?
Nothing, the basic configuration is complete.
55
Issuing the **ntp server** command from global config mode enables ______
NTP static client mode
56
R1 is connected to a subnet of NTP stratum 1 servers on its g0/0 interface. We want to configure R1 to receive its time from any NTP server on this connected subnet. What command should be issued?
**ntp broadcast client** on g0/0
57
TOCK is an NTP stratum 2 server with the IP address 10.255.0.1 We want to configure R1 to synchronize its time from TOCK. What command should be issued to accomplish this?
**ntp server 10.255.0.1**
58
R1 is configured to synchronize its time from TOCK, a stratum 2 NTP server. We want to configure R1 to act as an NTP server for its connected devices, while R1 still synchronizes with TOCK. What command should be issued to accomplish this?
**ntp master 3** R1 gets its time from TOCK, a stratum 2 server, so it is therefore stratum 3
59
Issuing the **ntp peer** command from global config mode enables _____
NTP symmetric active mode