当cisco wlc无线控制器时间不正确时,可以通过GUI或CLI进行修改
下面是CLI命令行修改方式
无线控制器型号是AirOS系列 ; 新的Catalyst 9800系列跑的是IOS XE系统,不能使用以下命令。
command as following:
show time
config time timezone location 25
config time manual 6/31/2021 13:01:01
操作实例
查看时间
(Cisco Controller) >show time
Time… Tue Jun 1 01:15:05 2021
Timezone delta… 0:0
Timezone location…
NTP Servers
NTP Version… 3
NTP Polling Interval… 600
Index NTP Key Index NTP Server Status NTP Msg Auth Status
------- ---------------------------------------------------------------------
修改时区
中国是东8区,对应的编号是25,所以在最后输入25
(Cisco Controller) >config time timezone location 25
以下是各个时区对应的数字编号
<location_index> Enter the timezone location index.
1. (GMT-12:00) International Date Line West
2. (GMT-11:00) Samoa
3. (GMT-10:00) Hawaii
4. (GMT -9:00) Alaska
5. (GMT -8:00) Pacific Time (US and Canada)
6. (GMT -7:00) Mountain Time (US and Canada)
7. (GMT -6:00) Central Time (US and Canada)
8. (GMT -5:00) Eastern Time (US and Canada)
9. (GMT -4:00) Altantic Time (Canada)
10. (GMT -3:00) Buenos Aires (Agentina)
11. (GMT -2:00) Mid-Atlantic
12. (GMT -1:00) Azores
13. (GMT) London, Lisbon, Dublin, Edinburgh
14. (GMT +1:00) Amsterdam, Berlin, Rome, Vienna
15. (GMT +2:00) Jerusalem
16. (GMT +3:00) Baghdad
17. (GMT +4:00) Muscat, Abu Dhabi
18. (GMT +4:30) Kabul
19. (GMT +5:00) Karachi, Islamabad, Tashkent
20. (GMT +5:30) Colombo, Kolkata, Mumbai, New Delhi
21. (GMT +5:45) Katmandu
22. (GMT +6:00) Almaty, Novosibirsk
23. (GMT +6:30) Rangoon
24. (GMT +7:00) Saigon, Hanoi, Bangkok, Jakatar
25. (GMT +8:00) HongKong, Bejing, Chongquing
26. (GMT +9:00) Tokyo, Osaka, Sapporo
27. (GMT +9:30) Darwin
28. (GMT+10:00) Sydney, Melbourne, Canberra
29. (GMT+11:00) Magadan, Solomon Is., New Caledonia
30. (GMT+12:00) Kamchatka, Marshall Is., Fiji
31. (GMT+12:00) Auckland (New Zealand)
32. (GMT+10:30) Adelaide, South Australia
修改日期和时间
命令为 config time manual MM/DD/YY 时分秒
YY年份,只能使用2位数,即年份最后2位,比如2024年,只能输入24。如果输入2024就报错
(Cisco Controller) >config time manual 05/18/24 9:16:00
完成后,确认日期和时间
(Cisco Controller) >show time
Time............................................. Sat May 18 09:16:00 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
------- ---------------------------------------------------------------------