思科可能会在某些地方提供本内容的当地语言翻译版本。请注意,翻译版本仅供参考,如有任何不一致之处,以本内容的英文版本为准。
思科采用人工翻译与机器翻译相结合的方式将此文档翻译成不同语言,希望全球的用户都能通过各自的语言得到支持性的内容。 请注意:即使是最好的机器翻译,其准确度也不及专业翻译人员的水平。 Cisco Systems, Inc. 对于翻译的准确性不承担任何责任,并建议您总是参考英文原始文档(已提供链接)。
本文档介绍用于测试无线接入点的无线吞吐量的方法,重点介绍 802.11ac 以及给定条件下的预期吞吐量。
本文档假定已使用 802.11ac 无线接入点 (AP) 进行可正常运行的设置,已提供客户端连接。
本文档中的信息侧重于介绍 802.11ac 技术和速度。
采用第一代技术的思科 AP:
3700 系列
2700 系列
1700 系列
1570 系列
采用第二代技术的思科 AP:
4800 系列
3800 系列
2800 系列
1850 系列
1830 系列
1560 系列
1540 系列
802.11ac 可细分为两个标准: 第一代技术和第二代技术:
第一代 802.11ac 技术:通过 80 MHz 信道绑定,在 3 个空间流上支持最高 1.3 Gbps 的数据速率。
第二代 802.11ac 技术:通过 160 MHz 信道绑定,在 4 个空间流上支持最高 3.47 Gbps 的数据速率。这些数字只是标准中的理论数字,根据具体的 AP 数据表,实际数字会有所不同。
802.11ac 并不是直接通过数据速率定义的,而是通过 10 调制编码方案(MCS 0 到 MCS 9)、从 20 MHz (1 个信道)到 160 MHz(8 个信道)的信道宽度以及多个空间流(通常是 1 到 4)的组合定义的。 短或长保护间隔 (GI) 也会对此增加大约 10% 的变动。以下表格用于在了解所有这些因素的情况下评估数据速率(以 Mbps 为单位):
空间流 |
VHT MCS 索引 |
调制 |
编码率 |
20 MHz 数据速率 (Mb/s) |
40 MHz 数据速率 (Mb/s) |
80 MHz 数据速率 (Mb/s) |
160 MHz / 80+80 MHz 数据传输速度 (Mb/s) |
||||
800ns GI |
400ns GI |
800ns GI |
400ns GI |
800ns GI |
400ns GI |
800ns GI |
400ns GI |
||||
1 |
0 |
BPSK |
1/2 |
6.5 |
7.2 |
13.5 |
15.0 |
29.3 |
32.5 |
58.5 |
65.0 |
1 |
QPSK |
1/2 |
13.0 |
14.4 |
27.0 |
30.0 |
58.5 |
65.0 |
117.0 |
130.0 |
|
2 |
QPSK |
3/4 |
19.5 |
21.7 |
40.5 |
45.0 |
87.8 |
97.5 |
175.5 |
195.0 |
|
3 |
16-QAM |
1/2 |
26.0 |
28.9 |
54.0 |
60.0 |
117.0 |
130.0 |
234.0 |
260.0 |
|
4 |
16-QAM |
3/4 |
39.0 |
43.3 |
81.0 |
90.0 |
175.5 |
195.0 |
351.0 |
390.0 |
|
5 |
64-QAM |
2/3 |
52.0 |
57.8 |
108.0 |
120.0 |
234.0 |
260.0 |
468.0 |
520.0 |
|
6 |
64-QAM |
3/4 |
58.5 |
65.0 |
121.5 |
135.0 |
263.3 |
292.5 |
526.5 |
585.0 |
|
7 |
64-QAM |
5/6 |
65.0 |
72.2 |
135.0 |
150.0 |
292.5 |
325.0 |
585.0 |
650.0 |
|
8 |
256-QAM |
3/4 |
78.0 |
86.7 |
162.0 |
180.0 |
351.0 |
390.0 |
702.0 |
780.0 |
|
9 |
256-QAM |
5/6 |
不适用 |
不适用 |
180.0 |
200.0 |
390.0 |
433.3 |
780.0 |
866.7 |
|
2 |
0 |
BPSK |
1/2 |
13.0 |
14.4 |
27.0 |
30.0 |
58.5 |
65.0 |
117.0 |
130.0 |
1 |
QPSK |
1/2 |
26.0 |
28.9 |
54.0 |
60.0 |
117.0 |
130.0 |
234.0 |
260.0 |
|
2 |
QPSK |
3/4 |
39.0 |
43.3 |
81.0 |
90.0 |
175.5 |
195.0 |
351.0 |
390.0 |
|
3 |
16-QAM |
1/2 |
52.0 |
57.8 |
108.0 |
120.0 |
234.0 |
260.0 |
468.0 |
520.0 |
|
4 |
16-QAM |
3/4 |
78.0 |
86.7 |
162.0 |
180.0 |
351.0 |
390.0 |
702.0 |
780.0 |
|
5 |
64-QAM |
2/3 |
104.0 |
115.6 |
216.0 |
240.0 |
468.0 |
520.0 |
936.0 |
1040.0 |
|
6 |
64-QAM |
3/4 |
117.0 |
130.0 |
243.0 |
270.0 |
526.5 |
585.0 |
1053.0 |
1170.0 |
|
7 |
64-QAM |
5/6 |
130.0 |
144.4 |
270.0 |
300.0 |
585.0 |
650.0 |
1170.0 |
1300.0 |
|
8 |
256-QAM |
3/4 |
156.0 |
173.3 |
324.0 |
360.0 |
702.0 |
780.0 |
1404.0 |
1560.0 |
|
9 |
256-QAM |
5/6 |
不适用 |
不适用 |
360.0 |
400.0 |
780.0 |
866.7 |
1560.0 |
1733.0 |
|
3 |
0 |
BPSK |
1/2 |
19.5 |
21.7 |
40.5 |
45.0 |
87.8 |
97.5 |
175.5 |
195.0 |
1 |
QPSK |
1/2 |
39.0 |
43.3 |
81.0 |
90.0 |
175.0 |
195.0 |
351.0 |
390.0 |
|
2 |
QPSK |
3/4 |
58.5 |
65.0 |
121.5 |
135.0 |
263.0 |
292.5 |
526.5 |
585.0 |
|
3 |
16-QAM |
1/2 |
78.0 |
86.7 |
162.0 |
180.0 |
351.0 |
390.0 |
702.0 |
780.0 |
|
4 |
16-QAM |
3/4 |
117.0 |
130.0 |
243.0 |
270.0 |
526.5 |
585.0 |
1053.0 |
1170.0 |
|
5 |
64-QAM |
2/3 |
156.0 |
173.3 |
324.0 |
360.0 |
702.0 |
780.0 |
1404.0 |
1560.0 |
|
6 |
64-QAM |
3/4 |
175.5 |
195.0 |
364.5 |
405.0 |
不适用 |
不适用 |
1579.5 |
1755.0 |
|
7 |
64-QAM |
5/6 |
195.0 |
216.7 |
405.0 |
450.0 |
877.5 |
975.0 |
1755.0 |
1950.0 |
|
8 |
256-QAM |
3/4 |
234.0 |
260.0 |
486.0 |
540.0 |
1053.0 |
1170.0 |
2106.0 |
2340.0 |
|
9 |
256-QAM |
5/6 |
260.0 |
288.9 |
540.0 |
600.0 |
1170.0 |
1300.0 |
不适用 |
不适用 |
|
4 |
0 |
BPSK |
1/2 |
26.0 |
28.9 |
54.0 |
60.0 |
117.0 |
130.0 |
234.0 |
260.0 |
1 |
QPSK |
1/2 |
52.0 |
57.8 |
108.0 |
120.0 |
234.0 |
260.0 |
468.0 |
520.0 |
|
2 |
QPSK |
3/4 |
78.0 |
86.7 |
162.0 |
180.0 |
351.0 |
390.0 |
702.0 |
780.0 |
|
3 |
16-QAM |
1/2 |
104.0 |
115.6 |
216.0 |
240.0 |
468.0 |
520.0 |
936.0 |
1040.0 |
|
4 |
16-QAM |
3/4 |
156.0 |
173.3 |
324.0 |
360.0 |
702.0 |
780.0 |
1404.0 |
1560.0 |
|
5 |
64-QAM |
2/3 |
208.0 |
231.1 |
432.0 |
480.0 |
936.0 |
1040.0 |
1872.0 |
2080.0 |
|
6 |
64-QAM |
3/4 |
234.0 |
260.0 |
486.0 |
540.0 |
1053.0 |
1170.0 |
2106.0 |
2340.0 |
|
7 |
64-QAM |
5/6 |
260.0 |
288.9 |
540.0 |
600.0 |
1170.0 |
1300.0 |
2340.0 |
2600.0 |
|
8 |
256-QAM |
3/4 |
312.0 |
346.7 |
648.0 |
720.0 |
1404.0 |
1560.0 |
2808.0 |
3120.0 |
|
9 |
256-QAM |
5/6 |
不适用 |
不适用 |
720.0 |
800.0 |
1560.0 |
1733.3 |
3120.0 |
3466.7 |
|
9 |
256-QAM |
5/6 |
不适用 |
不适用 |
1440.0 |
1600.0 |
3120.0 |
3466.7 |
6240.0 |
6933.3 |
注意:数据速率不等于预期的可实现吞吐量。这与802.11标准的性质有关,该标准具有大量管理开销(管理帧、争用、冲突、确认……),并且可能取决于链路SNR、RSSI和其他重要因素。
另请注意,无线是共享环境,这意味着连接到 AP 的客户端数量将在彼此之间共享有效吞吐量。最重要的是,客户端越多,争用就越多,也不可避免地会有更多冲突。基站覆盖区的效率将随着客户端数量的增加而显著降低。
这是一条经验法则:
预期吞吐量 = 数据速率 x 0.65
在本例中:
780 x 0.65 = 507
507 Mbps 的吞吐量是我们在具有单个客户端的实验中的良好条件下所预期的结果。
一般来说,在进行吞吐量测试时可以有两种场景:
我们将逐一介绍这些场景:
(图 1)
在图 1 的场景下,我们假设 AP 处于 FlexConnect 中心交换的本地模式下。
这意味着所有客户端流量均封装到 CAPWAP 隧道中,并在 WLC 上终止。
(图 2)
图 2 中的红线显示来自无线客户端的流量。
iPerf 服务器应尽可能靠近流量终止点,理想情况下应插入与 WLC 本身相同的交换机,并使用相同的 VLAN。
在 FlexConnect 本地交换的情况下,客户端流量在 AP 本身终止,考虑到 iPerf 服务器应设置为接近无线客户端流量的终止点,您应该将 iPerf 服务器插入 AP 所插入的同一交换机和同一 VLAN。在本例中,这是接入交换机(图 3)。
(图 3)
iPerf 测试可细分为两类: 上游测试和下游测试。
考虑到 iPerf 服务器正在侦听,而 iPerf 客户端正在生成流量,因此当 iPerf 服务器位于有线端时,该测试被视为上游测试。
无线客户端将使用 iPerf 应用将流量推送到网络中。
下游测试则相反,这意味着在无线客户端本身上设置 iPerf 服务器,而 iPerf 客户端在有线端将流量推送到无线客户端,在这种情况下,该测试被视为下游测试。
应使用 TCP 和 UDP 完成测试。您可以使用以下命令执行测试:
iperf3 -s <- this command starts iPerf server iperf3 -c SERVER_ADDRESS -u -b700M <- this command initiates UDP iPerf test with bandwidth of 700 Mbps iperf3 -c SERVER_ADDRESS <- this command initiates a simple TCP iPerf test iperf3 -c SERVER_ADDRESS -w WIDOW_SIZE -P NUM_OF_PARALLEL_TCP_STREAMS <- this commands initiates a more complex TCP iPerf test where you can adjust the window size as well the number of parallel TCP streams.
Please not that in this case you should consider the sum of all the streams as the result
iPerf3 输出示例:
TCP iPerf3:
[ ID] Interval Transfer Bandwidth [ 5] 0.00-10.06 sec 0.00 Bytes 0.00 bits/sec sender [ 5] 0.00-10.06 sec 188 MBytes 157 Mbits/sec receiver [ ID] Interval Transfer Bandwidth [ 5] 0.00-10.05 sec 0.00 Bytes 0.00 bits/sec sender [ 5] 0.00-10.05 sec 304 MBytes 254 Mbits/sec receiver
With 10 parallel TCP streams: [ ID] Interval Transfer Bandwidth [ 5] 0.00-10.06 sec 0.00 Bytes 0.00 bits/sec sender [ 5] 0.00-10.06 sec 88.6 MBytes 73.9 Mbits/sec receiver [ 7] 0.00-10.06 sec 0.00 Bytes 0.00 bits/sec sender [ 7] 0.00-10.06 sec 79.2 MBytes 66.0 Mbits/sec receiver [ 9] 0.00-10.06 sec 0.00 Bytes 0.00 bits/sec sender [ 9] 0.00-10.06 sec 33.6 MBytes 28.0 Mbits/sec receiver [ 11] 0.00-10.06 sec 0.00 Bytes 0.00 bits/sec sender [ 11] 0.00-10.06 sec 48.7 MBytes 40.6 Mbits/sec receiver [ 13] 0.00-10.06 sec 0.00 Bytes 0.00 bits/sec sender [ 13] 0.00-10.06 sec 77.0 MBytes 64.2 Mbits/sec receiver [ 15] 0.00-10.06 sec 0.00 Bytes 0.00 bits/sec sender [ 15] 0.00-10.06 sec 61.8 MBytes 51.5 Mbits/sec receiver [ 17] 0.00-10.06 sec 0.00 Bytes 0.00 bits/sec sender [ 17] 0.00-10.06 sec 46.1 MBytes 38.4 Mbits/sec receiver [ 19] 0.00-10.06 sec 0.00 Bytes 0.00 bits/sec sender [ 19] 0.00-10.06 sec 43.9 MBytes 36.6 Mbits/sec receiver [ 21] 0.00-10.06 sec 0.00 Bytes 0.00 bits/sec sender [ 21] 0.00-10.06 sec 33.3 MBytes 27.8 Mbits/sec receiver [ 23] 0.00-10.06 sec 0.00 Bytes 0.00 bits/sec sender [ 23] 0.00-10.06 sec 88.8 MBytes 74.0 Mbits/sec receiver [SUM] 0.00-10.06 sec 0.00 Bytes 0.00 bits/sec sender [SUM] 0.00-10.06 sec 601 MBytes 501 Mbits/sec receiver
UDP iPerf3:
有时,iPerf 会出现行为异常,并且在 UDP 测试结束时不会提供平均带宽。
仍然可以将每秒的带宽相加,然后除以秒数:
Accepted connection from 192.168.240.38, port 49264 [ 5] local 192.168.240.43 port 5201 connected to 192.168.240.38 port 51711 [ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams [ 5] 0.00-1.00 sec 53.3 MBytes 447 Mbits/sec 0.113 ms 32/6840 (0.47%) [ 5] 1.00-2.00 sec 63.5 MBytes 533 Mbits/sec 0.129 ms 29/8161 (0.36%) [ 5] 2.00-3.00 sec 69.8 MBytes 586 Mbits/sec 0.067 ms 30/8968 (0.33%) [ 5] 3.00-4.00 sec 68.7 MBytes 577 Mbits/sec 0.071 ms 29/8827 (0.33%) [ 5] 4.00-5.00 sec 68.0 MBytes 571 Mbits/sec 0.086 ms 55/8736 (0.63%) [ 5] 5.00-6.00 sec 68.6 MBytes 576 Mbits/sec 0.076 ms 70/8854 (0.79%) [ 5] 6.00-7.00 sec 66.8 MBytes 561 Mbits/sec 0.073 ms 34/8587 (0.4%) [ 5] 7.00-8.00 sec 67.1 MBytes 563 Mbits/sec 0.105 ms 44/8634 (0.51%) [ 5] 8.00-9.00 sec 66.7 MBytes 559 Mbits/sec 0.183 ms 144/8603 (1.7%) [ 5] 9.00-10.00 sec 64.1 MBytes 536 Mbits/sec 0.472 ms 314/8415 (3.7%) [ 5] 10.00-10.05 sec 488 KBytes 76.0 Mbits/sec 0.655 ms 2/63 (3.2%) - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams [ 5] 0.00-10.05 sec 0.00 Bytes 0.00 bits/sec 0.655 ms 783/84688 (0.92%) [SUM] 0.0-10.1 sec 224 datagrams received out-of-order
注意:与中央交换方案相比,iPerf结果在Flexconnect本地交换上可能稍好一些。
这是由于客户端流量被封装到 CAPWAP 中所致,这会增加流量的开销,而且通常 WLC 会成为瓶颈,因为它是所有无线客户端流量的汇聚点。
此外,预计 UDP iPerf 测试在干净环境中会提供更好的结果,因为当连接可靠时,它是最为有效的传输方法。但是,在出现大量分段(使用 TCP 调整 MSS 时)或连接不可靠的情况下,TCP 可能更胜一筹。
。
为了检查客户端连接的数据速率,您需要在 WLC CLI 中发出以下命令:
(Cisco Controller) >show client detail 94:65:2d:d4:8c:d6 Client MAC Address............................... 94:65:2d:d4:8c:d6 Client Username ................................. N/A AP MAC Address................................... 00:81:c4:fb:a8:20 AP Name.......................................... AIR-AP3802I-E-K9 AP radio slot Id................................. 1 Client State..................................... Associated Client User Group................................ Client NAC OOB State............................. Access Wireless LAN Id.................................. 2 Wireless LAN Network Name (SSID)................. speed-test-WLAN-avitosin Wireless LAN Profile Name........................ speed-test Hotspot (802.11u)................................ Not Supported BSSID............................................ 00:81:c4:fb:a8:2e Connected For ................................... 91 secs Channel.......................................... 52 IP Address....................................... 192.168.240.33 Gateway Address.................................. 192.168.240.1 Netmask.......................................... 255.255.255.0 Association Id................................... 1 Authentication Algorithm......................... Open System Reason Code...................................... 1 Status Code...................................... 0 --More-- or (q)uit Session Timeout.................................. 1800 Client CCX version............................... No CCX support QoS Level........................................ Silver Avg data Rate.................................... 0 Burst data Rate.................................. 0 Avg Real time data Rate.......................... 0 Burst Real Time data Rate........................ 0 802.1P Priority Tag.............................. disabled CTS Security Group Tag........................... Not Applicable KTS CAC Capability............................... No Qos Map Capability............................... No WMM Support...................................... Enabled APSD ACs....................................... BK BE VI VO Current Rate..................................... m9 ss2 Supported Rates.................................. 12.0,18.0,24.0,36.0,48.0, ............................................. 54.0 Mobility State................................... Local Mobility Move Count.............................. 0 Security Policy Completed........................ Yes Policy Manager State............................. RUN Audit Session ID................................. 0a3027a4000000105a9cd9ad AAA Role Type.................................... none Local Policy Applied............................. none --More-- or (q)uit IPv4 ACL Name.................................... none FlexConnect ACL Applied Status................... Unavailable IPv4 ACL Applied Status.......................... Unavailable IPv6 ACL Name.................................... none IPv6 ACL Applied Status.......................... Unavailable Layer2 ACL Name.................................. none Layer2 ACL Applied Status........................ Unavailable mDNS Status...................................... Disabled mDNS Profile Name................................ none No. of mDNS Services Advertised.................. 0 Policy Type...................................... N/A Encryption Cipher................................ None Protected Management Frame ...................... No Management Frame Protection...................... No EAP Type......................................... Unknown Interface........................................ vlan240 VLAN............................................. 240 Quarantine VLAN.................................. 0 Access VLAN...................................... 240 Local Bridging VLAN.............................. 240 Client Capabilities: CF Pollable................................ Not implemented CF Poll Request............................ Not implemented --More-- or (q)uit Short Preamble............................. Not implemented PBCC....................................... Not implemented Channel Agility............................ Not implemented Listen Interval............................ 1 Fast BSS Transition........................ Not implemented 11v BSS Transition......................... Implemented Client Wifi Direct Capabilities: WFD capable................................ No Manged WFD capable......................... No Cross Connection Capable................... No Support Concurrent Operation............... No Fast BSS Transition Details: Client Statistics: Number of Bytes Received................... 183844 Number of Bytes Sent....................... 119182 Total Number of Bytes Sent................. 119182 Total Number of Bytes Recv................. 183844 Number of Bytes Sent (last 90s)............ 119182 Number of Bytes Recv (last 90s)............ 183844 Number of Packets Received................. 2536 Number of Packets Sent..................... 249 Number of Interim-Update Sent.............. 0 Number of EAP Id Request Msg Timeouts...... 0 --More-- or (q)uit Number of EAP Id Request Msg Failures...... 0 Number of EAP Request Msg Timeouts......... 0 Number of EAP Request Msg Failures......... 0 Number of EAP Key Msg Timeouts............. 0 Number of EAP Key Msg Failures............. 0 Number of Data Retries..................... 0 Number of RTS Retries...................... 0 Number of Duplicate Received Packets....... 0 Number of Decrypt Failed Packets........... 0 Number of Mic Failured Packets............. 0 Number of Mic Missing Packets.............. 0 Number of RA Packets Dropped............... 0 Number of Policy Errors.................... 0 Radio Signal Strength Indicator............ -25 dBm Signal to Noise Ratio...................... 67 dB Client Rate Limiting Statistics: Number of Data Packets Received............ 0 Number of Data Rx Packets Dropped.......... 0 Number of Data Bytes Received.............. 0 Number of Data Rx Bytes Dropped............ 0 Number of Realtime Packets Received........ 0 Number of Realtime Rx Packets Dropped...... 0 Number of Realtime Bytes Received.......... 0 --More-- or (q)uit Number of Realtime Rx Bytes Dropped........ 0 Number of Data Packets Sent................ 0 Number of Data Tx Packets Dropped.......... 0 Number of Data Bytes Sent.................. 0 Number of Data Tx Bytes Dropped............ 0 Number of Realtime Packets Sent............ 0 Number of Realtime Tx Packets Dropped...... 0 Number of Realtime Bytes Sent.............. 0 Number of Realtime Tx Bytes Dropped........ 0 Nearby AP Statistics: DNS Server details: DNS server IP ............................. 10.48.39.33 DNS server IP ............................. 0.0.0.0 Assisted Roaming Prediction List details: Client Dhcp Required: False Allowed (URL)IP Addresses ------------------------- AVC Profile Name: ............................... none
您可以看到此特定客户端的连接速率如下:
当前速率…….................................. m9 ss2
这意味着客户端正在 2 个空间流 (ss2) 上使用 MCS 9 (m9) 索引
通过“show client detail <MAC>”命令,无法查看客户端是否通过 20/40/80 MHz 信道绑定进行连接。
此操作可以直接在 AP 上完成:
第二代 AP 示例:
AIR-AP3802I-E-K9#show controllers dot11Radio 1 client 94:65:2D:D4:8C:D6 mac radio vap aid state encr Maxrate is_wgb_wired wgb_mac_addr 94:65:2D:D4:8C:D6 1 1 1 FWD OPEN MCS92SS false 00:00:00:00:00:00 Configured rates for client 94:65:2D:D4:8C:D6 Legacy Rates(Mbps): 12 18 24 36 48 54 HT Rates(MCS):M0 M1 M2 M3 M4 M5 M6 M7 M8 M9 M10 M11 M12 M13 M14 M15 VHT Rates: 1SS:M0-7 2SS:M0-9 HT:yes VHT:yes 80MHz:yes 40MHz:yes AMSDU:yes AMSDU_long:yes 11w:no MFP:no 11h:yes encrypt_polocy: 1 _wmm_enabled:yes qos_capable:yes WME(11e):no WMM_MIXED_MODE:no short_preamble:no short_slot_time:no short_hdr:no SM_dyn:yes short_GI_20M:yes short_GI_40M:yes short_GI_80M:yes LDPC:yes is_wgb_wired:no is_wgb:no Additional info for client 94:65:2D:D4:8C:D6 RSSI: -25 PS : Legacy (Awake) Tx Rate: 0 Kbps Rx Rate: 0 Kbps VHT_TXMAP: 0 CCX Ver: 0 Statistics for client 94:65:2D:D4:8C:D6 mac intf TxData TxMgmt TxUC TxBytes TxFail TxDcrd RxData RxMgmt RxBytes RxErr TxRt RxRt idle_counter stats_ago expiration 94:65:2D:D4:8C:D6 apr1v1 254 0 254 121390 0 0 2568 0 185511 0 585000 866700 300 2.492000 1640 Per TID packet statistics for client 94:65:2D:D4:8C:D6 Priority Rx Pkts Tx Pkts Rx(last 5 s) Tx (last 5 s) QID Tx Drops Tx Cur Qlimit 0 1424 146 17 3 136 0 0 4096 1 0 0 0 0 137 0 0 4096 2 0 0 0 0 138 0 0 4096 3 34 26 0 0 139 0 0 4096 4 0 0 0 0 140 0 0 4096 5 0 0 0 0 141 0 0 4096 6 0 0 0 0 142 0 0 4096 7 0 0 0 0 143 0 0 4096
对于第一代 AP,您需要运行调试:
debug dot11 dot11radio 1 trace print rates *Mar 5 06:21:50.175: 469A706-1 D48CD6 - add-rbf, tmr 4 pak 19 rssi -41 dBm rate a8.2-8 *Mar 5 06:21:50.175: 469A8B1-1 D48CD6 - added to rbf, status 30 istatus 40164 cl ri 1 mvl ri 0000 req 1 in 1
调试输出的含义可参见下图:
检查连接速率的最后一个选项是 OTA 捕获。在数据包的无线信息中,可以找到必要的信息:
此 OTA 捕获是使用 11ac macbook 客户端进行的。
考虑到我们从 WLC 和 AP 获得的信息,客户端以 80 MHz 信道绑定 + 长 GI (800ns) 按 m9 ss2 速率进行连接,这意味着我们可以预期数据速率为 780 Mbps。
注意: 在嗅探器模式下的AP无法正确记录8.5.130版之前的11ac数据速率。Wireshark 2.4.6或更高版本也需要正确确定它。
如果在测试过程中没有获得预期结果,在提交 TAC 支持案例之前,有几种方法可以解决问题并收集必要的信息。
吞吐量问题可能由以下原因所致:
- 客户端
- 无线接入点
- 有线路径(交换相关问题)
- WLC
客户端故障排除
AP 故障排除
可能存在 AP 丢弃流量、某些帧或其他方面行为异常的情况。
为了更深入地了解这一点,需要在 AP 交换机端口上进行无线 (OTA) 捕获 + SPAN 会话(SPAN 应在连接 AP 的交换机上完成)。
OTA 捕获和 SPAN 应在测试期间使用开放 SSID 完成,以便能够看到传递到 AP 的流量,以及 AP 向客户端传递的流量和相反方向的流量,反之亦然。
此行为存在几个已知漏洞:
CSCvg07438
:AP3800:分段和非分段数据包中 AP 中的丢包导致低吞吐量
CSCva58429
:Cisco 1532i AP:低吞吐量(FlexConnect 本地交换 + EoGRE)
有线路径故障排除
交换机本身可能存在一些问题,您需要检查接口上的丢弃数量,以及测试期间丢弃数量是否增加。
尝试使用交换机上的另一个端口连接 AP 或 WLC。
另一个选项是将客户端插入同一交换机(客户端终止点 [AP/WLC] 所连接的交换机)并将其置于同一 VLAN,然后在同一 VLAN 上运行有线至有线的测试,以查看有线路径中是否存在任何问题。
WLC 故障排除
可能是因为 WLC 正在丢弃来自客户端的流量(当 AP 处于本地模式时)。
您可以将 AP 置于 FlexConnect 模式,并将 WLAN 置于本地交换模式,然后运行测试。
如果您发现本地模式(中心交换)下的吞吐量与 FlexConnect 本地交换相比有显著差异,并且连接到 WLC 的交换机没有问题,则很可能是 WLC 正在丢弃流量。
要解决此问题,请遵循以下操作计划:
- 在 WLC 交换机端口上进行 SPAN 捕获(应在交换机上完成)
- 在 AP 端口上进行 SPAN 捕获
- 对客户端进行 OTA 捕获
- 对 WLC 进行以下调试:
debug fastpath dump fpapool debug fastpath dump dpcp-stats debug fastpath dump detailstats debug fastpath dump stats
方式是执行上述故障排除并将结果提供给 TAC,这将加快故障排除过程。