C
HAPTER
20
| System Management Commands
Time
– 756 –
â—† NTP authentication is optional. If enabled with the ntp authenticate
command, you must also configure at least one key number using the
ntp authentication-key command.
â—† Use the no form of this command without an argument to clear all
configured servers in the list.
EXAMPLE
Console(config)#ntp server 192.168.3.20
Console(config)#ntp server 192.168.3.21
Console(config)#ntp server 192.168.5.23 key 19
Console(config)#
RELATED COMMANDS
ntp client (754)
show ntp (756)
show ntp This command displays the current time and configuration settings for the
NTP client, and indicates whether or not the local time has been properly
updated.
COMMAND MODE
Normal Exec, Privileged Exec
COMMAND USAGE
This command displays the current time, the poll interval used for sending
time synchronization requests, and the current NTP mode (i.e., unicast).
EXAMPLE
Console#show ntp
Current Time : Apr 29 13:57:32 2011
Polling : 1024 seconds
Current Mode : unicast
NTP Status : Disabled
NTP Authenticate Status : Enabled
Last Update NTP Server : 0.0.0.0 Port: 0
Last Update Time : Jan 1 00:00:00 1970 UTC
NTP Server 192.168.3.20 version 3
NTP Server 192.168.3.21 version 3
NTP Server 192.168.4.22 version 3 key 19
NTP Authentication Key 19 md5 42V68751663T6K11P2J307210R885
Console#