09-18-2023 09:41 AM
Hi folks,
While troubleshooting an issue I noticed that the WLC 9800 CLI's log time does not match the GUI time or the time displayed when I run a show clock command.
Is there a way to sync up the log time with the configured time?
Thank you,
-Travis R.
Solved! Go to Solution.
09-18-2023 01:04 PM
Looks like WLC is not configured with a NTP server. Make sure you configure a NTP server and time is synch with it.
Then depend on what info you like to see in timestamp of logs, you can configure it using CLI below
service timestamps log datetime msec show-timezone year
HTH
Rasika
*** Pls rate all useful responses ***
09-18-2023 09:45 AM
can you post below output :
#show run | in logg
#show ntp ass
#show run | in clock
09-18-2023 10:02 AM
For reference, the redacted IP below is our DNAC node IP.
WLC-C9800-HA#show run | in logg
logging source-interface Vlan10
logging host [redacted]
logging synchronous
logging synchronous
logging synchronous
WLC-C9800-HA#
WLC-C9800-HA#show ntp ass
address ref clock st when poll reach delay offset disp
* sys.peer, # selected, + candidate, - outlyer, x falseticker, ~ configured
WLC-C9800-HA#
WLC-C9800-HA#show run | in clock
clock timezone EST -5 0
clock summer-time EST recurring
WLC-C9800-HA#
09-18-2023 01:04 PM
Looks like WLC is not configured with a NTP server. Make sure you configure a NTP server and time is synch with it.
Then depend on what info you like to see in timestamp of logs, you can configure it using CLI below
service timestamps log datetime msec show-timezone year
HTH
Rasika
*** Pls rate all useful responses ***
09-18-2023 01:15 PM
Thank you! This command actually did the trick---your answer guided me there:
service timestamps log datetime msec localtime show-timezone
03-31-2024 05:13 PM
Hello everything is fine?
I saw your answer and was in doubt.
What is the impact of applying this command in the production environment?
service timestamps log datetime msec show-time zone year
I think I have an NTP problem, the AP is not associating with a controller, but it has 12 APs in another store that are UPs.
Mar 28 17:45:29.642: %CAPWAPAC_SMGR_TRACE_MESSAGE-5-AP_JOIN_DISJOIN: Chassis 1 R0/1: wncd: AP Event: AP Name: AP1484.73F6.XXXX Mac: 1484.73a7.XXX Session-IP: 10.63.X.X[5262] 10.220.X.X[5246] Disjoined AP Auth Failure
Mar 28 17:46:50.417: %CAPWAPAC_SMGR_TRACE_MESSAGE-5-AP_JOIN_DISJOIN: Chassis 1 R0/1: wncd: AP Event: AP Name: AP1484.73F6.XXXX Mac: 1484.73a7.XXX Session-IP: 10.63.X.X[5262] 10.220.X.X[5246] Disjoined AP Auth Failure
Mar 28 17:48:11.569: %CAPWAPAC_SMGR_TRACE_MESSAGE-5-AP_JOIN_DISJOIN: Chassis 1 R0/1: wncd: AP Event: AP Name: AP1484.73F6.XXXX Mac: 1484.73a7.XXX Session-IP: 10.63.X.X[5262] 10.220.X.X[5246] Disjoined AP Auth Failure
Mar 28 17:49:32.733: %CAPWAPAC_SMGR_TRACE_MESSAGE-5-AP_JOIN_DISJOIN: Chassis 1 R0/1: wncd: AP Event: AP Name: AP1484.73F6.XXXX Mac: 1484.73a7.XXX Session-IP: 10.63.X.X[5262] 10.220.X.X[5246] Disjoined AP Auth Failure
Mar 28 17:50:53.881: %CAPWAPAC_SMGR_TRACE_MESSAGE-5-AP_JOIN_DISJOIN: Chassis 1 R0/1: wncd: AP Event: AP Name: AP1484.73F6.XXXX Mac: 1484.73a7.XXX Session-IP: 10.63.X.X[5262] 10.220.X.X[5246] Disjoined AP Auth Failure
Mar 28 17:52:15.037: %CAPWAPAC_SMGR_TRACE_MESSAGE-5-AP_JOIN_DISJOIN: Chassis 1 R0/1: wncd: AP Event: AP Name: AP1484.73F6.XXXX Mac: 1484.73a7.XXX Session-IP: 10.63.X.X[5262] 10.220.X.X[5246] Disjoined AP Auth Failure
09-19-2023 08:58 AM
as per the output there is not NTP config - suggest to config that should fix the issue
WLC-C9800-HA#show ntp ass
address ref clock st when poll reach delay offset disp
* sys.peer, # selected, + candidate, - outlyer, x falseticker, ~ configured
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