Command Line Interface
4-60
4
sntp client
This command enables SNTP client requests for time synchronization from NTP or
SNTP time servers specified with the
sntp servers
command. Use the
no
form to
disable SNTP client requests.
Syntax
[
no
]
sntp client
Default Setting
Disabled
Command Mode
Global Configuration
Command Usage
• The time acquired from time servers is used to record accurate dates and
times for log events. Without SNTP, the switch only records the time starting
from the factory default set at the last bootup (i.e., 00:00:00, Jan. 1, 2001).
• This command enables client time requests to time servers specified via the
sntp servers
command. It issues time synchronization requests based on the
interval set via the
sntp poll
command.
• SNTP and NTP clients cannot both be enabled at the same time.
Example
Related Commands
sntp server (4-61)
sntp poll (4-61)
show sntp (4-62)
clock summertime
(recurring)
Configures summer time (daylight savings time) for the switch’s
internal clock
GC
calendar set
Sets the system date and time
PE
show calendar
Displays the current date and time setting
NE, PE
Console(config)#sntp server 10.1.0.19
Console(config)#sntp poll 60
Console(config)#sntp client
Console(config)#end
Console#show sntp
Current time: Dec 23 02:52:44 2002
Poll interval: 60
Current mode: unicast
SNTP status: Enabled
SNTP server: 10.1.0.19 0.0.0.0 0.0.0.0
Current server: 10.1.0.19
Console#
Table 4-19 Time Commands
(Continued)
Command
Function
Mode
Page
Содержание 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 ...