Quick Reference Guide
Management | 79
The software clock runs only when the software is up. When the switch reboots, the clock restarts, based
on the hardware clock. If you set the date and time manually, and then set up SNTP, the automatic update
uses the SNTP update.
Use the
show clock command to check the accuracy of the system date and time.
SNTP Overview
SNTP:
• Is an adaptation of NTP
• Provides a synchronized network timestamp
• Can be used in broadcast or unicast mode
• Client is implemented over UDP, which listens on port 123
The SNTP command set consists of:
•
sntp broadcast client poll-interval poll-interval: Set the poll interval for SNTP broadcast clients in
seconds as a power of two, with a range from 6 to 16.
•
sntp client mode [broadcast | unicast]: Enable SNTP client mode and, optionally, set the mode to
either broadcast or unicast.
•
sntp client port port-ID [poll-interval]: Set the SNTP client port ID to a value from 1 to 65535. Then,
optionally, set the poll interval for that client in seconds, as a power of two, in the range from 6 to 10.
•
sntp unicast client poll-interval poll-interval: Set the poll interval for SNTP unicast clients in seconds
as a power of two, with a range from 6 to 16.
•
sntp unicast client poll-timeout timeout: Set the poll timeout for SNTP unicast clients in seconds to a
value from 1-30.
•
sntp unicast client poll-retry: Set the poll retry for SNTP unicast clients to a value from 0 to 10.
•
sntp server: Configure an SNTP server (maximum of three).
•
show sntp: Display SNTP settings and status.
•
show sntp client: Display SNTP client settings.
•
show sntp server: Display SNTP server settings and configured servers.