cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1563
Views
3
Helpful
6
Replies

Catalyst 9800-40 WLC CLI log time

t3rebello
Level 1
Level 1

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.

1 Accepted Solution

Accepted Solutions

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 ***

View solution in original post

6 Replies 6

balaji.bandi
Hall of Fame
Hall of Fame

can you post below output :

#show run | in logg

#show ntp ass

#show run | in clock

 

BB

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

How to Ask The Cisco Community for Help

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#

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 ***

Thank you! This command actually did the trick---your answer guided me there:

service timestamps log datetime msec localtime show-timezone

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


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

BB

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

How to Ask The Cisco Community for Help

Review Cisco Networking for a $25 gift card