Simple Network Time Protocol (SNTP) is the simplified version of Network Time Protocol (NTP). NTP is the protocol that is used to synchronize the clock on a network. It provides time within 100 milliseconds of the accurate time, but does not authenticate traffic.
The SNTP authentication page of the switch allows the administrator to configure NTP authentication keys to verify a time source. SNTP authentication should be used only in situations where strong authentication is not required as it does not provide the complex filtering mechanisms of NTP.
This document explains how to define SNTP Authentication through the Command Line Interface (CLI) of a switch. You may also configure SNTP authentication settings through the web-based utility of the switch. For instructions, click here.
Step 1. Access the CLI of the switch.
Note: In this example, PuTTY is the application used to access the switch CLI. The default username and password is cisco/cisco. If you have customized your credentials, use your username and password.
Step 2. Switch to Global Configuration mode by entering the following command:
Step 3. Define an SNTP Authentication Key using one of the following syntax:
Where:
Note: In this example, sntp authentication-key 121110 md5 cisco is entered.
Step 4. Switch to Global Configuration mode by entering the following command:
SG350X(config)#exitStep 5. (Optional) Enter the following command in Privileged EXEC mode to save the configuration.
SG350X#copy running-config startup-configStep 6. (Optional) Press Y to save the settings in the startup configuration of the switch otherwise, press N to proceed without saving the configuration to the startup configuration of the switch.
Note: In this example, Y is pressed.
Step 7. Verify the sntp authentication key with the following command:
SG350X#show sntp configurationNote: In this example, the MD5 Authentication keys are 121110 AR0EvVLMGAD24At8AbZCRXJgLKYwPRAx3qYDTZqk8Go=
You should now have configured an SNTP Authentication settings through the CLI of the switch.
© 2018 Cisco Systems, Inc. All rights reserved.
Revision | Publish Date | Comments |
---|---|---|
1.0 |
13-Dec-2018 |
Initial Release |