12-07-2014 04:33 AM - edited 03-01-2019 07:44 AM
Hello,
I have a message like this:
Admin-CORE1_VDC# clock set 15:26:00 7 december 2014
Setting clock from CLI is not allowed in this VDC.
Use the following config command to use the "clock set" command.
clock protocol none vdc <vdc_id>
If I issue that command the message shows like this:
Admin-CORE1_VDC# clock protocol none vdc 2
^
% Invalid command at '^' marker.
Admin-CORE1_VDC# conf t
Enter configuration commands, one per line. End with CNTL/Z.
Admin-CORE1_VDC(config)# clock protocol none vdc 2
^
% Invalid command at '^' marker.
Admin-CORE1_VDC(config)#
Pleas advice:
Thanks,
Dani
05-04-2021 06:21 AM
You need to select the protocol as none if you are not using NTP or PTP in your environment. This will allow you to manually configure the time on you device.
NX-1(config)# clock protocol none
NX-1(config)# clock set 09:14:00 04 May 2021
Tue May 4 09:14:00 EST 2021
Time source is Hardware Calendar
03-14-2025 09:09 AM - edited 03-14-2025 09:14 AM
Hi
i had the same problem, i solved it in the following way
323_LAN_TELCO_CREC_BORDER2# sh clock
15:30:01.660 UTC Fri Mar 14 2025
Time source is NTP
323_LAN_TELCO_CREC_BORDER2# clock set 09:30:30 14 March 2025
Setting clock from CLI is not allowed in this VDC.
Use the following config command to use the "clock set" command.
clock protocol none vdc <vdc_id>
Resolved
323_LAN_TELCO_CREC_BORDER2(config)# clock protocol none
323_LAN_TELCO_CREC_BORDER2(config)# clock set 09:41:30 14 March 2025
Fri Mar 14 09:41:30 UTC 2025
323_LAN_TELCO_CREC_BORDER2(config)#
323_LAN_TELCO_CREC_BORDER2# sh clock
09:41:36.118 UTC Fri Mar 14 2025
Time source is Hardware Calendar
323_LAN_TELCO_CREC_BORDER2# conf t
323_LAN_TELCO_CREC_BORDER2(config)# clock protocol ntp vdc 1
323_LAN_TELCO_CREC_BORDER2# sh clock
15:44:35.375 UTC Fri Mar 14 2025
Time source is NTP
323_LAN_TELCO_CREC_BORDER2(config)# clock timezone GMT -6 -00
323_LAN_TELCO_CREC_BORDER2(config)# do sh cloc
09:46:12.687 GMT Fri Mar 14 2025
Time source is NTP
Saludos
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide