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 9-6. Example of Specifying the SNTP Protocol Version NumberChanging the SNTP Poll Interval.

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

Specifies 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.)

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 to avoid changing the switch’s SNTP configuration.

Syntax:

no timesync

 

Halts time synchronization without changing the switch’s

 

SNTP configuration

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:

9-12