How to configure N-Series for SNTP (Simple Network Time Protocol)

How to configure N-Series for SNTP (Simple Network Time Protocol)


To enable SNTP on the switch, do the following:

  1. Input these commands. This example is using the IP address 192.168.0.254 as the time server:

    console#enable

    console#configure

    console(config)#sntp server 192.168.0.254

    1. If the SNTP server is unicast:

      console(config)#sntp unicast client enable

    2. If the SNTP is broadcast:

      console(config)#sntp broadcast client enable

    Note: The switch must be able to reach the SNTP to be able to update its time. You can run the command console#ping(ip address of sntp) to see if the switch has connectivity to the SNTP server
  2. Run the following command to verify the switch as synched

    console(config)#show sntp status

    Note: The time will take about one to two minutes to update on the switch, the synchronization is not instant
  3. Set the time zone and summertime by running the following commands. This example uses Central Time -6, and summertime USA.

    console(config)#clock timezone -6 ( The offset in hours from UTC [-12 to 13] )

    console(config)#clock summer-time recurring USA

  4. The following command verifies current time:

    console#show clock







Article ID: HOW10353

Last Date Modified: 09/14/2019 12:38 AM


Rate this article

Accurate
Useful
Easy to understand
Was this article helpful?
Yes No
Send us feedback
Comments cannot contain these special characters: <>()\
Sorry, our feedback system is currently down. Please try again later.

Thank you for your feedback.