Chapter 4
| System Management Commands
Time
– 140 –
NTP Commands
ntp authenticate
This command enables authentication for NTP client-server communications. Use
the
no
form to disable authentication.
Syntax
[
no
]
ntp authenticate
Default Setting
Disabled
Command Mode
Global Configuration
Command Usage
You can enable NTP authentication to ensure that reliable updates are received
from only authorized NTP servers. The authentication keys and their associated key
number must be centrally managed and manually distributed to NTP servers and
clients. The key numbers and key values must match on both the server and client.
Example
Console(config)#ntp authenticate
Console(config)#
Related Commands
ntp authentication-key (140)
ntp
authentication-key
This command configures authentication keys and key numbers to use when NTP
authentication is enabled. Use the
no
form of the command to clear a specific
authentication key or all keys from the current list.
Syntax
ntp authentication-key
number
md5
key
no ntp authentication-key
[number]
number - The NTP authentication key ID number. (Range: 1-65535)
md5
- Specifies that authentication is provided by using the message
digest algorithm 5.
key - An MD5 authentication key string. The key string can be up to 32 case-
sensitive printable ASCII characters (no spaces).
Default Setting
None