12-13-2020 05:23 AM
Hello Guys,
I am setting up a Nexus 3548 and I noticed it is not accepting the normal timezone commands. Has anyone else experienced such?
HQS-BF-CSW-001(config)# clock timezone CAT -1
^
% Invalid command at '^' marker.
HQS-BF-CSW-001(config)#
HQS-BF-CSW-001# clock set 15:19:00
^
% Invalid command at '^' marker.
HQS-BF-CSW-001#
Software
BIOS: version 5.0.0
NXOS: version 9.2(2)
BIOS compile time: 05/22/2018
NXOS image file is: bootflash:///nxos.9.2.2.bin
NXOS compile time: 11/4/2018 21:00:00 [11/05/2018 06:11:06]
Regards,
Shaqx
Solved! Go to Solution.
12-13-2020 06:34 AM
the format should be as below :
clock timezone zone-name offset-hours offset-minutes
post below command output :
clock timezone ?
clock timezone CAT ? ( post the output )
clock timezone CAT -1 ? ( post the output )
12-13-2020 08:42 AM
Hello,
for the date, try the below:
HQS-BF-CSW-001#conf t
HQS-BF-CSW-001(config)# clock prot none
HQS-BF-CSW-001(config)# clock set 17:41:00 13 dec 2020
12-13-2020 06:34 AM
the format should be as below :
clock timezone zone-name offset-hours offset-minutes
post below command output :
clock timezone ?
clock timezone CAT ? ( post the output )
clock timezone CAT -1 ? ( post the output )
12-13-2020 07:06 AM
Hello @balaji.bandi
Thank you so much, I have used the timezone command but with lesser models. The lesser models "clock timezone CAT -1" this works. I didn't know that with the Nexus you put minutes too!!! "clock timezone CAT -1 00".
Regards,
Shaqx
12-13-2020 07:29 AM
12-13-2020 08:42 AM
Hello,
for the date, try the below:
HQS-BF-CSW-001#conf t
HQS-BF-CSW-001(config)# clock prot none
HQS-BF-CSW-001(config)# clock set 17:41:00 13 dec 2020
12-13-2020 09:44 AM
12-14-2020 03:23 AM
@Georg PauwenThank you so much it worked.
HQS-BF-CSW-001(config)# clock set 13:20:00 14 dec 2020
Mon Dec 14 13:20:00 CAT 2020
HQS-BF-CSW-001(config)#
Regards & Respect,
Shaqx
12-14-2020 03:27 AM
Hello,
good stuff, thanks for the update.
12-14-2020 06:33 AM
So I am setting up the NXOS to be the NTP Server for the entire network (25 switches)
On the NXOS I have set it as NTP Master.
Below is an output from one the switches
I have nominated one interfaces and set the "ntp broadcast client"
SWI-002#sh ntp st
Clock is synchronized, stratum 12, reference is 192.168.1.225
nominal freq is 286.1023 Hz, actual freq is 286.0996 Hz, precision is 2**19
ntp uptime is 75400 (1/100 of seconds), resolution is 3496
reference time is E381FBBE.9DA9C61F (16:12:02.615 CAT Mon Dec 14 2020)
clock offset is 2.3656 msec, root delay is 1.96 msec
root dispersion is 23.54 msec, peer dispersion is 4.10 msec
loopfilter state is 'CTRL' (Normal Controlled Loop), drift is 0.000009297 s/s
system poll interval is 64, last update was 277 sec ago.
HQS-F2-SWI-002#
HQS-F2-SWI-002#
HQS-F2-SWI-002#sh ntp ass
address ref clock st when poll reach delay offset disp
*~192.168.1.225 127.127.1.0 11 11 64 377 2.407 3.061 4.010
* sys.peer, # selected, + candidate, - outlyer, x falseticker, ~ configured
SWI-002#
How do I test that it is working, the "sh clock" command only gives the time of the local switch (this I have synced accordingly to my time zone).
Sorry if the question sounds dumb first time working with NTP on such a scale.
Regards & Respect,
Shaqx
12-14-2020 07:35 AM
i would as below :
ntp master 2
ntp server pool.ntp.org prefer -- you can change as per your region as source
ntp server pool1.ntp.org
ntp source-interface Ethernet1/1 << change this as source of interface
on the client you can point to nexus switch IP address as server.
testing
show ntp status
show ntp peers
12-13-2020 08:42 AM - edited 12-13-2020 09:00 AM
yes some syntax changed from IOS to IOSXE to NXOS, only easy way is? what option give you <CR> or any other option to condier.
#clock set HH:MM:SS 13 dec 2020
glad all sorted end. and thanks for ing as a lution.
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