Clock Protocol; Clock Summer-Time - HP 6125XLG Command Reference Manual

Blade
Table of Contents

Advertisement

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 | ptp }
undo clock protocol
Default
The device uses the NTP time source.
Views
System view
Predefined user roles
network-admin
Parameters
none: Uses the local system time configured by using the clock datetime, clock timezone, and clock
summer-time commands.
ptp: Uses the PTP time source. When the device uses the PTP time source, you cannot change the system
time manually. For more information about PTP, see Network Management and Monitoring
Configuration Guide..
ntp: Uses the NTP time source. When the device uses the NTP time source, you cannot change the system
time manually. For more information about NTP, see Network Management and Monitoring
Configuration Guide.
Usage guidelines
If you configure this command multiple times, the most recent configuration takes effect.
Examples
# Configure the device to use the local system time.
<Sysname> system-view
[Sysname] clock protocol none

clock summer-time

Use clock summer-time to configure the device to use daylight saving time during a specific period of
time.
Use undo clock summer-time to cancel the configuration.
Syntax
clock summer-time name start-time start-date end-time end-date add-time
undo clock summer-time
192

Advertisement

Table of Contents
loading

Table of Contents