本文档介绍如何在Cisco Catalyst 9800无线LAN控制器(WLC)上配置和排除AP电源配置文件故障。
本文档中的信息基于以下软件和硬件版本:
本文档中的信息都是基于特定实验室环境中的设备编写的。本文档中使用的所有设备最初均采用原始(默认)配置。如果您的网络处于活动状态,请确保您了解所有命令的潜在影响。
接入点省电是一项电源管理功能,能够:
固定电源策略定义了AP的预定义操作状态。对于每个AP类型,在这些情况下会预配置接口状态(如无线电、USB、以太网等)。AP首先根据固定电源策略应用接口状态,然后再考虑日历配置文件中定义的任何配置。
AP电源配置文件允许用户定义规则的优先级列表,这些规则控制活动日历期间的电源降级和行为。
此配置文件确定当来自交换机的以太网供电(PoE)预算不足时AP如何运行。
它还支持绿色AP功能,其中AP根据关联的日历计划(例如,在工作时间后)转换到低功率模式。
日历配置文件启用对AP接口活动的基于时间的控制。
这有助于自动执行节能操作,无需人工干预。
随着三射频和四射频接入点的引入,实现完整功能所需的功率通常超过802.3at所能的功率。但是,许多部署仍缺乏802.3bt支持。
目前,AP行为(如发射功率、无线电链、USB端口、SFP使用率等……)是在较低功率级别(非802.3bt)运行时静态定义的,用户对这些参数的控制有限。
常规功率配置文件通过允许根据可用功率控制功率递减来解决这个问题。
注意:17.10或更高版本支持AP节能功能的常规功率配置文件。
绿色AP功能提供节能模式,当没有连接的客户端时,AP会自动进入低功率运行。
电源政策的总体目标是允许用户跨不同电源(例如:802.3af、802.3at、802.3bt(多个级别))有效地分配和管理可用电源预算。
警告:要将AP电源配置文件应用于AP,WLC和AP时钟必须同步。
注意:一次只能应用一个常规功率配置文件。
在下面的示例中,9130AXI接入点在24,000 mW的降级电源状态下运行。由于AP正在接收降级电源,系统会自动应用标准电源配置文件,而无需任何日历配置文件。
在AP
xo9130#show cdp inline_power
Power_Requested(mW) Power_Available(mW) Power_request-ID Power_management-ID
30000 24000 7114 5
(config)# wireless profile power simran-regular-profile-1
(config-wireless-power-profile)# 10 ethernet GigabitEthernet0 speed 2500Mbps
(config-wireless-power-profile)# 20 radio 24ghz state shutdown
(config-wireless-power-profile)# 30 radio 5ghz spatial-stream 4
(config-wireless-power-profile)# 40 radio 5ghz state shutdown
(config-wireless-power-profile)# exit
(config)# ap profile powermode
(config-ap-profile)# power-profile simran-regular-profile-1
(config-ap-profile)# end
#show ap profile name powermode detailed | sec Power profile
Power profile name : simran-regular-profile-1

Configuration > Tags & Profiles > AP JOIN > AP > Power Management

监控>无线> AP统计信息

Configuration > Wireless > Access Points > Select the AP > Interfaces

此示例说明禁用辅助5GHz无线电并在2x2模式下运行主要5GHz无线电的电源配置文件配置。此配置与从21:32:00到22:00:00的每日计划绑定。可以根据需要修改类似的配置文件以适应不同的网络方案。
配置并映射电源和日历配置文件
(config)# wireless profile power simran-powerprofile1
(config-wireless-power-profile)# 10 radio secondary-5ghz state shutdown
(config-wireless-power-profile)# 30 radio 5ghz spatial-stream 2
(config-wireless-power-profile)# exit
(config)# wireless profile calender-profile name simran-calendar-daily1
(config-calendar-profile)# recurrance daily
(config-calendar-profile)# start 21:32:00 end 22:00:00
(config-calendar-profile)# exit
(config)# ap profile powermode
(config-ap-profile)# calendar-profile simran-calendar-daily1
(config-ap-profile-calendar)# action power-saving-mode po
(config-ap-profile-calendar)# action power-saving-mode power-profile simran-powerprofile1
(config-ap-profile-calendar)# end
配置电源配置文件
Configuration > Tags & profiles > Power Profile

配置日历配置文件
Configuration > Tags & profiles > Calendar

将电源配置文件和日历配置文件映射到AP加入配置文件
Configuration > Tags & profiles > AP Join > Select the AP join profile > AP > Power Management

验证在AP上应用的配置文件
监控>无线> AP统计信息> AP >电源

