Enterasys Networks 9033900-04 manual Using the CLI to Configure Sntp, TAIPEI, Beijing

Models: 9033900-04

1 316
Download 316 pages 29.09 Kb
Page 80
Image 80

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 Exec mode.

RoamAbout 3000#configure

Enter configuration commands, one per line. End with CTRL/Z

RoamAbout 3000(config)#sntp-server

ip 1 10.1.0.19

RoamAbout 3000(config)#sntp-server

enable

RoamAbout 3000(config)#sntp-server

timezone +8

RoamAbout 3000(config)#sntp-server

daylight-saving

Enter Daylight saving from which month<1-12>: 3

and which day<1-31>: 31

month<1-12>: 10

Enter Daylight saving end to which

and which day<1-31>: 31

 

RoamAbout 3000(config)#exit

 

RoamAbout 3000#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 3000#

The following example shows how to manually set the system time when SNTP server support is disabled on the access point.

RoamAbout 3000#configure

Enter configuration commands, one per line. End with CTRL/Z

RoamAbout 3000(config)#no sntp-server enable

RoamAbout 3000(config)#sntp-server date-time

Enter Year<1970-2100>: 2003

Enter Month<1-12>: 10

Enter Day<1-31>: 10

Enter Hour<0-23>: 18

Enter Min<0-59>: 35

RoamAbout 3000(config)#exit

RoamAbout 3000#

4-46 Advanced Configuration

Page 80
Image 80
Enterasys Networks 9033900-04 manual Using the CLI to Configure Sntp, TAIPEI, Beijing