cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
576
Views
0
Helpful
1
Replies

Change timezone for new style debugging output

SMD28316
Level 1
Level 1

Is it possible to change the timezone for the new style debugging commands, like these for example:

# set platform software trace smd switch active R0 radius debug 
# set platform software trace smd switch active R0 dot1x-all debug 
# set platform software trace smd switch active R0 epm-all

because the output is shown in a different timezone than the configured:

SW#!!!!! The switch timezone is UTC
SW#show clock detail
*20:07:43.806 UTC Thu Jul 1 2021
SW#!!!! Time in debugging is not UTC 
SW#show platform software trace message smd switch active R0
This command is being deprecated. Please use 'show logging process' command.
executing cmd on chassis 1 ...
Collecting files on current[1] chassis.
# of files collected = 1

/crashinfo/tracelogs/tmp_trace/smd_R0-0.22766_0.20210701121332.bin: DECODE(306:306:0:18)
2021/07/01 12:13:40.583 {smd_R0-0}{1}: [tdldb-assist] [22766]: (note): tdldb assist notf timeout: Application has been notified. Further registrations will be disallowed


I can't figure out if the time is in 24 or 12 hours format.

For example in the legacy debugging I could do this:

# service timestamps debug datetime localtime
# service timestamps debug datetime localtime show-timezone

Can I do something similiar for:

show platform software trace message smd switch active

?

1 Reply 1

balaji.bandi
Hall of Fame
Hall of Fame

as I remember or maybe wrong - those set commands are old Cat OS.

 

can you post-show version from the device to know what device is this :

 

if this is latest Cat 9K here is configuration for time :

 

https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst9300/software/release/16-5/configuration_guide/sys_mgmt/b_165_sys_mgmt_9300_cg/administering_the_device.html

 

 

BB

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

How to Ask The Cisco Community for Help