Reference v4.1.0 Instruction Manual

Network OS Command Reference 525
53-1003115-01
ntp authentication-key
2
ntp authentication-key
Creates an authentication key to associate with the NTP server.
Synopsis ntp authentication-key key-id md5 md5-string
no ntp authentication-key key-id
Operands key-id Specifies an ID for an authentication key. The range is from 1 through
65535.
md5 md5-string Specifies a string for the MD5 message-digest algorithm. The string can be
a maximum of 15 alphanumeric characters.
Defaults None
Command Modes Global configuration mode
Description Adds an NTP authentication key (made up of a ID and an MD5 string) to a list of authentication
keys in the database.
Usage Guidelines The maximum number of configurable NTP authentication keys is five. You cannot configure a
duplicate key ID with a different key string. Use the no ntp authentication-key key-id command to
remove the specified authentication key.
Examples To create an authentication key with an ID of 33 and an MD5 string called check:
switch# configure
switch(config)# ntp authentication-key 33 md5 check
See Also ntp server