Foundry NetIron M2404C and M2404F Metro Access Switches
Switch Administration (Rev. 03)
Managing the System Time and Date © 2008 Foundry Networks, Inc.
Page 69 of 87
Adding an MD5 Authentication Key
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 device 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 device 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
[
A.B.C.D
]
Argument Description
key-id
The key number in the range <1-65535>.
KEY
A string of 1 to 20 non-blank characters. Some special characters, such as
question marks, are not allowed. The string is case-sensitive.
A.B.C.D
(Optional). NTP server address.
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
NOTE
In order to use the
time-server ntp key add
command,
time server ntp
should be
added first.
Removing the MD5 Authentication Key
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
]] [
A.B.C.D
]
Argument Description
key-id
The key 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. The string is case-sensitive.
A.B.C.D
(Optional). NTP server address.