Clock Commands
237
OL-32830-01 Command Line Interface Reference Guide
9
Parameters
N/A
Default Configuration
Authentication is disabled.
Command Mode
Global Configuration mode
Examples
The following example enables authentication for received SNTP traffic and sets
the key and encryption key.
switchxxxxxx(config)#
sntp authenticate
switchxxxxxx(config)#
sntp authentication-key 8 md5 ClkKey
switchxxxxxx(config)#
sntp trusted-key 8
9.10
sntp authentication-key
To define an authentication key for Simple Network Time Protocol (SNTP), use the
sntp authentication-key command in Global Configuration mode. To restore the
default configuration, use the no form of this command.
Syntax
sntp authentication-key
key-number
md5
key-value
encrypted sntp authentication-key
key-number
md5 encrypted-
key-value
no sntp authentication-key
key-number
Parameters
•
key-number
—Specifies the key number. (Range: 1–4294967295)
•
key-value
—Specifies the key value. (Length: 1–8 characters)
•
encrypted-key-value
—Specifies the key value in encrypted format.
Summary of Contents for 300 Series
Page 2: ......