Basic Configuration
3-37
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).
Note:
SNTP and NTP clients cannot both be enabled at the same time.
Console(config)#sntp server 10.1.0.19 137.82.140.80 128.250.36.2
Console(config)#sntp poll 60
Console(config)#sntp client
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#
Содержание iES4028F
Страница 1: ...iES4028F 4028FP 4024GP ...
Страница 2: ...iES4028F iES4028FP iES4024GP E082008 ST R03 149100041800A 149100040200A 149100041700A 149100000020A ...
Страница 4: ...iv This page is intentionally left blank ...
Страница 10: ...x This page is intentionally left blank ...
Страница 28: ...Contents xxviii This page is intentionally left blank ...
Страница 32: ...Tables xxxii This page is intentionally left blank ...
Страница 46: ...Introduction 1 10 1 This page is intentionally left blank ...
Страница 336: ...Configuring the Switch 3 280 3 This page is intentionally left blank ...
Страница 688: ...Command Line Interface 4 352 4 This page is intentionally left blank ...
Страница 702: ...Glossary Glossary 8 This page is intentionally left blank ...
Страница 710: ...Index 8 Index This page is intentionally left blank ...
Страница 711: ...This page is intentionally left blank ...
Страница 712: ...iES4028F 4028FP 4024GP ...