24
2.6.7 NTP Command
Set up required configurations for Network Time Protocol.
Command
Parameter
Description
MCT-RACK(config)# ntp
Enable the Chassis to synchronize the
clock with a time server.
MCT-RACK(config)# ntp
daylight-saving
[recurring | date]
[recurring | date]
Enable the day light savings.
MCT-RACK(config)# ntp offset
[Mm,w,d,hh:mm-
Mm,w,d,hh:mm]
[Mm,w,d,hh:mm-
Mm,w,d,hh:mm]
Offset setting for daylight saving
function of recurring mode.
Mm=1-12, w=1-5, d=0-6(0=Sun,
6=Sat)
Hh=0-23, mm=0-59, Days=1-365
MCT-RACK(config)# ntp offset
[Days,hh:mm-Days,hh:mm]
[Days,hh:mm-
Days,hh:mm]
Offset setting for daylight saving
function of date mode.
Mm=1-12, w=1-5, d=0-6(0=Sun,
6=Sat)
Hh=0-23, mm=0-59, Days=1-365
MCT-RACK(config)# ntp
server1 [A.B.C.D]
[A.B.C.D]
Specify the primary time server IP
address.
MCT-RACK(config)# ntp
server2 [A.B.C.D]
[A.B.C.D]
Specify the secondary time server IP
address.
MCT-RACK(config)# ntp syn-
interval [1-8]
[1-8]
Specify the interval time to synchronize
from NTP time server.
The meanings
of the value:
1:1hr, 2:2hrs 3:3hrs 4:4hrs
5:6hrs 6:8hrs 7:12hrs 8:24hrs
MCT-RACK(config)# ntp time-
zone [0-132]
[0-132]
Specify the time zone to that the
Chassis belongs. Use any key to view
the complete code list of 132 time
zones. For example, “MCT-
RACK(config)# ntp time-
zone ?”
No command
MCT-RACK(config)# no ntp
Disable the Chassis to synchronize the
clock with a time server.
MCT-RACK(config)# no ntp daylight-saving
Disable the daylight saving function.
MCT-RACK(config)# no ntp offset
Set the offset value back to the default
setting.
MCT-RACK(config)# no ntp server1
Delete the primary time server IP
address.
MCT-RACK(config)# no ntp server2
Delete the secondary time server IP
address.
MCT-RACK(config)# no ntp syn-interval
Set the synchronization interval back to
the default setting.
MCT-RACK(config)# no ntp time-zone
Set the time-zone setting back to the