HP 6125XLG R2306-HP 6125XLG Blade Switch Fundamentals Command Reference - Page 151
Device management commands, clock datetime
View all HP 6125XLG manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 151 highlights
Device management commands clock datetime Use clock datetime to set the UTC time. Syntax clock datetime time date Default The default UTC time is 00:00:00 on 01/01/2011. Views User view Predefined user roles network-admin Parameters time: Specifies a time in the format hh:mm:ss. The hh value is in the range of 0 to 23, the mm value is in the range of 0 to 59, and the ss value is in the range of 0 to 59. The leading zero in a segment can be omitted. If the seconds segment is 0 (hh:mm:00), you can omit it. If both the minutes and seconds segments are 0 (hh:00:00), you can omit both of the segments. For example, to specify 08:00:00, you can enter 8. date: Specifies a date in the format MM/DD/YYYY or YYYY/MM/DD. The YYYY value is in the range of 2000 to 2035, the MM value is in the range of 1 to 12, and the value range of DD depends on the month value. Usage guidelines When the system time source is the local system time, the UTC time determines the system time together with the local time zone and daylight saving time. You can use the display clock command to view the system time. A correct system time setting is essential to network management and communication. Set the system time correctly or use NTP to synchronize your device with a trusted time source before you run it on the network. Examples # Set the UTC time to 08:08:08 01/01/2012. clock datetime 8:8:8 1/1/2012 # Set the UTC time to 08:10:00 01/01/2012. clock datetime 8:10 2012/1/1 Related commands • clock summer-time • clock timezone • display clock 144