Basic Configuration 3

Figure 3-21 SNTP Configuration

CLI – This example configures the switch to operate as an SNTP unicast client and then displays the current time and settings.

Console(config)#sntp server 10.1.0.19 137.82.140.80 128.250.36.2

4-66

Console(config)#sntp poll 60

4-67

Console(config)#sntp client

4-65

Console(config)#exit

 

Console#show sntp

 

Current time:

Jan 6 14:56:05 2004

 

Poll interval: 60

 

Current mode:

unicast

 

SNTP status : Enabled

 

SNTP server 10.1.0.19 137.82.140.80 128.250.36.2

 

Current server: 128.250.36.2

 

Console#

 

 

Configuring NTP

The NTP client allows you to configure up to 50 NTP servers to poll for time updates. You can also enable authentication to ensure that reliable updates are received from only authorized NTP servers. The authentication keys and their associated key number must be centrally managed and manually distributed to NTP servers and clients. The key numbers and key values must match on both the server and client.

Command Attributes

NTP Client – Configures the switch to operate as an NTP client. This requires at least one time server to be specified in the NTP Server list. (Default: Disabled)

NTP Polling Interval – Sets the interval between sending requests for a time update from NTP servers. (Range: 16-16384 seconds; Default: 16 seconds)

NTP Authenticate – Enables authentication for time requests and updates between the switch and NTP servers. (Default: Disabled)

NTP Server – Sets the IP address for an NTP server to be polled. The switch requests an update from all configured servers, then determines the most accurate time update from the responses received.

Version – Specifies the NTP version supported by the server. (Range: 1-3;

Default: 3)

3-35

Page 85
Image 85
Accton Technology ES3528M-SFP manual Configuring NTP, Sntp Configuration