Huawei troubleshooting

How can we help?

Huawei troubleshooting

Навигация

Сборка команд из статей:

Низкая скорость доступа к сети;
Низкая скорость соединания AP — STA;
Потери пакетов;
STA не может пропинговать шлюз (пакеты теряются на проводной стороне);
Проблемы роуминга STA;

Дополнительный топик по поиску проблем.

Смотрим с контроллера (AC)

display radio all
<AC>display radio all
Info: This operation may take a few seconds. Please wait for a moment.done.
CH/BW:Channel/Bandwidth
CE:Current EIRP (dBm)
ME:Max EIRP (dBm)
CU:Channel utilization
ST:Status
WM:Working mode (normal/monitor/monitor dual-band-scan/monitor proxy dual-band-scan)
------------------------------------------------------------------------------------------------------------------
AP ID Name                      RfID  Band  Type    ST  CH/BW          CE/ME   STA    CU    WM
------------------------------------------------------------------------------------------------------------------
0     AP1                0     2.4G  11ax    on  1/20M          8/20    0      22%   normal
0     AP1                1     5G    11ax    on  52/20M         14/23   4      10%   normal

Фильтруем ненормальные

display radio all | exclude normal

Посмотреть список точек, видно IP адреса проверяем нет ли конфликтов адресов:

display ap all
<AC>display ap all
Total AP information:
idle  : idle            [3]
nor   : normal          [66]
ExtraInfo : Extra information
P     : insufficient power supply
---------------------------------------------------------------------------------------------------------------------------------------
ID    MAC            Name                     Group          IP           Type             State  STA Uptime         ExtraInfo
---------------------------------------------------------------------------------------------------------------------------------------
0     1cae-cb56-22e0 TI-SPT-AP1               test       10.3.66.112  AirEngine5760-10 nor    3   55M:48S        -
1     c444-7d51-2fc0 TI-PDL-AP403             test       10.8.129.216 AirEngine5760-10 nor    2   54D:5H:59M:50S -
2     1cae-cb56-2180 TI-SPT-AP2               test       10.3.66.109  AirEngine5760-10 nor    4   55M:51S        -

Смотрим клиентов

display station ap-id 15
<AC>display station ap-id 15
Rf/WLAN: Radio ID/WLAN ID
Rx/Tx: link receive rate/link transmit rate(Mbps)
---------------------------------------------------------------------------------------------
STA MAC          Rf/WLAN  Band  Type  Rx/Tx      RSSI  VLAN  IP address       SSID
---------------------------------------------------------------------------------------------
1e46-bab4-47e2   1/4      5G    11ax  229/172    -53   181   10.3.80.11       test
38fc-9874-a2a7   1/5      5G    11ac  156/117    -51   185   10.3.84.56       test
50eb-713c-d552   1/5      5G    11ac  86/65      -45   185   10.3.84.73       test
628e-b26e-38cd   1/5      5G    11ac  96/43      -45   185   10.3.84.24       test
72c0-2af1-0ad4   1/4      5G    11ax  172/154    -57   181   10.3.80.95       test
9017-c819-f5e5   1/4      5G    11ac  48/96      -45   181   10.3.80.30       test
fe5f-faba-bd34   1/4      5G    11ax  229/229    -52   181   10.3.80.34       test
---------------------------------------------------------------------------------------------
Total: 7 2.4G: 0 5G: 7

Смотрим потери пакетов:

system-view
wlan
rf-ping -c 10 183d-a27a-0570
[AC-wlan-view]rf-ping -c 10 183d-a27a-0570
Info: RfPing start, press CTRL+C to break. 
 Tx rate=130.0 Mbps, Reply from 183d-a27a-0570: RSSI=-43 dBm time < 1 ms 
 Tx rate=130.0 Mbps, Reply from 183d-a27a-0570: RSSI=-43 dBm time < 1 ms 
 Tx rate=130.0 Mbps, Reply from 183d-a27a-0570: RSSI=-46 dBm time < 1 ms 
 Tx rate=130.0 Mbps, Reply from 183d-a27a-0570: RSSI=-46 dBm time < 1 ms 
 Tx rate=130.0 Mbps, Reply from 183d-a27a-0570: RSSI=-42 dBm time < 1 ms 
 Tx rate=130.0 Mbps, Reply from 183d-a27a-0570: RSSI=-44 dBm time=1 ms 
 Tx rate=130.0 Mbps, Reply from 183d-a27a-0570: RSSI=-44 dBm time=1 ms 
 Tx rate=130.0 Mbps, Reply from 183d-a27a-0570: RSSI=-43 dBm time < 1 ms 
 Tx rate=130.0 Mbps, Reply from 183d-a27a-0570: RSSI=-42 dBm time < 1 ms 
 Tx rate=130.0 Mbps, Reply from 183d-a27a-0570: RSSI=-43 dBm time < 1 ms 
 10 packets transmitted, 10 received, 0% packet loss, time < 1 ms, RSSI -43 dBm

