C613-50631-01 Rev A Command Reference for IE340 Series 3137
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
NTP COMMANDS
NTP
AUTHENTICATION-KEY
ntp authentication-key
Overview This command defines each of the authentication keys. Each key has a key number,
a type (MD5 or SHA1), and a value.
The no variant of this disables the authentication key.
Syntax
ntp authentication-key <keynumber> md5 <key-string> [trusted]
ntp authentication-key <keynumber> sha1 <key-string> [trusted]
When in secure mode, MD5 is not available and the syntax in config files will be:
ntp authentication-key <keynumber> sha1-encrypted
<encrypted-key-string> [trusted]
no ntp authentication-key <keynumber>
Mode Global Configuration
Examples To define an MD5 authentication key number 134343 and a key value ‘mystring’,
use the commands:
awplus# configure terminal
awplus(config)# ntp authentication-key 134343 md5 mystring
Parameter Description
<keynumber> <1-4294967295> An identification number for the
key.
md5 Define an MD5 key.
sha1 Define an SHA1 key.
<key-string> The authentication key. For SHA1, this is a 20
hexadecimal character string. For MD5, this is a
string of up to 31 ASCII characters.
sha1-encrypted This parameter indicates in running config that the
key is in its encrypted form instead of in plaintext.
If secure mode is enabled and you enter a SHA1
key, the running config will display this
sha1-encrypted parameter instead of sha1, and will
display the key in encrypted form.
Do not enter a key using the sha1-encrypted
parameter. Instead, enter sha1 and the
unencrypted key string.
<encrypted-key-string> The encrypted authentication key.
trusted Add this key to the list of authentication keys that
this server trusts.