Clock Protocol - HP FlexFabric 7900 Series Command Reference Manual

Hide thumbs Also See for FlexFabric 7900 Series:
Table of Contents

Advertisement

clock summer-time
clock timezone
display clock

clock protocol

Use clock protocol to specify the system time source.
Use undo clock protocol to restore the default.
Syntax
clock protocol { none | ntp mdc mdc-id }
undo clock protocol
Default
The device uses the NTP time source specified on the default MDC.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
none: Uses the local system time, which is set by using the clock datetime command. After you
specify this keyword, you can use the clock datetime, clock timezone, or clock summer-time
command to change the system time.
ntp: Uses the time protocol NTP. If you specify this keyword, you cannot change the system time at
the CLI. You must configure NTP to get the system time. For more information about NTP, see
Network Management and Monitoring Configuration Guide.
mdc mdc-id: Specifies the MDC to be used for time synchronization.
Usage guidelines
Correct system time is essential to network management and communication. You must configure
the system time correctly before you run the device on the network.
The device can use the locally set system time, or obtain the UTC time from an NTP source and
calculate the system time.
If you configure the clock protocol none and clock datetime commands in turn, the device
uses the locally set system time. The device then uses the clock signals generated by its built-in
crystal oscillator to maintain the system time.
If you configure the clock protocol ntp mdc mdc-id command, the device obtains the UTC
time through NTP and calculates the system time. The device then periodically synchronizes
the UTC time and recalculates the system time. For more information about NTP, see Network
Management and Monitoring Configuration Guide.
The system time calculated by using the UTC time from an NTP time source is more precise.
If you execute this command multiple times, the most recent configuration takes effect.
All MDCs on the device use the same system time. After obtaining the system time from an MDC, the
device automatically synchronizes the system time to the other MDCs.
Examples
# Configure the device to use the NTP time source.
191

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents