Set the Hardware Clock with the Time Derived from NTP
Task
Periodically update the system hardware clock with the time
value derived from NTP.
Figure 45-4. Displaying the Calculated NTP Synchronization Variables
R5/R8(conf)#do show calendar
06:31:02 UTC Mon Mar 13 1989
R5/R8(conf)#ntp update-calendar 1
R5/R8(conf)#do show calendar
06:31:26 UTC Mon Mar 13 1989
R5/R8(conf)#do show calendar
12:24:11 UTC Thu Mar 12 2009
Configure NTP broadcasts
With FTOS, you can receive broadcasts of time information. You can set interfaces within the system to
receive NTP information through broadcast.
To configure an interface to receive NTP broadcasts, use the following commands in the INTERFACE
mode:
Task
Set the interface to receive NTP packets.
Table 45-1.
2w1d11h : NTP: Maximum Slew:-0.000470, Remainder = -0.496884
Disable NTP on an interface
By default, NTP is enabled on all active interfaces. If you disable NTP on an interface, FTOS drops any
NTP packets sent to that interface.
To disable NTP on an interface, use the following command in the INTERFACE mode:
Command Syntax
ntp disable
To view whether NTP is configured on the interface, use the
ntp disable
mode. If
config
command displays only non-default configuration information.)
Command Mode
INTERFACE
show config
is not listed in the
Command
ntp update-calendar
Command
ntp broadcast client
Purpose
Disable NTP on the interface.
show config
command in the INTERFACE
command output, then NTP is enabled. (The
Command Mode
CONFIGURATION
Command
INTERFACE
show
System Time and Date | 891