Which command must be entered when a device is configured as an NTP server?
Click on the arrows to vote for the correct answer
A. B. C. D.B.
The correct answer to the question is option D: ntp server.
When a device is configured as an NTP (Network Time Protocol) server, it can synchronize its clock with other devices on the network. This helps to ensure that all devices on the network have the correct time and can perform functions such as logging events accurately.
To configure a device as an NTP server, the "ntp server" command must be entered in global configuration mode. The syntax of the command is as follows:
cssntp server {ip-address | hostname} [version number] [key key-id] [prefer]
Where:
ip-address
or hostname
is the IP address or hostname of the NTP server the device will synchronize with.version number
is the version of the NTP protocol to use (optional).key key-id
is the authentication key ID to use for NTP packets (optional).prefer
specifies that this server should be preferred over other servers (optional).For example, to configure a device with the IP address 192.168.1.10 as an NTP server, the following command can be entered:
ntp server 192.168.1.10
This will configure the device to synchronize its clock with the NTP server located at 192.168.1.10.
In summary, when a device is configured as an NTP server, the "ntp server" command must be entered in global configuration mode to specify the NTP server the device will synchronize with.