Accton Technology ES3552XA Switch User Manual


 
Configuring the Switch
3-36
3
CLI – This example configures the switch to operate as an SNTP unicast client and
then displays the current time and settings.
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)
Authenticate Key Specifies the number of the key in the NTP Authentication Key
List to use for authentication with the configured server. The authentication key
must match the key configured on the NTP server.
Key Number A number that specifies a key value in the NTP Authentication Key
List. Up to 255 keys can be configured in the NTP Authentication Key List. Note
that key numbers and values must match on both the server and client. (Range:
1-65535)
Key Context Specifies an MD5 authentication key string. The key string can be
up to 32 case-sensitive printable ASCII characters (no spaces).
Web – Select NTP/SNTP, Configuration. Modify any of the required parameters, and
click Apply.
Console(config)#sntp server 10.1.0.19 137.82.140.80 128.250.36.2 4-55
Console(config)#sntp poll 60 4-56
Console(config)#sntp client 4-54
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#