To specify an NTP configuration, use the ntp command in configuration mode with authenticate, authentication-key, server, and trusted-key commands.
ntp authentication-key <key id> md5 hash | plain <key value>
ntp server {ip-address | hostname} key <peer key number>
Use the ntp command to specify an NTP configuration.
To terminate NTP service on a device, you must enter the no ntp command with keywords or arguments such as authenticate, authentication-key, server, and trusted-key. For example, if you previously issued the ntp server command, use the no ntp command with server.
For more information on how to configure an NTP server, see ntp server.
authenticate Authenticate time sources
authentication-key Authentication key for trusted time sources
server Specify NTP server to use
trusted-key Key numbers for trusted time sources
Allows synchronization of the software clock by the NTP server for the system. |
|
Specifies key numbers for trusted time sources that needs to be defined as NTP authentication keys. |
|