日历启动时从AP进行控制台日志
xo9130#[*04/13/2026 21:35:31.1536] DOT11_CFG[1]: poe_power_mode: low_pwr_mode=5, allowed_tx_ant=3, allowed_rx_ant=3
[*04/13/2026 21:35:31.1615] DOT11_DRV[1]: Stop Radio1 - Begin
[*04/13/2026 21:35:31.1634] wlan: [0:I:CMN_MLME] mlme_ext_vap_down: VAP (mon1) is down
[*04/13/2026 21:35:31.1647] DOT11_DRV[1]: Stop Radio1 - End
[*04/13/2026 21:35:31.1792] wlan: [0:I:CMN_MLME] mlme_ext_vap_down: VAP (apr1v0) is down
[*04/13/2026 21:35:31.1840] DOT11_DRV[1]: Start Radio1 - Begin
[*04/13/2026 21:35:31.1852] wlan: [7277:I:ANY] ol_ath_set_config_param: OL_ATH_PARAM_RTT_SKIP_VDEV_RESTART: value: 1
[*04/13/2026 21:35:31.1870] wlan: [0:I:ANY] ol_ath_pdev_is_multi_band_supported: 2 GHz modes: 0, 5GHz/6GHz modes: 391f9001
[*04/13/2026 21:35:31.1876] wlan: [7277:I:ANY] ieee80211_ucfg_setparam_util: rtt_enable = 0 already configured, skip configuration
[*04/13/2026 21:35:31.1880] wlan: [7277:I:ANY] ieee80211_ucfg_setparam_util: KERN_DEBUG
[*04/13/2026 21:35:31.1880] setting the lci enble flag
[*04/13/2026 21:35:31.1896] DOT11_DRV[1]: Start Radio1 - End
[*04/13/2026 21:35:31.2121] DOT11_DRV[2]: Stop Radio2 - Begin
[*04/13/2026 21:35:31.2137] wlan: [0:I:CMN_MLME] mlme_ext_vap_down: VAP (mon2) is down
[*04/13/2026 21:35:31.2152] DOT11_DRV[2]: Stop Radio2 - End
[*04/13/2026 21:35:31.2167] wlan: [0:E:ANY] mlme_ext_vap_up: VAP (mon1) is up, vdev_id:33 pdev_id:0 psoc_id:0
[*04/13/2026 21:35:31.2200] wlan: [0:I:CMN_MLME] mlme_ext_vap_down: VAP (apr1v0) is down
[*04/13/2026 21:35:31.2202] wlan: [0:I:ANY] ol_ath_pdev_is_multi_band_supported: 2 GHz modes: 0, 5GHz/6GHz modes: 391f9001
[*04/13/2026 21:35:31.2290] wlan: [0:I:CMN_MLME] mlme_ext_vap_down: VAP (apr2v0) is down
在交换机上
#####应用电源配置文件之前
Switch#show power inline tenGigabitEthernet 3/0/23 detail | i Meas
Measured at the port: 11.8
#####应用电源配置文件后
Switch#show power inline tenGigabitEthernet 3/0/23 detail | in Meas
Measured at the port: 10.8
#连接AP上的客户端;ap自动切换回固定策略

AP 的日志
[*04/13/2026 21:42:27.8792] DOT11_DRV[2]: Start Radio2 - Begin
[*04/13/2026 21:42:27.8802] wlan: [7277:I:ANY] ol_ath_set_config_param: OL_ATH_PARAM_RTT_SKIP_VDEV_RESTART: value: 1
[*04/13/2026 21:42:27.8820] wlan: [0:I:ANY] ol_ath_pdev_is_multi_band_supported: 2 GHz modes: 0, 5GHz/6GHz modes: 391f9001
[*04/13/2026 21:42:27.8827] wlan: [7277:I:ANY] ieee80211_ucfg_setparam_util: rtt_enable = 0 already configured, skip configuration
[*04/13/2026 21:42:27.8828] wlan: [7277:I:ANY] ieee80211_ucfg_setparam_util: KERN_DEBUG
[*04/13/2026 21:42:27.8828] setting the lci enble flag
[*04/13/2026 21:42:27.8841] DOT11_DRV[2]: Start Radio2 - End
[*04/13/2026 21:42:27.8854] DOT11_CFG[2]: poe_power_mode: low_pwr_mode=5, allowed_tx_ant=15, allowed_rx_ant=15
[*04/13/2026 21:42:27.8974] wlan: [0:E:ANY] mlme_ext_vap_up: VAP (mon2) is up, vdev_id:50 pdev_id:2 psoc_id:0
在交换机上
客户端连接后消耗的电量:
Switch#show power inline tenGigabitEthernet 3/0/23 detail | in Measu
Measured at the port: 11.8
在WLC上

