Cisco WLC 2504控制器重启后所有AP掉线故障-系统日期时间

1 故障描述

现场1台WLC 2504控制器掉电重启后,所有AP均无线上线,

正常时共有18个AP在线,而当前为0

AP在线数量为0

(Cisco Controller) >show ap sum

Number of APs.................................... 0

Global AP User Name.............................. Not Configured
Global AP Dot1x User Name........................ Not Configured

2 查看WLC日期和时间

(Cisco Controller) >show time 

Time............................................. Sat May  4 15:07:24 2000

Timezone delta................................... 0:0
Timezone location................................ (GMT +8:00) HongKong, Bejing, Chongquing

NTP Servers
    NTP Version..................................     3
    NTP Polling Interval.........................     600

     Index     NTP Key Index                  NTP Server                Status          NTP Msg Auth Status
    -------  ---------------------------------------------------------------------

当前时间为2024.5.4 ,而控制器时间变成了2000年,所以导致AP无法上线

原因是WLC 2504上的板载电池失效,一旦掉电重启,系统时间就会恢复到2000年

3 处理方法

需要手工修改系统时间,或指定NTP SERVER

以下是手工修改时间的方法

3.1 命令行修改方法

(Cisco Controller) >config time manual 05/04/24 15:07:00

命令完成后,show time查看日期和时间

(Cisco Controller) >show time 

Time............................................. Sat May  4 15:07:24 2024

Timezone delta................................... 0:0
Timezone location................................ (GMT +8:00) HongKong, Bejing, Chongquing

NTP Servers
    NTP Version..................................     3
    NTP Polling Interval.........................     600

     Index     NTP Key Index                  NTP Server                Status          NTP Msg Auth Status
    -------  ---------------------------------------------------------------------

此时再确认AP上线状态

AP正常上线,数量 18个

(Cisco Controller) >show ap summary 

Number of APs.................................... 18

Global AP User Name.............................. Not Configured
Global AP Dot1x User Name........................ Not Configured

AP Name                         Slots  AP Model              Ethernet MAC       Location              Country     IP Address       Clients  DSE Location  
------------------------------  -----  --------------------  -----------------  --------------------  ----------  ---------------  -------  --------------
2L-2                            2      AIR-AP2802I-H-K9       aa:bb:cc:6f:e8:2c  default location      CN          10.248.100.1    0        [0 ,0 ,0 ]
4L-1                            2      AIR-AP2802I-H-K9       aa:bb:cc:6f:e6:da  default location      CN          10.248.100.2     0        [0 ,0 ,0 ]
4L-3                            2      AIR-AP2802I-H-K9       aa:bb:cc:19:70:d2  default location      CN          10.248.100.3     0        [0 ,0 ,0 ]
2L-1                            2      AIR-AP2802I-H-K9       aa:bb:cc:bf:6b:56  default location      CN          10.248.100.4     0        [0 ,0 ,0 ]
2L-3                            2      AIR-AP2802I-H-K9       aa:bb:cc:bf:6a:bc  default location      CN          10.248.100.5    0        [0 ,0 ,0 ]
4L-2                            2      AIR-AP2802I-H-K9       aa:bb:cc:82:2e:d0  default location      CN          10.248.100.6     0        [0 ,0 ,0 ]
3L-07                           2      AIR-AP1832I-H-K9       aa:bb:cc:42:1e:40  default location      CN          10.248.100.7    7        [0 ,0 ,0 ]
3L-10                           2      AIR-AP1832I-H-K9       aa:bb:cc:42:14:f0  default location      CN          10.248.100.8    1        [0 ,0 ,0 ]
2L-4                            2      AIR-AP2802I-H-K9       aa:bb:cc:bf:6a:b8  default location      CN          10.248.100.9     1        [0 ,0 ,0 ]
3L-6                            2      AIR-AP2802I-H-K9       aa:bb:cc:6f:e6:dc  default location      CN          10.248.100.10    0        [0 ,0 ,0 ]
3L-2                            2      AIR-AP2802I-H-K9       aa:bb:cc:6f:e7:94  default location      CN          10.248.100.11     1        [0 ,0 ,0 ]
3L-3                            2      AIR-AP2802I-H-K9       aa:bb:cc:bf:6b:f8  default location      CN          10.248.100.12     0        [0 ,0 ,0 ]
3L-4                            2      AIR-AP2802I-H-K9       aa:bb:cc:82:1d:2a  default location      CN          10.248.100.13    0        [0 ,0 ,0 ]
3L-5                            2      AIR-AP2802I-H-K9       aa:bb:cc:bf:6a:b4  default location      CN          10.248.100.14    0        [0 ,0 ,0 ]

3.2 也可以通过GUI进行时间的修改