Смотрим праметры клиента

display station sta-mac fe5f-faba-bd34
<AC>display station sta-mac fe5f-faba-bd34
------------------------------------------------------------------------------
Station MAC-address                           : fe5f-faba-bd34
Station IP-address                            : 10.3.80.34
Station gateway                               : 10.3.81.254
Associated SSID                               : Test
Station online time(ddd:hh:mm:ss)             : 000:00:12:43
The upstream SNR(dB)                          : 44.0
The upstream aggregate receive power(dBm)     : -51.0
Station connect rate(Mbps)                    : 143
Station connect channel                       : 48
Station inactivity time(ddd:hh:mm:ss)         : 000:00:00:00
Station current state
  Authorized for data transfer                : YES
  QoS enabled                                 : YES
  HT rates enabled                            : YES
  Power save mode enabled                     : YES
  Auth reference held                         : No
  UAPSD enabled                               : No
  UAPSD triggerable                           : No
  UAPSD SP in progress                        : No
  This is an ATH node                         : No
  WDS workaround req                          : No
  WDS link                                    : No
  PMF negotiation                             : Yes
Stations HT capability                        : AWPS
Station capabilities                          : EP
Station PMF capabilities                      : PMFC=1,PMFR=0
Station VHT capabilities
  256QAM capabilities                         : YES
  VHT explicit beamforming capabilities       : YES
  MU-MIMO capabilities                        : No
Station HE capabilities
  ofdma capabilities                          : YES
  bss color capabilities                      : No
Stations RM capabilities
  Neighbor Report                             : No
  Beacon Passive Measurement                  : YES
  Beacon Active Measurement                   : YES
  Beacon Table Measurement                    : YES
Stations RSSI(dBm)                            : -51
Stations radio mode                           : 11ax
Stations AP ID                                : 15
Stations AP Name                              : TI-SPT-AP8
Stations Radio ID                             : 1
Stations Authentication Method                : WPA2-PSK
Stations Cipher Type                          : AES
Stations User Name                            : fe5ffababd34
Stations Vlan ID                              : 181
Stations Channel Band-width                   : 20MHz
Stations asso BSSID                           : 10c3-ab29-adb3
Stations state                                : Asso with auth
Stations QoS Mode                             : WMM
Stations HT Mode                              : HE20
Stations MCS value                            : 11
Stations Short GI                             : support
Stations roam state                           : No
HAC CAPWAP IP                                 : -
HAP CAPWAP IP                                 : 10.8.128.50
Supported band                                : 5G
Supported 2.4G channels                       : -
Supported 5G channels                         : 36,40,44,48,52,56,60,64
                                              : 132,136,140,144
                                              : 149,153,157,161,165
802.11k support                               : Yes
802.11r support                               : No
802.11v support                               : Yes
Autonavigation roaming optimization support   : No
Available for roaming                         : Yes
Sticky station or not                         : No
Aimless roaming support in sticky state       : Yes
Station device type                           : -
AC ID                                         : -
U-APSD list:
-------------------------------------------------------
AC-VI          AC-VO        AC-BE         AC-BK
-------------------------------------------------------
not-support  not-support  not-support  not-support
-------------------------------------------------------
------------------------------------------------------------------------------

Проверяем включен ли WMM

display radio-5g-profile name default
<AP>display radio-5g-profile name default
--------------------------------------------------------------------
Radio type                             : 802.11ax
Power auto adjust                      : disable
Beacon interval(TUs)                   : 100
Beamforming switch                     : disable
Fragmentation threshold(Byte)          : 2346
Channel switch announcement            : support
Channel switch mode                    : continue
Guard interval mode                    : short
802.11ax guard interval mode           : dot8
HT A-MPDU switch                       : enable
HT A-MPDU length limit                 : 3
VHT A-MPDU length limit                : 7
VHT A-MSDU switch                      : disable
VHT A-MSDU Max frame number            : 2
RTS-CTS-mode                           : RTS-CTS
RTS-CTS-threshold                      : 1400
802.11a basic rate                     : 12 18 24
802.11a support rate                   : 12 18 24 36 48 54
Multicast rate 5G                      : auto adapt
VHT mcs                                : 9 9 9 9 9 9 9 9
Interference detect switch             : disable
Co-channel frequency interference threshold(%)        : 50
Adjacent-channel frequency interference threshold(%)  : 50
Station interference threshold         : 32
WMM switch                             : enable      - здесь
Mandatory switch                       : disable

