配置和验证AP功率
Posted momentslee
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了配置和验证AP功率相关的知识,希望对你有一定的参考价值。
1、针对自主AP(Autonomous AP)
使用‘power local‘配置命令配置AP或Bridge Radio功率级别。
在2.4 GHz,802.11g Radio上,您可以设置正交频分复用(Orthogonal Frequency Division Multiplexing,OFDM)功率电平和互补代码键控(Complementary Code Keying,CCK)功率电平。 802.11b和802.11g设备支持CCK调制。 802.11g和802.11a设备支持OFDM调制。
2.4-GHz Access Point Radio (802.11b)
power local {1 | 5 | 20 | 30 | 50 | 100 | maximum}
2.4-GHz Access Point Radio (802.11g)
power local cck {1 | 5 | 10 | 20 | 30 | 50 | 100 | maximum}
power local cck {-1 | 2 | 5 | 8 | 11 | 14 | 15 | 17 | 20 | maximum}
power local ofdm {1 | 5 | 10 | 20 | 30 | maximum}
power local ofdm {-1 | 2 | 5 | 8 | 11 | 14 | 17 | maximum}
5-GHz Access Point Radio (801.11a)
power local {5 | 10 | 20 | 40 | maximum}
power local { -1 | 2 | 5 | 8 | 11 | 14 | 15 | maximum}
power local { -1 | 2 | 5 | 8 | 11 | 14 | 15 | 17 | maximum}
1400 Series Bridge 5.8-GHz Radio
power local {12 | 15 | 18 | 21 | 22 | 23 | 24 | maximum}
This example shows how to specify a 20-mW transmit power level for the 802.11b access point radio:
AP(config-if)# power local 20
验证传输功率:
使用‘show controller dot11Radio‘命令。 如下是一个例子。
此示例显示如何显示Radio 0接口的Radio Controller状态:
AP# show controllers dot11radio 0
此命令的一部分输出按速率显示有效功率电平,如下所示:
1.0 to 11.0 , 20 dBm, changed due to regulatory maximum
6.0 to m15. , 17 dBm, changed due to regulatory maximum
m0.-4 to m15.-4, 14 dBm, changed due to regulatory maximum
-4表示40MHz宽带。 类似的输出,-4s意味着40MHz宽带,短保护间隔开启。
2、CUWN中配置AP的传输功率
要配置802.11网络中所有AP或单个AP的发射功率电平,请使用“config 802.11 txPower”命令。
config 802.11{a | b} txPower {global [auto | once | power_level]}
config 802.11{a | b} txPower {ap ap_name [global | power_level]}
此示例显示如何为所有LAP手动将802.11b Radio发射功率设置为5级:
> config 802.11b txPower global 5
此示例显示如何显示802.11b传输功率开销的配置和统计信息:
> show advanced 802.11b txpower
Automatic Transmit Power Assignment
Transmit Power Assignment Mode.................. AUTO
Transmit Power Update Interval.................. 600 seconds
Transmit Power Threshold........................ -65 dBm
Transmit Power Neighbor Count................... 3 APs
Transmit Power Update Contribution.............. SN.
Transmit Power Assignment Leader................ xx:xx:xx:xx:xx:xx
Last Run........................................ 384 seconds ago
3、配置Radio传输功率
从特权EXEC模式开始,请按照以下步骤设置AP Radio的发射功率:
Step 1 |
configure terminal |
Enter global configuration mode. |
Step 2 |
interface dot11radio { 0 | 1 } |
Enter interface configuration mode for the radio interface. The 2.4-GHz radio is radio 0, and the 5-GHz radio is radio 1. |
Step 3 |
power local These options are available for the 802.11b, 2.4-GHz radio:{ 1 | 5 | 20 | 30 | 50 | 100 | maximum }These options are available for the 5-GHz radio:{ 5 | 10 | 20 | 40 | maximum } |
Set the transmit power for the 802.11b, 2.4-GHz radio or the 5-GHz radio to one of the power levels allowed in your regulatory domain. All settings are in mW. Note The settings allowed in your regulatory domain might differ from the settings listed here. |
Step 4 |
power localThese options are available for the 802.11g, 2.4-GHz radio:power local cck settings:{ 1 | 5 | 10 | 20 | 30 | 50 | 100 | maximum }power local ofdm settings:{ 1 | 5 | 10 | 20 | 30 | maximum } |
Set the transmit power for the 802.11g, 2.4-GHz radio to one of the power levels allowed in your regulatory domain. All settings are in mW.On the 2.4-GHz, 802.11g radio, you can set Orthogonal Frequency Division Multiplexing (OFDM) power levels and Complementary Code Keying (CCK) power levels. CCK modulation is supported by 802.11b and 802.11g devices. OFDM modulation is supported by 802.11g and 802.11a devices. Note The settings allowed in your regulatory domain might differ from the settings listed here. Note The 802.11g radio transmits at up to 100 mW for the 1, 2, 5.5, and 11Mbps data rates. However, for the 6, 9, 12, 18, 24, 36, 48, and 54Mbps data rates, the maximum transmit power for the 802.11g radio is 30 mW. |
Step 5 |
end |
Return to privileged EXEC mode |
Step 6 |
copy running-config startup-config |
(Optional) Save your entries in the configuration file. |
使用no形式的power命令将电源设置恢复为最大值,即默认设置。
4、AIR-RM21A / AIR-RM22A无线电模块通常设置为最大发射功率
AIR-RM21A和AIR-RM22A Radio模块以分贝每毫瓦(dBm)测量发射功率,但Cisco Aironet AP中早期版本的802.11a无线电以毫瓦(mW)为单位测量功率。 由于mW的功率设置不直接转换为dBm设置,因此在安装新的AIR-RM21A或AIR-RM22A无线电模块时,AP通常使用默认功率设置。
表中列出了以mW为单位的802.11a传输功率设置以及接入点分配给新无线电模块的功率设置。
5 |
5 dBm (approximately 3 mW) |
10 |
maximum (17 dBm) |
20 |
maximum |
40 |
maximum |
5、限制关联的客户端的Power Level
你还可以限制与AP关联的客户端设备上的功率级别。 当客户端设备关联到AP时,AP将最大功率电平设置发送到客户端。
从特权EXEC模式开始,请按照以下步骤在与AP关联的所有客户端设备上指定最大允许功率设置:
Step 1 |
configure terminal |
Enter global configuration mode. |
Step 2 |
interface dot11radio { 0 | 1 } |
Enter interface configuration mode for the radio interface. The 2.4-GHz radio is radio 0, and the 5-GHz radio is radio 1. |
Step 3 |
power clientThese options are available for 802.11b, 2.4-GHz clients:{ 1 | 5 | 20 | 30 | 50 | 100 | maximum}These options are available for 802.11g, 2.4-GHz clients:{ 1 | 5 | 10 | 20 | 30 | 50 | 100 | maximum}These options are available for 5-GHz clients:{ 5 | 10 | 20 | 40 | maximum } |
Set the maximum power level allowed on client devices that associate to the access point. All settings are in mW. Note The settings allowed in your regulatory domain might differ from the settings listed here. |
Step 4 |
end |
Return to privileged EXEC mode. |
Step 5 |
copy running-config startup-config |
(Optional) Save your entries in the configuration file. |
使用no形式的client power命令禁用关联客户端的最大功率级别。
注意必须启用Aironet扩展以限制关联客户端设备的功率级别。 默认情况下启用Aironet扩展。
https://community.cisco.com/t5/wireless-mobility-documents/how-to-configure-and-verify-the-transmitted-power-level-on-aps/ta-p/3107653
以上是关于配置和验证AP功率的主要内容,如果未能解决你的问题,请参考以下文章
Express实战 - 应用案例- realworld-API - 路由设计 - mongoose - 数据验证 - 密码加密 - 登录接口 - 身份认证 - token - 增删改查API(代码片段