Time Protocols

SNTP: Viewing, Selecting, and Configuring

Deletes unicast SNTP server entry.

Re-enters the unicast server with a non- default protocol version.

show sntp displays the result.

Figure 8-6. Example of Specifying the SNTP Protocol Version Number

Changing the SNTP Poll Interval. This command lets you specify how long the switch waits between time polling intervals. The default is 720 seconds and the range is 30 to 720 seconds. (This parameter is separate from the poll interval parameter used for Timep operation.)

Syntax: sntp poll-interval <30 . . 720>

For example, to change the poll interval to 300 seconds:

HPswitch(config)# sntp poll-interval 300

Disabling Time Synchronization Without Changing the SNTP Configuration. The recommended method for disabling time synchroniza­ tion is to use the timesync command. This halts time synchronization without changing your SNTP configuration.

Syntax: no timesync

For example, suppose SNTP is running as the switch’s time synchronization protocol, with Broadcast as the SNTP mode and the factory-default polling interval. You would halt time synchronization with this command:

HPswitch(config)# no timesync

If you then viewed the SNTP configuration, you would see the following:

Figure 8-7. Example of SNTP with Time Sychronization Disabled

8-12