31.
NTP Client Description
MN700004 Rev 01
345
Command Syntax
device-name
(config)#
time-server ntp show
Example
The following example displays the three existing NTP servers.
device-name
(config)#
time-server ntp show
Current NTP server(s):
186.102.20.11
182.21.2.31
128.11.24.6
MD5 Authentication
NTP supports MD5 authentication. When using MD5 for the first time, you must assign it a
key, consisting of a key ID and a plain text key. Only one key can be defined.
The key ID is a number in the range <1-65535>. The plain text key is a string of 1 to 20 non-
blank characters (some special characters, such as question marks, are not allowed). The key
authentication is case-sensitive (it distinguishes between capital and small letters). Once the
key has been defined, NTP will use it to authenticate incoming data for all defined servers,
until the key is deleted.
Servers that don't use authentication or servers that use an incorrect NTP key for an associated
NTP client will be ignored.
Description of Commands
time-server ntp key add
The
time-server ntp key add
command, in Global Configuration mode, defines the MD5
authentication key.
Time synchronization can be authenticated to ensure that the local switch obtains its time
services only from known sources. This authentication key must be coordinated with the
administrator of the NTP server and must be matched by the servers used by the switch to
synchronize its time to the NTP server.
By default, network time synchronization is unauthenticated.
Command Syntax
device-name
(config)#
time-server ntp key add
<KEY-ID> KEY
Argument Description
KEY-ID
A number in the range <1-65535>.