Configure Cisco Switch as an Authoritative NTP Server

Configure Cisco Switch as an Authoritative NTP Server

Prev Question Next Question

Question

Which command is used to configure a switch as an authoritative NTP server?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

A

The correct answer to the question is A. switch(config)#ntp master 3.

Explanation:

NTP (Network Time Protocol) is a protocol used to synchronize the time on network devices. In a network, an authoritative NTP server is used to provide the accurate time to other devices. A switch can be configured as an authoritative NTP server by using the "ntp master" command.

The syntax of the "ntp master" command is:

switch(config)#ntp master stratum

where "stratum" is the stratum level of the NTP server. Stratum level is used to determine the reliability and accuracy of a time source. The stratum level of an authoritative NTP server is usually set to 1.

Therefore, the correct command to configure a switch as an authoritative NTP server with a stratum level of 3 is:

switch(config)#ntp master 3

Option B ("switch(config)#ntp peer 193.168.2.2") is used to configure a switch as a peer NTP server. A peer NTP server is a server that synchronizes its time with other NTP servers and shares its time with other devices on the network.

Option C ("switch(config)#ntp server 193.168.2.2") is used to configure a switch to use an external NTP server to synchronize its time.

Option D ("switch(config)#ntp source 193.168.2.2") is used to specify the source IP address for NTP packets sent by the switch.