31.
NTP Client Description
MN700004 Rev 01
346
KEY
A string of 1 to 20 non-blank characters (some special characters, such as question marks,
are not allowed). Case-sensitive.
Example
The following example adds an MD5 authentication key with key ID of 27 and plain-text key
qwerty
.
device-name
(config)#
time-server ntp key add 27 qwerty
time-server ntp key delete
The
time-server ntp key delete
command, in Global Configuration mode, deletes the
existing MD5 authentication key.
Command Syntax
device-name
(config)#
time-server ntp key delete
[
<KEY-ID> KEY
]
Argument Description
KEY-ID
A number in the range <1-65535>.
KEY
(Optional) A string of 1 to 20 non-blank characters (some special characters, such as
question marks, are not allowed).
time-server ntp key show
The
time-server ntp key show
command, in Global Configuration mode, displays the
existing MD5 authentication key ID and string.
Command Syntax
device-name
(config)#
time-server ntp key show
Example
The following example adds an MD5 authentication key with key ID of 27 and plain-text key
qwerty
.
device-name
(config)#
time-server ntp key show
Current ntp authentication key:
1 qwerty
Running the NTP Server
The following commands start and stop NTP-Server polling.