cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2791
Views
40
Helpful
10
Replies

Clock Timezome Command Issue On NXOS

Shaqxify
Level 1
Level 1

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

 

2 Accepted Solutions

Accepted Solutions

balaji.bandi
Hall of Fame
Hall of Fame

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 )

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

View solution in original post

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

View solution in original post

10 Replies 10

balaji.bandi
Hall of Fame
Hall of Fame

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 )

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

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

@balaji.bandiAnd The Date?

Regards,

Shaqx

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

@Georg PauwenThank you so much, I will run the configs and revert with my findings.

Regards,

Shaqx

@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

Hello,

 

good stuff, thanks for the update.

@Georg Pauwen @balaji.bandi 

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

 

 

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

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

balaji.bandi
Hall of Fame
Hall of Fame

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.

 

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help