千家信息网

Cisco WLC 5520在HA模式下系统升级和AP升级的过程

发表于:2025-01-20 作者:千家信息网编辑
千家信息网最后更新 2025年01月20日,上传升级镜像通过FTP上传镜像到WLC查看镜像上传成功(Cisco Controller) >show bootPrimary Boot Image..........................
千家信息网最后更新 2025年01月20日Cisco WLC 5520在HA模式下系统升级和AP升级的过程

上传升级镜像

通过FTP上传镜像到WLC

查看镜像上传成功

(Cisco Controller) >show bootPrimary Boot Image............................... 8.5.151.0 (default)Backup Boot Image................................ 8.5.140.0 (active)

查看AP当前运行版本

(Cisco Controller) >show ap image allTotal number of APs.............................. 69Number of APs        Initiated....................................... 0        Downloading..................................... 0        Predownloading.................................. 0        Completed predownloading........................ 0        Not Supported................................... 0        Failed to Predownload........................... 0                                                 Predownload     Predownload                                  FlexconnectAP Name            Primary Image  Backup Image   Status          Version        Next Retry Time  Retry Count  Predownload------------------ -------------- -------------- --------------- -------------- ---------------- ------------ --------------pekidg-ap31-301    8.5.140.0      8.2.166.0      None            None           NA               NApekidg-ap22-608    8.5.140.0      8.2.166.0      None            None           NA               NApekidg-ap29-302    8.5.140.0      8.2.166.0      None            None           NA               NApekidg-ap04-N135   8.5.140.0      8.2.166.0      None            None           NA               NApekidg-ap10-302    8.5.140.0      8.2.166.0      None            None           NA               NApekidg-ap18-S062   8.5.140.0      8.2.166.0      None            None           NA               NApekidg-ap12-301    8.5.140.0      8.2.166.0      None            None           NA               NApekidg-ap02-707    8.5.140.0      8.2.166.0      None            None           NA               NApekidg-ap30-301    8.5.140.0      8.2.166.0      None            None           NA               NA

推送新镜像到AP

(Cisco Controller) >config ap image predownload primary all

查看推送过程

(Cisco Controller) >show ap image allTotal number of APs.............................. 69Number of APs        Initiated....................................... 0        Downloading..................................... 0        Predownloading.................................. 69        Completed predownloading........................ 0        Not Supported................................... 0        Failed to Predownload........................... 0                                                 Predownload     Predownload                                  FlexconnectAP Name            Primary Image  Backup Image   Status          Version        Next Retry Time  Retry Count  Predownload------------------ -------------- -------------- --------------- -------------- ---------------- ------------ --------------pekidg-ap31-301    8.5.140.0      8.2.166.0      Predownloading  8.5.151.0      NA               0pekidg-ap22-608    8.5.140.0      8.2.166.0      Predownloading  8.5.151.0      NA               0pekidg-ap29-302    8.5.140.0      8.2.166.0      Predownloading  8.5.151.0      NA               0pekidg-ap04-N135   8.5.140.0      8.2.166.0      Predownloading  8.5.151.0      NA               0pekidg-ap10-302    8.5.140.0      8.2.166.0      Predownloading  8.5.151.0      NA               0pekidg-ap18-S062   8.5.140.0      8.2.166.0      Predownloading  8.5.151.0      NA               0pekidg-ap12-301    8.5.140.0      8.2.166.0      Predownloading  8.5.151.0      NA               0pekidg-ap02-707    8.5.140.0      8.2.166.0      Predownloading  8.5.151.0      NA               0pekidg-ap30-301    8.5.140.0      8.2.166.0      Predownloading  8.5.151.0      NA               0pekidg-ap20-S038   8.5.140.0      8.2.166.0      Predownloading  8.5.151.0      NA               0

推送成功

(Cisco Controller) >show ap image allTotal number of APs.............................. 69Number of APs        Initiated....................................... 0        Downloading..................................... 0        Predownloading.................................. 1        Completed predownloading........................ 68        Not Supported................................... 0        Failed to Predownload........................... 0                                                 Predownload     Predownload                                  FlexconnectAP Name            Primary Image  Backup Image   Status          Version        Next Retry Time  Retry Count  Predownload------------------ -------------- -------------- --------------- -------------- ---------------- ------------ --------------pekidg-ap31-301    8.5.140.0      8.5.151.0      Complete        8.5.151.0      NA               NApekidg-ap22-608    8.5.140.0      8.5.151.0      Complete        8.5.151.0      NA               NApekidg-ap29-302    8.5.140.0      8.5.151.0      Complete        8.5.151.0      NA               NApekidg-ap04-N135   8.5.140.0      8.5.151.0      Complete        8.5.151.0      NA               NApekidg-ap10-302    8.5.140.0      8.5.151.0      Complete        8.5.151.0      NA               NApekidg-ap18-S062   8.5.140.0      8.5.151.0      Complete        8.5.151.0      NA               NApekidg-ap12-301    8.5.140.0      8.5.151.0      Complete        8.5.151.0      NA               NApekidg-ap02-707    8.5.140.0      8.5.151.0      Complete        8.5.151.0      NA               NApekidg-ap30-301    8.5.140.0      8.5.151.0      Complete        8.5.151.0      NA               NApekidg-ap20-S038   8.5.140.0      8.5.151.0      Complete        8.5.151.0      NA               NA

确认WLC HA 状态正常

(Cisco Controller) >show redundancy summary            Redundancy Mode = SSO ENABLED                Local State = ACTIVE                 Peer State = STANDBY HOT                       Unit = Primary                    Unit ID = 28:AC:9E:DF:93:D1           Redundancy State = SSO               Mobility MAC = 28:AC:9E:DF:93:D1               Redundancy Port  = UP            BulkSync Status = CompleteAverage Redundancy Peer Reachability Latency = 102 Micro SecondsAverage Management Gateway Reachability Latency = 863 Micro Seconds

重启WLC

配置00:01:10之后重启,时间太短报错

(Cisco Controller) >reset system both in 00:01:10 image swap reset-aps save-configTime period is too short.

推荐配置00:02:01之后重启,both表示重启2台WLC。(有可能重启之后AP已经升级到了新的镜像,但是WLC依然还是以前的镜像,这时候再敲一下下面的命令重启WLC即可。)

(Cisco Controller) >reset system both in 00:02:01 image swap reset-aps save-configSystem reset is scheduled for Nov 07 00:00:14 2019.Current local time and date is Nov 06 23:58:13 2019.Trap will not be generated as total delay is less than the trap time.Active boot image will be changed before the reset.Use 'reset system cancel' to cancel the reset.The system has unsaved changes.Configuration will be saved before the system reset.
0