H3C交换机修改日期和时间

H3C交换机修改日期和时间

交换机型号:H3C 6805
交换机上当前日期时间错误,需要修改为正确时间:
正确北京时间:2026.2.23
当前交换机时间:2001/1/24

1 查看当前日期时间

命令:

display clock

示例:

<H3C-6805>display clock
15:59:08.382 UTC Wed 01/24/2001

2 修改时间

命令

clock datetime 时间  日期

示例:

clock datetime 9:38:30 2026/2/23

但报错如下:

<H3C-6805>clock datetime 9:38:30 2026/2/23
To manually set the system time, execute the clock protocol none command first.

3 需要在配置模式下取消clock protocol

<H3C-6805>sys
System View: return to User View with Ctrl+Z.
[H3C-6805]clock protocol none 

4 再次修改时间

<H3C-6805>clock datetime 9:38:30 2026/2/23

5 确认时间已经生效

命令:

display clock

示例:

<H3C-6805>display clo
09:38:31.835 UTC Mon 02/23/2026
posted @ 2026-02-23 09:47  JacobJacob  阅读(2)  评论(0)    收藏  举报  来源