Академический Документы
Профессиональный Документы
Культура Документы
Configuring SNTP
You can configure the switch to send time synchronization requests to time servers.
Command Attributes
# SNTP Client $ Configures the switch to operate as an SNTP client. This requires at least one time server to be specified in the SNTP Server field. (Default: Disabled) # SNTP Poll Interval $ Sets the interval between sending requests for a time update from a time server. (Range: 16-16384 seconds; Default: 16 seconds) # SNTP Server $ Sets the IP address for up to three time servers. The switch attempts to update the time from the first server, if this fails it attempts an update from the next server in the sequence.
4-50
Downloaded from www.Manualslib.com manuals search engine
Figure 4-24 SNTP Configuration CLI $ This example configures the switch to operate as an SNTP client and then displays the current time and settings.
Console(config)#sntp client Console(config)#sntp poll 16 Console(config)#sntp server 10.1.0.19 137.82.140.80 128.250.36.2 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# 20-48 20-50 20-49 20-51
Command Attributes
# Current Time $ Displays the current time. # Name $ Assigns a name to the time zone. (Range: 1-29 characters) # Hours (0-13) $ The number of hours before/after UTC.
4-51
Downloaded from www.Manualslib.com manuals search engine
Figure 4-25 Clock Time Zone CLI - This example shows how to set the time zone for the system clock.
Console(config)#clock timezone Dhaka hours 6 minute 0 after-UTC Console# 20-52
4-52
Downloaded from www.Manualslib.com manuals search engine