System Log
Using the CLI to Configure SNTP
To enable SNTP support on the access point, from the global configuration mode specify SNTP server IP addresses using the sntp‐server ip command, then use the sntp‐server enable command to enable the service. Use the sntp‐server timezone command to set the time zone for your location, and the sntp‐server daylight‐saving command to set daylight savings. To view the current SNTP settings, use the show sntp command from the Executive mode.
Examples
RoamAbout 4102#configure
Enter configuration commands, one per line. End with CTRL/Z
RoamAbout | ip 1 10.1.0.19 |
RoamAbout | enable |
RoamAbout | timezone +8 |
RoamAbout | |
Enter Daylight saving from which | |
and which | |
Enter Daylight saving end to which | |
and which |
|
RoamAbout 4102(config)#exit |
|
RoamAbout 4102#show sntp |
|
SNTP Information
=========================================================
Service State |
| : Enabled |
SNTP (server 1) | IP: 10.1.0.19 | |
SNTP (server 2) | IP: 192.43.244.18 | |
Current Time | : 19 | : 35, Oct 10th, 2003 |
Time Zone | : +8 | (TAIPEI, BEIJING) |
Daylight Saving | : Enabled, from Mar, 31th to Oct, 31th |
=========================================================
RoamAbout 4102#
The following example shows how to manually set the system time when SNTP server support is disabled on the access point.
RoamAbout 4102#configure
Enter configuration commands, one per line. End with CTRL/Z
RoamAbout 4102(config)#no
RoamAbout
Enter
Enter
Enter
Enter
Enter
RoamAbout 4102(config)#exit
RoamAbout 4102#
RoamAbout