357
39.4 sntp timezone
Command: sntp timezone <name> [{add | subtract}] [<time_difference>]
no sntp timezone
Function: Set the difference between local time and UTC time. The no operation of this
command cancels the configuration timezone and restores the default value.
Parameter: <name> is the name of local timezone, consist of max 16 characters. <add>
means the timezone equals the UTC time add <time_difference>.<subtract>means the
timezone equals the UTC time subtract <time_difference>.<time-difference> is the time
difference to UTC time, range from 0 to 12,the default value is 8 .
Default: Add 8 is default timezone.
Command Mode: Global Mode
Example: Set the timezone Beijing.
Switch#config
Switch(config)#sntp timezone beijing add 8
39.5 show sntp
Command: show sntp
Function: Displays current SNTP client configuration and server status.
Parameters: N/A.
Command Mode: Admin and Configuration Mode.
Example: Displaying current SNTP configuration.
Switch#show sntp
SNTP server Version Last Receive
2.1.0.2 1 6