- How do you mean , seems like the clock command allows you to set time and date ?
Here is how to set up the clock manually :
Can you post-show version, like to see your reg value.
I just tried upgrading to 17
% Invalid input detected at '^' marker.
Cisco IOS XE Software, Version 17.01.01
Cisco IOS Software [Amsterdam], ISR Software (X86_64_LINUX_IOSD-UNIVERSALK9-M), Version 17.1.1, RELEASE SOFTWARE (fc3)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2019 by Cisco Systems, Inc.
Compiled Fri 22-Nov-19 03:43 by mcpre
Cisco IOS-XE software, Copyright (c) 2005-2019 by cisco Systems, Inc.
All rights reserved. Certain components of Cisco IOS-XE software are
licensed under the GNU General Public License ("GPL") Version 2.0. The
software code licensed under GPL Version 2.0 is free software that comes
with ABSOLUTELY NO WARRANTY. You can redistribute and/or modify such
GPL code under the terms of GPL Version 2.0. For more details, see the
documentation or "License Notice" file accompanying the IOS-XE software,
or the applicable URL provided on the flyer accompanying the IOS-XE
ROM: IOS-XE ROMMON
VOIP01 uptime is 2 hours, 38 minutes
Uptime for this control processor is 2 hours, 40 minutes
- Could you try entering the command clock calendar-valid in configuration mode (conf t) and try the update and read commands again afterwards. This command makes sure that the hardware clock gets trusted.
I have ISR 4K with a different version: below command works fine -
can you post the output clock? ( config or # mode)
4.3Clock ManagementClock management is restricted to the privileged administrator. Use the commands below to configuring the time and date:
router(config)# clock timezone zone hours-offset [minutes-offset]
router(config)# clock summer-time zone recurring [week day month hh:mm week day month hh:mm [offset]
]router(config)# clock summer-time zone date date month year hh:mm:ss date month year hh:mm:ss [offset]
router(config)# exitrouter# clock set hh:mm:ss date month year
set Set the time and date
Enter configuration commands, one per line. End with CNTL/Z.
calendar-valid Calendar time is authoritative
summer-time Configure summer (daylight savings) time
timezone Configure time zone
>I set the time through the WEB interface, and this worked. After rebooting clock was now saved to the hardware clock.
- How where you able to verify this statement ?
It is battery driven, and the router has a battery on the mainboard (i opended it)
Im pretty sure it is not broken, since the router remembers the hardware clock, my problem is that i cant adjust the hardware time.
- Not sure, you may want to issue show tech-support , analyze the output and check if there are any references to the hardware clock and or it's status. Further more check the link below and if the command-set (system verify) is available try them out and generate a detailed report. Then also look for references concerning the hardware clock :