если выключен

system-view
wlan
radio-5g-profile name default
undo wmm disable
<AC>system-view
[AC]wlan
[AC-wlan-view]radio-5g-profile name default
[AC-wlan-radio-5g-prof-default]undo wmm disable

Смотрим статистикук по клиенту

display station statistics sta-mac
<AC>display station statistics sta-mac 628e-b26e-38cd
------------------------------------------------------------------------------
  Packets sent to the station                           : 48507
  Packets received from the station                     : 19919
  Bytes sent to the station                             : 56884460
  Bytes received from the station                       : 2344489
  Wireless data rate sent to the station(kbps)          : 0
  Wireless data rate received from the station(kbps)    : 0
  Trigger roam total                                    : 0
  Trigger roam failed                                   : 0
  STA power save percent                                : 94%
------------------------------------------------------------------------------

Запуск трейса клиента способ 1, не всегда работает:

system-view
diagnose
station-trace sta-mac 628e-b26e-38cd
<AC>system-view
[AC]diagnose
[AC-diagnose]station-trace sta-mac 1e46-bab4-47e2
Nov 10 2022 14:43:53.400.8 AP_test WSRV/7/BTRACE:(BTRACE)(WLAN_AP)(b28c-fcf7-d616):WSTA_AssocRespProc[1528]: the sta in aging.

Способ 2:

system-view
trace object mac-address 38fc-9874-a2a7
undo trace enable
trace enable
[AC]
[BTRACE][2022/11/10 15:49:33][512][WLAN_AC][38fc-9874-a2a7]:[Process:2]Packet Delay:1
[BTRACE][2022/11/10 15:49:33][512][WLAN_AC][38fc-9874-a2a7]:[Process:2]Packet access time:290
[BTRACE][2022/11/10 15:49:33][512][WLAN_AC][38fc-9874-a2a7]:[Process:2][WSTA] Flow fork MultiSta MsgType3115 Vcpu4
[BTRACE][2022/11/10 15:49:33][512][WLAN_AC][38fc-9874-a2a7]:[Process:2][WSTA] Flow fork MultiSta MsgType3066 Vcpu4undo 

Посмотреть радиоокружение с точки доступа

system-view
display ap radio-environment ap-id 67
[AC]display ap radio-environment ap-id 67
Warning: This operation will enable scanning for the specified radio, affecting AP's air interface performance. Scanning will be automatically disabled 5 minutes after you run this command. Continue? [Y/N]

Посмотреть статистику по точке доступа:

system-view
display ap performance statistics ap-id 67
[AC]display ap performance statistics ap-id 67
Info: Waiting for AP response.done.
---------------------------------------------------------------------------------------
Memory usage(%)                 : 31
Memory average usage(%)         : 31
CPU usage(%)                    : 4
CPU average usage(%)            : 4
Available space size(KB)        : 1448
Temperature(degree C)           : 49
Online user number              : 1
Upstream traffic(wireless)(KB)  : 49310732
Wireless port drop frames(RX)   : 0
Wireless port drop frames(TX)   : 35478
Wireless port total bytes(RX)   : 50494190
Wireless port total bytes(TX)   : 77243720
Wireless port unicast frames(RX): 70056376
GigabitEthernet port 0
  port drop frames(RX)          : 0
  port drop frames(TX)          : 0
  port total Bytes(RX)          : 92849329982
  port total Bytes(TX)          : 56575899817
  port unknown frames(RX)       : 0
  port error frames(TX)         : 0
  port updown counts            : 0
  port output rate(Kbps)        : 2728
  port input rate(Kbps)         : 3381
Ethernet port 0
  port drop frames(RX)          : 0
  port drop frames(TX)          : 0
  port total Bytes(RX)          : 0
  port total Bytes(TX)          : 0
  port unknown frames(RX)       : 0
  port error frames(TX)         : 0
  port updown counts            : 0
  port output rate(Kbps)        : 0
  port input rate(Kbps)         : 0
---------------------------------------------------------------------------------------

