mac

Commands for SNTP
554
Chapter 56 Commands for SNTP
56.1 clock timezone
Command: clock timezone WORD {add | subtract} <0-23> [<0-59>]
no clock timezone WORD
Function: This command configures timezone in global mode, the no command deletes
the configured timezone.
Parameters: WORD: timezone name, the length should not exceed 16
add | subtract: the action of timezone
<0-23>: the hour value
<0-59>: the minute value
Command Mode: Global mode
Default: None.
Usage Guide: The timezone name is invalid with the blank, the hour and minute value
must be in the specific range.
Example: Configure the action as add for the eighth timezone globally.
Switch(config)#clock timezone aaa add 8
56.2 debug sntp
Command: debug sntp {adjust | packet | select }
no debug sntp {adjust | packet | select}
Function: Displays or disables SNTP debug information.
Parameters: adjust stands for SNTP clock adjustment information; packet for SNTP
packets, select for SNTP clock selection.
Command mode: Admin Mode
Example: Displaying debugging information for SNTP packet.
Switch#debug sntp packet