断开客户端连接,Ap自动切换至节能模式:
从AP
xo9130#[*04/13/2026 21:46:47.2003] DOT11_CFG[1]: poe_power_mode: low_pwr_mode=5, allowed_tx_ant=3, allowed_rx_ant=3
[*04/13/2026 21:46:47.2088] DOT11_DRV[1]: Stop Radio1 - Begin
[*04/13/2026 21:46:47.2106] wlan: [0:I:CMN_MLME] mlme_ext_vap_down: VAP (mon1) is down
[*04/13/2026 21:46:47.2120] DOT11_DRV[1]: Stop Radio1 - End
[*04/13/2026 21:46:47.2264] wlan: [0:I:CMN_MLME] mlme_ext_vap_down: VAP (apr1v0) is down
[*04/13/2026 21:46:47.2452] DOT11_DRV[1]: Start Radio1 - Begin
[*04/13/2026 21:46:47.2464] wlan: [7277:I:ANY] ol_ath_set_config_param: OL_ATH_PARAM_RTT_SKIP_VDEV_RESTART: value: 1
[*04/13/2026 21:46:47.2494] wlan: [0:I:ANY] ol_ath_pdev_is_multi_band_supported: 2 GHz modes: 0, 5GHz/6GHz modes: 391f9001
[*04/13/2026 21:46:47.2504] wlan: [7277:I:ANY] ieee80211_ucfg_setparam_util: rtt_enable = 0 already configured, skip configuration
[*04/13/2026 21:46:47.2506] wlan: [7277:I:ANY] ieee80211_ucfg_setparam_util: KERN_DEBUG
[*04/13/2026 21:46:47.2506] setting the lci enble flag
[*04/13/2026 21:46:47.2522] DOT11_DRV[1]: Start Radio1 - End
[*04/13/2026 21:46:47.2637] wlan: [0:E:ANY] mlme_ext_vap_up: VAP (mon1) is up, vdev_id:33 pdev_id:0 psoc_id:0
[*04/13/2026 21:46:47.2676] wlan: [0:I:CMN_MLME] mlme_ext_vap_down: VAP (apr1v0) is down
[*04/13/2026 21:46:47.2678] wlan: [0:I:ANY] ol_ath_pdev_is_multi_band_supported: 2 GHz modes: 0, 5GHz/6GHz modes: 391f9001
[*04/13/2026 21:46:47.2729] DOT11_DRV[2]: Stop Radio2 - Begin
[*04/13/2026 21:46:47.2744] wlan: [0:I:CMN_MLME] mlme_ext_vap_down: VAP (mon2) is down
[*04/13/2026 21:46:47.2760] DOT11_DRV[2]: Stop Radio2 - End
[*04/13/2026 21:46:47.2895] wlan: [0:I:CMN_MLME] mlme_ext_vap_down: VAP (apr2v0) is down
在WLC上

此测试验证CW9178I接入点的AP电源和日历配置文件。功率配置文件配置为在1x1空间流(SS)模式下启用2.4GHz和6GHz无线电时同时禁用5GHz无线电。此配置受从13:35:18到20:00:00的每日活动计划监管。可以根据需要对这些配置文件进行调整以适应各种网络要求。
配置并映射电源和日历配置文件
(config)#wireless profile power test
(config-wireless-power-profile)#0 radio 6ghz spatial-stream 1
(config-wireless-power-profile)#10 radio 5ghz state shutdown
(config-wireless-power-profile)#20 radio secondary-5ghz state shutdown
(config-wireless-power-profile)#30 radio 24ghz spatial-stream 1
(config-wireless-power-profile)# exit
(config)# wireless profile calender-profile name test
(config-calendar-profile)# recurrance daily
(config-calendar-profile)# start 13:35:18 end 20:00:00
(config-calendar-profile)# exit
(config)# ap profile powertest
(config-ap-profile)# calendar-profile test
(config-ap-profile-calendar)# action power-saving-mode power-profile test
(config-ap-profile-calendar)# end
配置电源配置文件
Configuration > Tags & profiles > Power Profile

配置日历配置文件
Configuration > Tags & profiles > Calendar

将电源配置文件和日历配置文件映射到AP加入配置文件
Configuration > Tags & profiles > AP Join > Select the AP join profile > AP > Power Management

验证在AP上应用的配置文件
监控>无线> AP统计信息> AP >电源

在交换机上
#####应用电源配置文件之前
Switch#show power inline twoGigabitEthernet 1/0/2 detail | i Mea
Measured at the port(watts) (Alt-A,B): 16.5
#####应用电源配置文件后
Switch#show power inline twoGigabitEthernet 1/0/2 detail | in Mea
Measured at the port(watts) (Alt-A,B): 14.8
验证实际功耗:
#Console日志
#debug capwap客户端负载
#debug powerpolicy logging level trace
#debug powerpolicy logging level info
#debug powerpolicy logging console enable
#terminal monitor
#RA跟踪(AP无线电MAC)
调试级别的WNCD日志数量:
#set platform software trace wncd <0/1/2/3> chassis active/Standby R0 ap-pwr-prof-main debug`
`#set platform software trace wncd <0/1/2/3> chassis active/Standby R0 ap-pwr-prof-db debug`
`#set platform software trace wncd <0/1/2/3> chassis active/Standby R0 ap-pwr-prof-wcnm debug`
`#set platform software trace wncd <0/1/2/3> chassis active/Standby R0 apcfg-profile-db debug`
`#set platform software trace wncd <0/1/2/3> chassis active/Standby R0 apmgr-db debug`
注意:重现问题后,将软件跟踪级别恢复为“notice”。
| 版本 | 发布日期 | 备注 |
|---|---|---|
1.0 |
22-May-2026
|
初始版本 |