C613-50170-01 Rev B
Command Reference for x510 Series
2546
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
NTP C
OMMANDS
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|sha1} <
key
> [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
To disable the authentication key number 134343 with the key value “mystring”,
use the commands:
awplus#
configure terminal
awplus(config)#
no 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
>
The authentication key. For SHA1, this is a 20 hexadecimal character
string. For MD5, this is a string of up to 31 ASCII characters.
trusted
Add this key to the list of authentication keys that this server trusts.