Example #5: setting time zone, Example #6: setting named sntp server – NETGEAR 7000 Series Managed Switch User Manual

Page 156

Advertising
background image

NETGEAR 7000 Series Managed Switch Administration Guide Version 7.2

18-4

Simple Network Time Protocol (SNTP)

v1.0, May 2008

Example #5: Setting Time Zone

The SNTP/NTP server is set to Coordinated Universal Time (UTC) by default. The
following example shows how to set the time zone to Pacific Standard Time (PST) which
is 8 hours behind GMT/UTC.

Example #6: Setting Named SNTP Server

Netgear provides SNTP servers accessible by Netgear devices.

Because Netgear may change IP addresses assigned to its time servers, it is best to access a SNTP
server by DNS name instead of using a hard-coded IP address. The public time servers available
are time-a, time-b, and time-c.

To use this feature, follow the steps below:

Enable a DNS name server and access a time server with the following commands:

where “192.168.1.1” is the public network gateway IP address for your device.

This method of setting DNS name look-up can be used for any other applications that require a
public IP address, for example, a RADIUS server.

(Netgear switch)(config)#clock timezone PST -8

(Netgear switch) (config)#ip domain-lookup

(Netgear switch) (config)#ip name-server 192.168.1.1

(Netgear switch) (config)#sntp server time-a.netgear.com

Advertising