Смотрим с точки доступа (AP)

stelnet ap ap-id 15

Смотрим утилизацию Channel utilisation

system-view
diagnose
display wifi base-info radio 1
[AP-diagnose]display wifi base-info radio 1
------------------------------------
ampdu                     = 1
slot_time                 = 9
ack_timeout               = 36
cts_timeout               = 36
txchainmask               = 48
rxchainmask               = 48
txpowlimit2G              = 63
txpowlimit5G              = 24
ofdm_level                = -5
cck_level                 = -5
ofdm_phyerr_count         = 3582758
cck_phyerr_count          = 0
listen_time               = 0
cycle_count               = 317377216
tx_frame_count            = 2428892352
rx_frame_count            = 2389195840
cca_Threshold             = -72
Radio_Calibaration_Status = 1
RecvFrames                = 4677865
RecvAssReqFrames          = 93
AssReqRejectFrames        = 4
RecvReAssReqFrames        = 321
ReAssReqRejectFrames      = 0
RecvDeauthFrames          = 42
RecvDisassFrames          = 20
AssocACTimeOutTimes       = 0
ReAssocACTimeOutTimes     = 0
RecvProReqFrames          = 284184
SendProRspFrames          = 492076
RecvOwnSendMcastDeauth    = 0
RecvOwnSendUcastDeauth    = 0
Wireless PER(%)           = 0
ChanUtilizationRate(%)    = 11           - текущая утилизация не должна быть больше 60%
CoChanInterferenceRate(%) = 10
ChanMismatchProbeReq      = 0
IsSupportEnhancedPower    = 1
CpuType                   = 0
------------------------------------

Общая инфа по клиентам

system-view
diagnose
display wifi sta-statistics radio 1
[AP-diagnose]display wifi sta-statistics radio 1
ADDR           AID CHAN TXRATE RXRATE RSSI IDLE TXSEQ RXSEQ SKIP   NORML  CAPS ACAPS ERP STATE    HTCAPS
6872-c3cd-2236 1   48   130M   130M   37   0    1309  1458  0      0      EP         0   1400000b APM
fe5f-faba-bd34 2   48   172M   8M     46   0    2249  675   0      0      EP         0   1000001b AWPS
e2ca-07af-f5f5 3   48   137M   172M   41   0    39    41    0      0      EP         0   1000000b AWPS
628e-b26e-38cd 1   48   58M    96M    52   0    224   2884  0      0      EPs        0   1000001b AWQS

Загрузка процессора

system-view
diagnose
display cpu-usage
[AP-diagnose]display display cpu-usage
CPU   Usage Stat. Cycle: 30 (Second)
usr:  1.0%  sys:  1.1%  irq:  0.0%  softIrq:  0.6%
CPU   Usage:  2.9%   Max: 22.0%
CPU   Usage Stat. Time : 2022-11-10  12:09:53
CPU   Usage Max.  Time : 2022-11-10  11:40:39

Буфер памяти

system-view
diagnose
display memory-pool info
[AP-diagnose]display memory-pool info

Show PBuf Desc Pool info :
============== BufMan Info ===================
BufMan Shm Addr[0x50000000], Shm Size[0x800000], L1 Num[64], L1 in use[2]
Buffer Num[12115], each buffer has [0x2a0] bytes
L1 stack info:
        Offset = 0x130, L2Offset = 0xc4a8, num = 16, SP = 0
L1 stack info:
        Offset = 0x184, L2Offset = 0xc4a8, num = 16, SP = 2
L2 stack info:
        Offset = 0xc4a8, len = 0x4000
        front = 40, rear = 12115, available = 12075 - здесь норм, меньше 100 проблема

Очереди отправки пакетов, если значение любого поля в выходных данных предыдущей команды больше 100, очередь перегружена

system-view
diagnose
display wifi txq-buf radio 1
[AP-diagnose]display wifi txq-buf radio 1

[Txqbuf]
  Host tx queue depth:8190
[Frames queued to hwq]
  --------------------------------------
  Q0  Q1  Q2  Q3  Q4  Q5  Q6  Q7  Q8  Q9
  2   0   0   0   0   0   0   0   0   0
  --------------------------------------
[Tid queue stats]
  SW queue stats <---> HW queue stats
  ------------------------------
  TID 0     0               0
  TID 1     0               0
  TID 2     0               0
  TID 3     0               0
  TID 4     0               0
  TID 5     0               0
  TID 6     0               0
  TID 7     0               0
  TID 8     0               0
  TID 9     0               0
  TID 10    0               0
  TID 11    0               0
  TID 12    0               0
  TID 13    0               0
  TID 14    0               0
  TID 15    0               0
  TID 16    2               0
  TID 17    0               0
  TID 18    0               1
  TID 19    0               0
  ------------------------------

Если буферная очередь AP перегружена, смотрим использование очереди каждой STA, смотрим на num_mpdu_in_frameq

system-view
diagnose
display wifi sta-statistics radio 1
[AP-diagnose]display wifi sta-statistics radio 1
---------------------------STA:fe5f-faba-bd34 TidInfo---------------------------
[tidno: 6]
  wal_txq_id          : 3          is_registered_for_hwq_empty : 1
  sw_retry_failure    : 0          tx_header_size              : 42
  tid_flags           : 0x140006   pause_module_id_map         : 0x800
  block_module_id_map : 0x0        tid_winsn                   : 0x0
  tid_startsn         : 320        tid_winunack                : 0x0
  tid_frameqhead      : 0x0        tid_frameqaddr              : 0x0
  num_mpdu_in_frameq  : 0          num_mpdu_in_hwq             : 0
  tid_frameqlastnum   : 0          tid_frameqlastpad           : 0
  total_mpdus_allowed : 0          allow_n_flags               : 0x0
  win_credit          : 64         win_size_o                  : 64
  fail_cnt_succ       : 0          pn_low                      : 0x600000000000

Смотрим статистику многоадресных и широковещательных пакетов на проводном интерфейсе, если скорость увеличения Broadcastили Multicast превышает 100 пакетов в секунду, интерфейс перегружен.

display interface GigabitEthernet 0/0/0
<AP>display interface GigabitEthernet 0/0/0
GigabitEthernet0/0/0 current state : UP
Line protocol current state : UP
Description:HUAWEI, AP Series, GigabitEthernet0/0/0 Interface
Switch Port, PVID :    1, TPID : 8100(Hex), The Maximum Frame Length is 1800
IP Sending Frames Format is PKTFMT_ETHNT_2, Hardware address is 10c3-ab29-ada0
Last physical up time   : 2022-11-10 08:48:28
Last physical down time : 2022-11-10 08:48:11
Current system time: 2022-11-10 13:32:49+03:00
Port Mode: COMMON COPPER
Speed :  100,  Loopback: NONE
Duplex: FULL,  Negotiation: ENABLE
Mdi   : AUTO
Last 300 seconds input rate 240600 bits/sec, 42 packets/sec
Last 300 seconds output rate 61216 bits/sec, 22 packets/sec
Input peak rate 99941896 bits/sec,Record time: 2022-11-10 13:24:25
Output peak rate 32769672 bits/sec,Record time: 2022-11-10 13:24:35

Input:  340573 packets, 404835952 bytes
  Unicast:             325032,  Multicast:               11764
  Broadcast:             3777,  Jumbo:                  215437
  Discard:                  0,  Total Error:                 0

  CRC:                      0,  Giants:                      0
  Jabbers:                  0,  Throttles:                   0

<AP>display interface GigabitEthernet 0/0/0
GigabitEthernet0/0/0 current state : UP
Line protocol current state : UP
Description:HUAWEI, AP Series, GigabitEthernet0/0/0 Interface
Switch Port, PVID :    1, TPID : 8100(Hex), The Maximum Frame Length is 1800
IP Sending Frames Format is PKTFMT_ETHNT_2, Hardware address is 10c3-ab29-ada0
Last physical up time   : 2022-11-10 08:48:28
Last physical down time : 2022-11-10 08:48:11
Current system time: 2022-11-10 13:32:56+03:00
Port Mode: COMMON COPPER
Speed :  100,  Loopback: NONE
Duplex: FULL,  Negotiation: ENABLE
Mdi   : AUTO
Last 300 seconds input rate 265264 bits/sec, 44 packets/sec
Last 300 seconds output rate 61848 bits/sec, 23 packets/sec
Input peak rate 99941896 bits/sec,Record time: 2022-11-10 13:24:25
Output peak rate 32769672 bits/sec,Record time: 2022-11-10 13:24:35

Input:  341290 packets, 405769501 bytes
  Unicast:             325697,  Multicast:               11806
  Broadcast:             3787,  Jumbo:                  216032
  Discard:                  0,  Total Error:                 0

  CRC:                      0,  Giants:                      0
  Jabbers:                  0,  Throttles:                   0