Вы находитесь на странице: 1из 61

Wireless Access Controllers

Troubleshooting

Issue 09
Date 2017-04-20

HUAWEI TECHNOLOGIES CO., LTD.


Copyright © Huawei Technologies Co., Ltd. 2017. All rights reserved.
No part of this document may be reproduced or transmitted in any form or by any means without prior written
consent of Huawei Technologies Co., Ltd.

Trademarks and Permissions

and other Huawei trademarks are trademarks of Huawei Technologies Co., Ltd.
All other trademarks and trade names mentioned in this document are the property of their respective
holders.

Notice
The purchased products, services and features are stipulated by the contract made between Huawei and the
customer. All or part of the products, services and features described in this document may not be within the
purchase scope or the usage scope. Unless otherwise specified in the contract, all statements, information,
and recommendations in this document are provided "AS IS" without warranties, guarantees or
representations of any kind, either express or implied.

The information in this document is subject to change without notice. Every effort has been made in the
preparation of this document to ensure accuracy of the contents, but all statements, information, and
recommendations in this document do not constitute a warranty of any kind, express or implied.

Huawei Technologies Co., Ltd.


Address: Huawei Industrial Base
Bantian, Longgang
Shenzhen 518129
People's Republic of China

Website: http://e.huawei.com

Issue 09 (2017-04-20) Huawei Proprietary and Confidential i


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting About This Document

About This Document

Overview
This document describes common troubleshooting procedure and methods.

NOTE

This document applies to V200R003C00 and a later version.

Intended Audience
This document is intended for:
l Data configuration engineers
l Commissioning engineers
l Network monitoring engineers
l System maintenance engineers

Symbol Conventions
The symbols that may be found in this document are defined as follows.

Symbol Description

Indicates an imminently hazardous situation


which, if not avoided, will result in death or
serious injury.

Indicates a potentially hazardous situation


which, if not avoided, could result in death
or serious injury.

Indicates a potentially hazardous situation


which, if not avoided, may result in minor
or moderate injury.

Issue 09 (2017-04-20) Huawei Proprietary and Confidential ii


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting About This Document

Symbol Description

Indicates a potentially hazardous situation


which, if not avoided, could result in
equipment damage, data loss, performance
deterioration, or unanticipated results.
NOTICE is used to address practices not
related to personal injury.

NOTE Calls attention to important information,


best practices and tips.
NOTE is used to address information not
related to personal injury, equipment
damage, and environment deterioration.

Command Conventions
The command conventions that may be found in this document are defined as follows.

Convention Description

Boldface The keywords of a command line are in boldface.

Italic Command arguments are in italics.

[] Items (keywords or arguments) in brackets [ ] are optional.

{ x | y | ... } Optional items are grouped in braces and separated by


vertical bars. One item is selected.

[ x | y | ... ] Optional items are grouped in brackets and separated by


vertical bars. One item is selected or no item is selected.

{ x | y | ... }* Optional items are grouped in braces and separated by


vertical bars. A minimum of one item or a maximum of all
items can be selected.

[ x | y | ... ]* Optional items are grouped in brackets and separated by


vertical bars. Several items or no item can be selected.

&<1-n> The parameter before the & sign can be repeated 1 to n


times.

# A line starting with the # sign is comments.

Interface Numbering Conventions


Interface numbers used in this manual are examples. In device configuration, use the existing
interface numbers on devices.

Issue 09 (2017-04-20) Huawei Proprietary and Confidential iii


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting About This Document

Security Conventions
l Password setting
When configuring a password, the cipher text is recommended. To ensure device
security, do not disable password complexity check, and change the password
periodically.
When you configure a password in cipher text that starts and ends with %^%#......%^%#
(the password can be decrypted by the device), the password is displayed in the same
manner as the configured one in the configuration file. Do not use this setting.
l Encryption algorithm
Currently, the device uses the following encryption algorithms: DES, 3DES, AES, RSA,
SHA1, SHA-2, MD5 and SMS4. The encryption algorithm depends on the applicable
scenario. Use the recommended encryption algorithm; otherwise, security defense
requirements may be not met.
– For the symmetrical encryption algorithm, use AES with the key of 128 bits or
more.
– For the asymmetrical encryption algorithm, use RSA with the key of 2048 bits or
more.
– For the hash algorithm, use SHA2 with the key of 256 bits or more.
– For the HMAC algorithm, use HMAC-SHA2.
– The encryption algorithms DES/3DES/RSA (RSA-1024 or lower)/MD5 (in digital
signature scenarios and password encryption)/SHA1 (in digital signature scenarios)
have a low security, which may bring security risks. If protocols allowed, using
more secure encryption algorithms, such as AES/RSA (RSA-2048 or higher)/
SHA2/HMAC-SHA2, is recommended.
– SHA2 is irreversible encryption algorithm. The irreversible encryption algorithm
must be used for the administrator password.
l Personal data
Some personal data may be obtained or used during operation or fault location of your
purchased products, services, features, so you have an obligation to make privacy
policies and take measures according to the applicable law of the country to protect
personal data.

Model Declaration for Carriers Outside China


This document is provided to both enterprise and carrier users. Table 1 lists WLAN product
models supported for carriers outside China.

Table 1 WLAN product models for carriers outside China

Software Version Product Model

V200R007C20 AC6005

AC6605

Issue 09 (2017-04-20) Huawei Proprietary and Confidential iv


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting About This Document

Software Version Product Model

ACU2
This model is released only in Russia.

AP2030DN

AP2050DN

AP2050DN-E

AP4030DN

AP4050DN

AP4050DN-E

AP4051DN

AP4130DN

AP4151DN

AP5030DN

AP5130DN

AP6050DN

AP6150DN

AP6510DN-AGN

AP7050DE

AP7050DN-E

AP8030DN

AP8050DN

AP8130DN

AP8150DN

AD9430DN-12

AD9430DN-24

R230D

R240D

R250D

R250D-E

Issue 09 (2017-04-20) Huawei Proprietary and Confidential v


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting About This Document

Change History
Updates between document issues are cumulative. Therefore, the latest document issue
contains all updates made in previous issues.

Changes in Issue 09 (2017-04-20)


This version has the following updates:
The following information is added:
l 11 Collecting Information and Contacting Technical Support
The following information is deleted:
l Ask for Help

Changes in Issue 08 (2016-08-12)


This version has the following updates:
The following information is modified:
l Default User Names and Passwords for WLAN Devices

Changes in Issue 07 (2016-05-31)


This version has the following updates:
The following information is modified:
l Default User Names and Passwords for WLAN Devices

Changes in Issue 06 (2016-03-07)


This version has the following updates:
The following information is modified:
l Default User Names and Passwords for WLAN Devices

Changes in Issue 05 (2015-10-20)


This version has the following updates:
The following information is modified:
l 10 List of Indicators

Changes in Issue 04 (2015-07-15)


This version has the following updates:
The following information is modified:
l 2 Forgetting Passwords

Changes in Issue 03 (2014-12-05)


This version has the following updates:

Issue 09 (2017-04-20) Huawei Proprietary and Confidential vi


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting About This Document

The following information is modified:


l 9.6 Mirroring

Changes in Issue 02 (2014-01-25)


This version has the following updates:
The following information is modified:
l Recovering the Console Port Password

Changes in Issue 01 (2013-09-30)


Initial commercial release.

Issue 09 (2017-04-20) Huawei Proprietary and Confidential vii


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting Contents

Contents

About This Document.....................................................................................................................ii


1 Instructions for Maintenance Engineers...................................................................................1
1.1 Precautions......................................................................................................................................................................1
1.2 Backing Up Data............................................................................................................................................................ 1
1.3 Troubleshooting Process.................................................................................................................................................1

2 Forgetting Passwords.................................................................................................................... 3
2.1 List of Default User Names and Passwords................................................................................................................... 3
2.2 Recovering the Console Password................................................................................................................................. 3
2.2.1 Logging In to a Device Using Telnet or STelnet and Changing the Console Password..............................................4
2.2.2 Clearing the Console Password in the BIOS Menu and Changing the Console Password......................................... 4
2.2.3 Changing the Password of a Fit AP on an AC............................................................................................................ 5
2.2.4 Changing the Password of a Fit AP in the Uboot View.............................................................................................. 7
2.3 Recovering a Telnet Password........................................................................................................................................8
2.3.1 Configuring a Telnet Password....................................................................................................................................8
2.3.2 Changing the Password of a Fit AP on an AC............................................................................................................ 9
2.3.3 Changing the Password of a Fit AP in the Uboot View.............................................................................................11
2.3.4 Configuring a Password for a WS6603..................................................................................................................... 11
2.4 Recovering the BootROM Password............................................................................................................................12
2.4.1 Recovering the BIOS Password................................................................................................................................ 12
2.4.2 Recovering the Uboot Password................................................................................................................................13
2.5 Appendix...................................................................................................................................................................... 14
2.5.1 Logging In to a Device Through the Console Port....................................................................................................14

3 Information Collection............................................................................................................... 16
3.1 Overview...................................................................................................................................................................... 16
3.2 Collecting Diagnostic Information............................................................................................................................... 16
3.3 Collecting Log Information.......................................................................................................................................... 17

4 System Maintenance Methods..................................................................................................18


4.1 Using the Configuration File to Restore Device Configurations................................................................................. 18
4.2 Restarting a Device.......................................................................................................................................................18
4.3 Upgrading the Device................................................................................................................................................... 19
4.4 Transferring Files Using FTP/TFTP.............................................................................................................................19

Issue 09 (2017-04-20) Huawei Proprietary and Confidential viii


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting Contents

5 Startup Failures............................................................................................................................ 23
5.1 Terminal Does Not Display Anything Or Displays Garbled Characters......................................................................23
5.2 Device Restarts Unexpectedly......................................................................................................................................24

6 Hardware Failures....................................................................................................................... 26
6.1 Power Supply Failures..................................................................................................................................................26
6.1.1 A Device Fails to Be Powered On.............................................................................................................................26
6.1.2 The PWR Indicator Is Steady On.............................................................................................................................. 28
6.2 Memory Failures...........................................................................................................................................................28
6.2.1 Failed to Write Data to the SD Card or USB Flash Drive.........................................................................................29
6.3 Interface Faults............................................................................................................................................................. 29
6.3.1 An Optical Interface Cannot Turn Up....................................................................................................................... 29

7 Memory Failures.......................................................................................................................... 32
8 License Failures............................................................................................................................34
8.1 License Fails to Be Activated....................................................................................................................................... 34

9 Common Fault Diagnostic Commands................................................................................... 36


9.1 display Commands....................................................................................................................................................... 36
9.1.1 Overview................................................................................................................................................................... 36
9.1.2 Regular Expression in display Commands................................................................................................................ 37
9.1.3 Common display Commands.....................................................................................................................................40
9.2 reset Commands........................................................................................................................................................... 42
9.2.1 Overview................................................................................................................................................................... 42
9.2.2 reset Commands Clearing Packet Statistics...............................................................................................................42
9.2.3 Using reset Commands.............................................................................................................................................. 43
9.3 Ping and Tracert............................................................................................................................................................44
9.4 Alarms.......................................................................................................................................................................... 47
9.5 Logs.............................................................................................................................................................................. 47
9.6 Mirroring...................................................................................................................................................................... 48

10 List of Indicators........................................................................................................................ 50
11 Collecting Information and Contacting Technical Support............................................. 51

Issue 09 (2017-04-20) Huawei Proprietary and Confidential ix


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting 1 Instructions for Maintenance Engineers

1 Instructions for Maintenance Engineers

1.1 Precautions
If you are a maintenance engineer, read the following precautions before doing your work:

l Confirm whether the fault is an emergency fault. If it is an emergency fault, recover the
faulty module by using the pre-defined troubleshooting methods immediately, and then
restore services.
l Strictly conform to operation rules and industrial safety standards, ensuring human and
device safety.
l Wear the ESD wrist strap when touching device components.
l Record original information about the problems occurring during troubleshooting.
l Record all the operations you have performed, especially the key operations such as
restarting device and clearing database. Before performing the key operations, confirm
the operation feasibility, back up data, and prepare the emergency and security measures.
Only qualified personnel can perform key operations.

1.2 Backing Up Data


Some faults cause resource or money loss for customers. Therefore, maintenance engineers
should focus on preventing faults and quickly restoring faults. Data backup helps you quickly
locate and recover faults. After a network is set up and operates normally, you should back up
important data as soon as possible.

Important data includes:

l Complete network topology, including device models, versions, and networking diagram
l Configuration files and license files
l System software and patch files
l (Optional) Logs

1.3 Troubleshooting Process


Systematic troubleshooting is to find fault causes step by step, and finally recover the fault.

Issue 09 (2017-04-20) Huawei Proprietary and Confidential 1


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting 1 Instructions for Maintenance Engineers

Generally, troubleshooting steps include observing fault symptom, collecting information,


analyzing problem, and finding the root cause. The possible causes of all faults can be
grouped into multiple cause sets, which make troubleshooting easier.

Issue 09 (2017-04-20) Huawei Proprietary and Confidential 2


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting 2 Forgetting Passwords

2 Forgetting Passwords

2.1 List of Default User Names and Passwords


See Default User Names and Passwords for WLAN Devices.
If you forget all passwords and the device has a Default button, hold down the button more
than 3s to restore factory settings. The user name and password of the device are then restored
to the default values; if the device has no Default button, please contact technical support
personnel.

2.2 Recovering the Console Password


The following table provides the methods that you can use to recover the console password.

Table 2-1 Methods to recover the console password


No. Method Applicable Applicable
Product Version

1 2.2.1 Logging In to a Device Using Telnet AC V200R001C00


or STelnet and Changing the Console and later
Password versions

2 2.2.2 Clearing the Console Password in AC V200R003C00


the BIOS Menu and Changing the and later
Console Password versions

3 2.2.3 Changing the Password of a Fit AP Fit AP All versions


on an AC

4 2.2.4 Changing the Password of a Fit AP Fit AP V200R003C00


in the Uboot View and later
versions

Issue 09 (2017-04-20) Huawei Proprietary and Confidential 3


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting 2 Forgetting Passwords

NOTE

l For an AC, method 1 is preferred. Use method 2 if you forget the Telnet or STelnet password.
l For a Fit AP, use method 3 if the AP has successfully connected to an AC and use method 4 if the
AP has not connected to an AC.

2.2.1 Logging In to a Device Using Telnet or STelnet and


Changing the Console Password
If you have a Telnet or STelnet account with a privilege level of 15 for a device, you can
change the console password after logging in to the device using Telnet or STelnet. Then save
the configuration of the new password. The following procedure uses Telnet login as an
example.

NOTE

In V200R002 and earlier versions, a user with a privilege level of 3 or higher can change the console
password after logging in.

Step 1 Use a Telnet account with a privilege level of 15 to log in to the device.

Step 2 Change the console password. The following example changes the authentication mode to
password authentication and the password to huawei@123.
<Huawei> system-view
[Huawei] user-interface console 0
[Huawei-ui-console0] authentication-mode password
[Huawei-ui-console0] set authentication password cipher
Enter Password(<6-16>): //The actual display may be different.
Confirm Password:
[Huawei-ui-console0] return

Step 3 Run the save command to save the configuration so that the new password will not be lost
after a system restart.

----End

2.2.2 Clearing the Console Password in the BIOS Menu and


Changing the Console Password
You can clear the console password in the BIOS menu (if the device provides this function).
Then the system can start and load all configurations normally, except that it does not prompt
you to enter the console password. After the device starts, change the console password and
save the configuration.

Issue 09 (2017-04-20) Huawei Proprietary and Confidential 4


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting 2 Forgetting Passwords

NOTICE
l Clearing the console password brings security risks. Keep the BootROM password safe to
ensure system security.
l You must restart the device to display the BIOS menu, which results in service
interruption. Back up service configuration and perform this operation in off-peak hours.
l If you clear the console password, configure a new password immediately after you log in
to the device. Otherwise, you must clear the console password again to log in if the login
timeout timer expires or the device restarts.
l Do not power off the device during the operation.

Step 1 Use a serial cable to connect a PC to the device and restart the device. When the message
"Press CTRL+B to enter BIOS menu" is displayed, press Ctrl+B and enter the password
(admin@huawei.com by default) to display the BIOS main menu.

For details on how to connect a PC to the device with a serial cable, see 2.5.1 Logging In to a
Device Through the Console Port.

The BootROM password may vary in different software versions. For details, see 2.1 List of
Default User Names and Passwords.

Step 2 Clear the console password.


1. Enter the number of the Clear password for console user option in the BIOS menu to
clear the console password.
2. Enter the number of the Boot with default mode option to start the system with the
default mode.

Step 3 Log in to the system through the console port without entering the password. Change the
console password. The following example changes the authentication mode to password
authentication and the password to huawei@123.

Different software versions provide different commands for changing the authentication
password:
l V200R002 and earlier versions: set authentication password [ cipher password ]
l V200R003 and later versions: set authentication password cipher
<Huawei> system-view
[Huawei] user-interface console 0
[Huawei-ui-console0] authentication-mode password
[Huawei-ui-console0] set authentication password cipher
Enter Password(<6-16>): //The actual display may be different.
Confirm Password:
[Huawei-ui-console0] return

Step 4 Run the save command to save the configuration so that the new password will not be lost
after a system restart.

----End

2.2.3 Changing the Password of a Fit AP on an AC

Issue 09 (2017-04-20) Huawei Proprietary and Confidential 5


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting 2 Forgetting Passwords

V200R005C10 and Earlier Versions


A Fit AP supports only one local user account, which can be a console, Telnet, or SSH
account.

If the password of a Fit AP is lost but the AP has connected to an AC successfully, change the
password or restore the default password:
l Run the wlan ap username command on the AC to configure a new user name and
password, and deliver the configuration to the Fit AP.
l Run the undo wlan ap username command on the AC to restore the default user name
and password, and deliver the configuration to the Fit AP.

NOTE

The preceding operations may affect other APs connected to the AC. For example, if configuration
needs to be delivered to other APs or new APs connect to the AC, the password configuration delivered
from the AC will change the user name and password on these APs.

The following example changes the password of AP1 on an AC6605.

NOTE

If a WS6603 is used, run the following commands to enter the WLAN view.
WS6603>enable
WS6603#config
WS6603(config)#wlan ac

l Change the password of AP1.


<AC6605> system-view
[AC6605] wlan
[AC6605-wlan-view] wlan ap username admin password cipher
Enter the password (plain-text password of 8-32 characters or cipher-text
passwo
rd of 32 or 56 characters):
Confirm password:
[AC6605-wlan-view] commit ap 1 //Run the display ap command to obtain the AP
ID beforehand.
Warning: Committing configuration may cause service interruption, continue?
[Y/N]
:y

l Restore the default user name and password of AP1.


<AC6605> system-view
[AC6605] wlan
[AC6605-wlan-view] undo wlan ap username
[AC6605-wlan-view] commit ap 1 //Obtain the AP ID beforehand.
Warning: Committing configuration may cause service interruption, continue?
[Y/N]
:y

----End

V200R006C10 and Later Versions


A Fit AP supports only one local user account, which can be a console, Telnet, or SSH
account.

If the password of a Fit AP is lost but the AP has connected to an AC successfully, change the
password or restore the default password:
l Run the ap username command on the AC to configure a new user name and password,
and deliver the configuration to the Fit AP.

Issue 09 (2017-04-20) Huawei Proprietary and Confidential 6


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting 2 Forgetting Passwords

l Run the undo ap username command on the AC to restore the default user name and
password, and deliver the configuration to the Fit AP.

NOTE

The preceding operations may affect other APs connected to the AC. The AC automatically delivers the
modified user name and password to all APs. The delivered configuration takes effect on all APs.

The following example changes the password of AP on an AC6605.


l Change the password of the AP.
<AC6605> system-view
[AC6605] wlan
[AC6605-wlan-view] ap username admin password cipher
Enter the password (plain-text password of 8-32 characters or cipher-text
password of 48 or 68 characters):
Confirm password:

l Restore the default user name and password of the AP.


<AC6605> system-view
[AC6605] wlan
[AC6605-wlan-view] undo ap username

----End

2.2.4 Changing the Password of a Fit AP in the Uboot View


A Fit AP supports only one local user account, which can be a console, Telnet, or SSH
account. If the password of a Fit AP is lost and the AP has not connected to an AC, enter the
Uboot view and reset the user name and password to default settings, which are admin and
admin@huawei.com respectively.

NOTICE
l You must restart the device to enter the Uboot view, which results in service interruption.
Back up service configuration and perform this operation in off-peak hours.
l Do not power off the device during the operation.

Step 1 Use a serial cable to connect a PC to the device and restart the device. When the message
"Press f or F to stop Auto-Boot" is displayed, press F and enter the password
(admin@huawei.com by default) to enter the Uboot view.
For details on how to connect a PC to the device with a serial cable, see 2.5.1 Logging In to a
Device Through the Console Port.
The BootROM password may vary in different software versions. For details, see 2.1 List of
Default User Names and Passwords.
Step 2 Run the defaultuser command to restore the default user name and password.
ar7240> defaultuser
Start setting whether to Change Password.....
Current Bootup Change PW is N
Do you Want To Change The Default password, Y or N : Y

ar7240>

Step 3 Run the reset command to restart the device.

Issue 09 (2017-04-20) Huawei Proprietary and Confidential 7


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting 2 Forgetting Passwords

ar7240> reset
Resetting...

The user name and password are restored to the default settings after the restart.

----End

2.3 Recovering a Telnet Password


The following table provides the methods that you can use to recover the password of a Telnet
or STelnet account.

Table 2-2 Methods to recover the password of a Telnet or STelnet account

No. Method Applicable Applicable


Product Version

1 2.3.1 Configuring a Telnet AC V200R001C00 and


Password later versions

2 2.3.2 Changing the Password of Fit AP All versions


a Fit AP on an AC

3 2.3.3 Changing the Password of Fit AP V200R003C00 and


a Fit AP in the Uboot View later versions

4 2.3.4 Configuring a Password WS6603 V100R003


for a WS6603

NOTE

For a Fit AP, use method 2 if the AP has successfully connected to an AC and use method 3 if the AP
has not connected to an AC.

2.3.1 Configuring a Telnet Password

The Telnet or STelnet protocol can be to manage and maintain a device remotely. If the
password of a Telnet or STelnet account is lost, use either of the following methods to
configure a new password:
l Log in to the device using a user account with a higher privilege level (at least level 3)
than the previous user account, and configure a new password for the previous user
account.
l Log in to the device through the console port and configure a new password.

Two authentication modes can be used for Telnet or STelnet login:


l AAA mode: Enter a user name and password to log in.
l Password mode: Enter only the password to log in.

The following examples configure the same password for VTY user interfaces 0 to 4.

Issue 09 (2017-04-20) Huawei Proprietary and Confidential 8


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting 2 Forgetting Passwords

AAA Mode
Step 1 Create a Telnet user huawei and set its password to huawei@123.
<Huawei> system-view
[Huawei] telnet server enable
[Huawei] user-interface vty 0 4
[Huawei-ui-vty0-4] authentication-mode aaa
[Huawei-ui-vty0-4] protocol inbound all
[Huawei-ui-vty0-4] quit
[Huawei] aaa
[Huawei-aaa] local-user huawei password cipher huawei@123
[Huawei-aaa] local-user huawei service-type telnet
[Huawei-aaa] local-user huawei privilege level 15

After completing the configuration, you can enter the user name huawei and password
huawei@123 to log in to the device.
Step 2 Run the save command to save the configuration so that the new password will not be lost
after a system restart.

----End

Password Mode
Step 1 Set the authentication mode to password authentication and the password to huawei@123 for
VTY user interfaces 0 to 4.
Different software versions provide different commands for changing the authentication
password:
l V200R002 and earlier versions: set authentication password [ cipher password ]
l V200R003 and later versions: set authentication password cipher
<Huawei> system-view
[Huawei] telnet server enable
[Huawei] user-interface vty 0 4
[Huawei-ui-vty0-4] authentication-mode password
[Huawei-ui-vty0-4] protocol inbound all
[Huawei-ui-vty0-4] set authentication password cipher
Enter Password(<6-16>): //The actual display may be different.
Confirm Password:
[Huawei-ui-vty0-4] return

After completing the configuration, you can enter password huawei@123 to log in to the
device.
Step 2 Run the save command to save the configuration so that the new password will not be lost
after a system restart.

----End

2.3.2 Changing the Password of a Fit AP on an AC

V200R005C10 and Earlier Versions


A Fit AP supports only one local user account, which can be a console, Telnet, or SSH
account.
If the password of a Fit AP is lost but the AP has connected to an AC successfully, change the
password or restore the default password:

Issue 09 (2017-04-20) Huawei Proprietary and Confidential 9


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting 2 Forgetting Passwords

l Run the wlan ap username command on the AC to configure a new user name and
password, and deliver the configuration to the Fit AP.
l Run the undo wlan ap username command on the AC to restore the default user name
and password, and deliver the configuration to the Fit AP.

NOTE

The preceding operations may affect other APs connected to the AC. For example, if configuration
needs to be delivered to other APs or new APs connect to the AC, the password configuration delivered
from the AC will change the user name and password on these APs.

The following example changes the password of AP1 on an AC6605.

NOTE

If a WS6603 is used, run the following commands to enter the WLAN view.
WS6603>enable
WS6603#config
WS6603(config)#wlan ac

l Change the password of AP1.


<AC6605> system-view
[AC6605] wlan
[AC6605-wlan-view] wlan ap username admin password cipher
Enter the password (plain-text password of 8-32 characters or cipher-text
passwo
rd of 32 or 56 characters):
Confirm password:
[AC6605-wlan-view] commit ap 1 //Run the display ap command to obtain the AP
ID beforehand.
Warning: Committing configuration may cause service interruption, continue?
[Y/N]
:y

l Restore the default user name and password of AP1.


<AC6605> system-view
[AC6605] wlan
[AC6605-wlan-view] undo wlan ap username
[AC6605-wlan-view] commit ap 1 //Obtain the AP ID beforehand.
Warning: Committing configuration may cause service interruption, continue?
[Y/N]
:y

----End

V200R006C10 and Later Versions


A Fit AP supports only one local user account, which can be a console, Telnet, or SSH
account.
If the password of a Fit AP is lost but the AP has connected to an AC successfully, change the
password or restore the default password:
l Run the ap username command on the AC to configure a new user name and password,
and deliver the configuration to the Fit AP.
l Run the undo ap username command on the AC to restore the default user name and
password, and deliver the configuration to the Fit AP.

NOTE

The preceding operations may affect other APs connected to the AC. The AC automatically delivers the
modified user name and password to all APs. The delivered configuration takes effect on all APs.

The following example changes the password of AP on an AC6605.

Issue 09 (2017-04-20) Huawei Proprietary and Confidential 10


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting 2 Forgetting Passwords

l Change the password of the AP.


<AC6605> system-view
[AC6605] wlan
[AC6605-wlan-view] ap username admin password cipher
Enter the password (plain-text password of 8-32 characters or cipher-text
password of 48 or 68 characters):
Confirm password:

l Restore the default user name and password of the AP.


<AC6605> system-view
[AC6605] wlan
[AC6605-wlan-view] undo ap username

----End

2.3.3 Changing the Password of a Fit AP in the Uboot View


A Fit AP supports only one local user account, which can be a console, Telnet, or SSH
account. If the password of a Fit AP is lost and the AP has not connected to an AC, enter the
Uboot view and reset the user name and password to default settings, which are admin and
admin@huawei.com respectively.

NOTICE
l You must restart the device to enter the Uboot view, which results in service interruption.
Back up service configuration and perform this operation in off-peak hours.
l Do not power off the device during the operation.

Step 1 Use a serial cable to connect a PC to the device and restart the device. When the message
"Press f or F to stop Auto-Boot" is displayed, press F and enter the password
(admin@huawei.com by default) to enter the Uboot view.
For details on how to connect a PC to the device with a serial cable, see 2.5.1 Logging In to a
Device Through the Console Port.
The BootROM password may vary in different software versions. For details, see 2.1 List of
Default User Names and Passwords.
Step 2 Run the defaultuser command to restore the default user name and password.
ar7240> defaultuser
Start setting whether to Change Password.....
Current Bootup Change PW is N
Do you Want To Change The Default password, Y or N : Y

ar7240>

Step 3 Run the reset command to restart the device.


ar7240> reset
Resetting...

The user name and password are restored to the default settings after the restart.

----End

2.3.4 Configuring a Password for a WS6603

Issue 09 (2017-04-20) Huawei Proprietary and Confidential 11


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting 2 Forgetting Passwords

A super administrator or administrator can change the password of itself or a user with a
lower level. When changing the password of a user with a lower level, the super administrator
or administrator does not need to enter the old password of this user.
A common user or operator can only change its own password and must enter the old
password before setting a new password.
l Create a user account operator and set the user level to operator, number of login
attempts to 2, and appended information to operator.
WS6603>enable
WS6603#terminal user name
User Name(length<6,15>):operator
User Password(length<6,15>):
Confirm Password(length<6,15>):
User profile name(<=15 chars)[root]:
User's Level:
1. Common User 2. Operator 3. Administrator:2
Permitted Reenter Number(0--4):2
User's Appended Info(<=30 chars):operator
Adding user succeeds

l Use an administrator account to log in to the system, and set the password for the
operator user to huawei@123.
WS6603>enable
WS6603#terminal user password
User Name(length<6,15>):operator
New Password(length<6,15>):
Confirm Password(length<6,15>):
Information takes effect

----End

2.4 Recovering the BootROM Password


The following table provides the methods that you can use to recover the BootROM
password.

Table 2-3 Methods to recover the BootROM password


No. Method Applicable Applicable
Product Version

1 2.4.1 Recovering the BIOS AC V200R002C00 and


Password later versions

2 2.4.2 Recovering the Uboot Fit AP V200R003C00 and


Password later versions

2.4.1 Recovering the BIOS Password


The basic input/output system (BIOS) of a device provides configuration recovery, system
software upgrade, and other functions to enhance system security and facilitate maintenance.
The BIOS password is important for system security and must be kept safe. If you forget your
BIOS password, restore the default password and then configure a new password.
Use a serial cable to connect a PC to the device and perform the following operations.

Issue 09 (2017-04-20) Huawei Proprietary and Confidential 12


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting 2 Forgetting Passwords

Step 1 Restore the default BIOS password and restart the device.
For details on how to connect a PC to the device with a serial cable, see 2.5.1 Logging In to a
Device Through the Console Port.
The BootROM password may vary in different software versions. For details, see 2.1 List of
Default User Names and Passwords.
<Huawei> system-view
[Huawei] diagnose
[Huawei-diagnose] reset boot password
The password used to enter the BootROM menu will be restored
to the factory setting, continue? [Y/N] y
Info: Succeeded in setting password of boot to default.
[Huawei-diagnose] return
<Huawei> reboot
Info: The system is comparing the configuration, please wait.
Warning: All the configuration will be saved to the next startup configuration.
Continue ? [y/n]:y
It will take several minutes to save configuration file, please wait..........
Configuration file had been saved successfully
Note: The configuration file will take effect after being activated
System will reboot! Continue ? [y/n]:y
Info: system is rebooting ,please wait...

Step 2 Change the password in the BIOS menu.


When the message "Press CTRL+B to enter BIOS menu" is displayed, press Ctrl+B and enter
the password (admin@huawei.com by default) to display the BIOS main menu.
BIOS Menu (Version: 072)

1. Boot with default mode


2. Enter serial submenu
3. Enter startup submenu
4. Enter ethernet submenu
5. Enter file system submenu
6. Modify BOOTROM password
7. Clear password for console user
8. Config HigMem to Flash Flag
9. Reboot(Press CTRL+E to enter Diag menu)Enter your choice(1-9):6
Confirm old password : //Enter the old password.
Please enter new password : //Enter the new password.
Please confirm new password : //Enter the new password again.
The password is changed successfully.

----End

2.4.2 Recovering the Uboot Password


The Uboot password is important for system security and must be kept safe. If you forget your
Uboot password, restore the default password and then configure a new password.
Use a serial cable to connect a PC to the device and perform the following operations.

Step 1 Restore the default Uboot password and restart the device.
For details on how to connect a PC to the device with a serial cable, see 2.5.1 Logging In to a
Device Through the Console Port.
The BootROM password may vary in different software versions. For details, see 2.1 List of
Default User Names and Passwords.
<Huawei> system-view
[Huawei] diagnose

Issue 09 (2017-04-20) Huawei Proprietary and Confidential 13


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting 2 Forgetting Passwords

[Huawei-diagnose] reset boot password


The password used to enter the BootROM menu will be restored
to the factory setting, continue? [Y/N] y
Info: Succeeded in setting password of boot to default.
[Huawei-diagnose] return
<Huawei> reboot
Info: The system is comparing the configuration, please wait.
Warning: All the configuration will be saved to the next startup configuration.
Continue ? [y/n]:y
It will take several minutes to save configuration file, please wait..........
Configuration file had been saved successfully
Note: The configuration file will take effect after being activated
System will reboot! Continue ? [y/n]:y
Info: system is rebooting ,please wait...

Step 2 Change the Uboot password in Uboot view.

When the message "Press f or F to stop Auto-Boot" is displayed, press F and enter the
password (admin@huawei.com by default) to enter the Uboot view.
ar7240> passwd
Start modify boot password.....
Confirm old password :

The password must be '0'~'9' , 'a'~'z' , 'A'~'Z' , or '@'!


Please enter new password :
Please confirm new password :

The password is changed successfully.

----End

2.5 Appendix
2.5.1 Logging In to a Device Through the Console Port

Pre-configuration Tasks
Before logging in to a device through the console port, complete the following tasks:

l Preparing a console cable


l Installing the terminal emulation software on your PC
NOTE

You can use the terminal emulation software of the operating system (such as the HyperTerminal of
Windows 2000/XP) on the PC. If the operating system does not provide terminal emulation software,
install third-party terminal emulation software according to user guide or online help of the software.

Default Configuration

Table 2-4 Default configuration of the console port

Parameter Default Setting

Transmission rate 9600 bit/s

Flow control None

Issue 09 (2017-04-20) Huawei Proprietary and Confidential 14


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting 2 Forgetting Passwords

Parameter Default Setting

Parity bit None

Stop bits 1

Data bits 8

Procedure
Step 1 Use a console cable to connect your PC to the console port of the device. Connect the DB9
female connector of the console cable to the 9-pin serial port on the PC, and connect the RJ45
connector to the console port on the device.
Step 2 Start the terminal emulation software on the PC, create a connection, select a serial port, and
set communication parameters.
The parameter settings are as follows:
l Bits per second: 9600
l Data bits: 8
l Parity: None
l Stop bits: 1
l Flow control: None
Step 3 Press Enter, and then enter the password or both the user name and password as prompted.

----End

Issue 09 (2017-04-20) Huawei Proprietary and Confidential 15


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting 3 Information Collection

3 Information Collection

3.1 Overview
After a device fault occurs, collect fault information immediately. This helps narrow down the
fault scope and allow you to locate the fault accurately. Before fault location, collect the
following fault information:
l Fault occurrence time, network topology, operations triggering the fault, fault symptom,
measures that you have taken and results, and affected services
l Name, version, current configurations, interfaces of the faulty device. For the method of
obtaining these information, see 3.2 Collecting Diagnostic Information and 9.1.3
Common display Commands.
l Logs generated when the fault occurs. For the method of obtaining the log information,
see 3.3 Collecting Log Information.

3.2 Collecting Diagnostic Information


The display diagnostic-information command displays debugging information outputs of
multiple display commands. You can use this command to collect device diagnostic
information.
The display diagnostic-information [ file-name ] command displays the device diagnostic
information on screen or outputs the information to a .txt file. The device diagnostic
information includes startup configuration, current configurations, interface information, time,
and system version. The following is an example:
<AC6605> display diagnostic-information dia-info.txt
This operation will take several minutes, please wait.........................
................................................................................
……
Info: The diagnostic information was saved to the device successfully.

By default, the diagnostic information is saved to the root directory of the default storage
device (flash:/ for the AC6605 and ACU2, and sdcard:/ for the AC6005). You can run the dir
command in the user view to check whether the file is correctly generated.
After a device becomes faulty, provide the device diagnostic information to agents or
technical support personnel immediately for fast fault location. For the method of transmitting
the diagnostic information from the device to your computer, see 4.4 Transferring Files
Using FTP/TFTP.

Issue 09 (2017-04-20) Huawei Proprietary and Confidential 16


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting 3 Information Collection

NOTE

l Executing this command requires a long time. You can press Ctrl+C to pause diagnosis information
display on screen.
l When a large amount of diagnostic information is displayed, the CPU usage may be high in a short
period.

3.3 Collecting Log Information


When a device is faulty, collect the log information on the device immediately. The log
information helps you know what had happened during device operation and where the fault
occurred.
Logs, including user logs and diagnostic logs, record user operations, system faults, and
system security.
<AC6605> save logfile
Info: It may take several seconds,please wait...
Save log file successfully.
<AC6605> system-view
[AC6605] diagnose
[AC6605-diagnose] save diag-logfile
Save diagnostic log file successfully.
[AC6605-diagnose] info-center create logbook flash:/logfile/logbook.xml
Info: It may take several seconds,please wait...
Info: Succeeded in creating a data dictionary.

After the preceding configurations are complete, upload all files in flash:/logfile/ to your
computer through FTP or TFTP. For details, see 4.4 Transferring Files Using FTP/TFTP.

NOTE

1. This example uses the AC6605 as an example. The AC6605 supports only the flash memory as the
storage medium, the AC6005 supports both the USB flash drive and SD card as the storage medium,
and the ACU2 supports both the USB flash drive and flash memory as the storage medium.
2. After obtaining log files, you can analyze several log files before and after the fault occurred to
facilitate locating the fault.

Issue 09 (2017-04-20) Huawei Proprietary and Confidential 17


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting 4 System Maintenance Methods

4 System Maintenance Methods

4.1 Using the Configuration File to Restore Device


Configurations
After a device is powered on, it initializes configurations by reading configuration
information from the specified startup configuration file. If no configuration file is available
in the storage directory, the device uses factory settings for initialization. You must restart the
device to make the recovered device configurations take effect.
l Restore the configuration file through the FTP/TFTP server.
For details, see Using FTP/TFTP to Transfer Files and download the default
configuration file to the device.
l Run the startup saved-configuration command to specify the default configuration file
for the next startup and restore default system configurations.
<AC6605> startup saved-configuration vrpcfg.cfg
<AC6605> reboot fast

NOTE

You can also run the reset factory-configuration command to restart the device and restore the factory
settings.

4.2 Restarting a Device


You can rectify a network fault by restarting a device. This section describes how to restart a
device.
You can restart a device using any of the methods in the following table.

Issue 09 (2017-04-20) Huawei Proprietary and Confidential 18


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting 4 System Maintenance Methods

Table 4-1 Device restart methods


Method Description

Cold restart To perform a cold restart, you need to power


off and then power on the device again.
Cold restart has limitations and is used by
onsite maintenance personnel.
Current configurations will not be saved
during a cold restart. Therefore, save
configurations before performing a cold
restart.

Hot restart (device restart using command Hot restart is performed using command
lines): you can run the reboot command in lines, which is used by maintenance
the user view to restart the device. personnel who remotely manage the device.
During a hot restart, the system asks
whether to save the configuration, which
effectively prevents configuration loss.

4.3 Upgrading the Device


The upgrade of a device is closely related to the released software versions. The
corresponding upgrade guide is released with each new version and you can upgrade the
device according to the guide. To obtain the upgrade guides, visit Huawei technical support
website, and search the upgrade guide based on the product name and version.
l Enterprise technical support website: http://support.huawei.com/enterprise
l Carrier technical support website: http://support.huawei.com

4.4 Transferring Files Using FTP/TFTP


During system maintenance such as software upgrade and configuration file backup, files
must be transferred between a PC and the device. FTP/TFTP is used to transfer files.
When transferring files using FTP/TFTP, the roles of PC and device vary in different
methods:
l PC functioning as an FTP server: You must install the FTP server software on your PC.
l PC functioning as a TFTP server: You must install the TFTP server software on your PC.
TFTP is easy to configure but this method has low security and transmission speed.
l Device functioning as an FTP server: You can perform configurations on the device
without installing any software. When there are a large number of devices on a network,
the first two methods are recommended.

Issue 09 (2017-04-20) Huawei Proprietary and Confidential 19


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting 4 System Maintenance Methods

PC Functioning as an FTP Server

Figure 4-1 Networking diagram

1. Run the FTP server software on the FTP server and configure the FTP service. For
details, see relevant help documentation.
2. Connect the device and the FTP server. (The IP addresses are used as an example.)
a. Connect the FTP server to GE0/0/0 of the device using a network cable.
b. Configure an IP address 192.168.0.1/24 for GE0/0/0.
c. Configure an IP address 192.168.0.2/24 for the FTP server. (Configure an IP
address for the network adapter of the PC. The configuration details are omitted.)
<AC6605> system-view
[AC6605] interface gigabitethernet 0/0/0
[AC6605-GigabitEthernet0/0/0] ip address 192.168.0.1 24
[AC6605-GigabitEthernet0/0/0] ping 192.168.0.2
PING 192.168.0.2: 56 data bytes, press CTRL_C to break
Reply from 192.168.0.2: bytes=56 Sequence=1 ttl=128 time=4 ms
Reply from 192.168.0.2: bytes=56 Sequence=2 ttl=128 time=3 ms
Reply from 192.168.0.2: bytes=56 Sequence=3 ttl=128 time=18 ms
Reply from 192.168.0.2: bytes=56 Sequence=4 ttl=128 time=3 ms
Reply from 192.168.0.2: bytes=56 Sequence=5 ttl=128 time=3 ms

--- 192.168.0.2 ping statistics ---


5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 3/6/18 ms

[AC6605-GigabitEthernet0/0/0] return

NOTE

l In this example, the FTP server and the device are directly connected. If they are not directly
connected, you must ensure that they have reachable routes to each other.
l After the configuration is complete, run the ping command to test the connectivity between the
FTP server and device.
3. Log in to the FTP server using FTP.
<AC6605> ftp 192.168.0.2
Trying 192.168.0.2 ...
Press CTRL+K to abort
Connected to 192.168.0.2.
220 FTP Server ready.
User(192.168.0.2:(none)):ftpuser
331 Password required for ftpuser.
Enter password:
230 User logged in.

[AC6605-ftp]

4. Run the put command to upload files to the FTP server or run the get command to
download files from the FTP server to the device.
[AC6605-ftp] put vrpcfg.zip
200 Port command okay.
150 Opening ASCII mode data connection for vrpcfg.zip.
226 Transfer complete.

Issue 09 (2017-04-20) Huawei Proprietary and Confidential 20


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting 4 System Maintenance Methods

FTP: 8174 byte(s) sent in 0.099 second(s) 82.56Kbyte(s)/sec.

[AC6605-ftp] binary
200 Type set to I.

[AC6605-ftp] get devicesoft.cc


200 Port command okay.
150 Opening ASCII mode data connection for devicesoft.cc.
226 Transfer complete.
FTP: 141952 byte(s) received in 6.796 second(s) 20.88Kbyte(s)/sec.

[AC6605-ftp]

PC Functioning as a TFTP Server

Figure 4-2 Networking diagram

1. Run the TFTP server software on the TFTP server (PC) and configure the TFTP service.
For details, see relevant help documentation.
2. Connect the TFTP server and the device and configure IP addresses for them. For details,
see PC Functioning as an FTP Server.
3. Run the tftp put command to upload files to the TFTP server or run the tftp get
command to download files from the TFTP server to the device.
<AC6605> tftp 192.168.0.2 get vrpcfg.zip vrpcfg1.zip
Info: Transfer file in binary mode.
Downloading the file from the remote TFTP server. Please wait...\
TFTP: Downloading the file successfully.
8174 bytes received in 1 second.

<AC6605> tftp 192.168.0.2 put vrpcfg.zip vrpcfg2.zip


Info: Transfer file in binary mode.
Uploading the file to the remote TFTP server. Please wait...|
TFTP: Uploading the file successfully.
8174 bytes send in 1 second.

<AC6605>

Device Functioning as an FTP Server

Figure 4-3 Networking diagram

1. Connect the PC and the device and configure IP addresses for them. For details, see PC
Functioning as an FTP Server.
2. Enable FTP on the device, and create a user name, password, and FTP path.
You must set the user level to level 3 or above to establish an FTP connection.

Issue 09 (2017-04-20) Huawei Proprietary and Confidential 21


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting 4 System Maintenance Methods

NOTE
The AC6605 supports the flash memory, the AC6005 supports the SD card and USB flash drive,
and the ACU2 supports the flash memory and USB flash drive. This chapter uses the flash
memory of AC6605 as an example.
<AC6605> system-view
[AC6605] ftp server enable
[AC6605] aaa
[AC6605-aaa] local-user huawei password irreversible-cipher huawei@123
[AC6605-aaa] local-user huawei service-type ftp
[AC6605-aaa] local-user huawei ftp-directory flash:
[AC6605-aaa] local-user huawei privilege level 15
[AC6605-aaa] quit
[AC6605] quit

3. Log in to the device by running the ftp command on the PC. Run the get command to
download files from the device to the PC or run the put command to upload files to the
device.
For example, on an FTP server with the Windows operating system, choose Start >
Run, enter cmd, and click OK.
C:\Documents and Settings\Administrator> ftp 192.168.0.1
Connected to 192.168.0.1.
220 FTP service ready.
User (192.168.0.1:(none)): huawei
331 Password required for huawei.
Password:
230 User logged in.
ftp> get vrpcfg.zip
200 Port command okay.
150 Opening ASCII mode data connection for vrpcfg.zip.
226 Transfer complete.
ftp: receive 5203 bytes in 0.01 seconds 346.87Kbytes/sec.
ftp> lcd
Local directory now C:\Documents and Settings\Administrator.
ftp> put vrpcfg.zip
200 Port command okay.
150 Opening ASCII mode data connection for vrpcfg.zip.
226 Transfer complete.
ftp: send 5203 bytes in 0.01 seconds 346.00Kbytes/sec.

NOTE

If you use the user name Administrator to log in to the PC, the output differs from the above.
You can run the lcd command to view the path where backup configuration files are saved.
The commands vary with the operating system. For details, see relevant help documentation of
each operating system.

Issue 09 (2017-04-20) Huawei Proprietary and Confidential 22


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting 5 Startup Failures

5 Startup Failures

5.1 Terminal Does Not Display Anything Or Displays


Garbled Characters
Fault Description
After a terminal connecting to the device, it cannot display anything or displays garbled
characters.

Possible Cause
l The power module of the device is faulty or the device is not powered on.
l The serial interface connecting to the device is incorrectly configured.
l The cable between the terminal and device is faulty or not firmly connected to the serial
interface.

Troubleshooting Roadmap
l Check the power indicator on the device's front panel to ensure that the power module is
working properly.
l Ensure that the serial interface is correctly configured.
l Install the cable firmly or replace the cable.

Troubleshooting Procedure
1. Check indicators on the panel of the device. If the Power indicator is on, the power
module is working properly; if not, the device is not powered on. In this case, see Power
Supply Fault for details.
2. Check whether the correct combo interface is selected and whether the physical
attributes of the PC are consistent with those of the serial interface. The default
parameters are as follows:
– Baud rate: 9600
– Data bit: 8
– Stop bit: 1

Issue 09 (2017-04-20) Huawei Proprietary and Confidential 23


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting 5 Startup Failures

– Parity check: None


– Flow control: None
3. Ensure that the cable is firmly connected to the serial interface. You can replace it with a
new cable to verify whether the cable is faulty.

5.2 Device Restarts Unexpectedly


Fault Description
The device restarts unexpectedly or repeatedly.

Possible Cause
l The hardware is faulty or the software has a bug.
l Other errors occur on the device.

Troubleshooting Procedure
1. Check the causes of a device reset.
Run the display reset-reason command to check the causes of a device reset.
– If "Reset for power off" is displayed, the device restarts due to a power-off.
– If "Reset for unknown reason" is displayed, the device restarts due to an unknown
error.
– If "Reset for update version success" is displayed, the device restarts due to a
successful upgrade.
– If "Reset for update version failed" is displayed, the device restarts due to an
upgrade failure.
– If "Reset for kernel panic" is displayed, the device restarts due to a kernel error.
– If "Reset for mfpi detect fwd abnormal" is displayed, the device restarts due to a
forwarding kernel error.
– If "Reset for memory use out" is displayed, the device restarts due to insufficient
memory.
– If "Reset for exception" is displayed, the device restarts due to a VOS error.
2. If the fault is not caused by the preceding reasons, a hardware fault occurs or the
software has bugs. Contact the technical support personnel.
Perform the following operations to collect related information and provide the
information to the technical support personnel.

NOTICE
Do not power off the device before information is collected.

a. Collect information according to Information Collection.


b. Run the following commands to collect related information.
V200R005C10 and earlier versions:

Issue 09 (2017-04-20) Huawei Proprietary and Confidential 24


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting 5 Startup Failures

<AC6605> display reset-reason


<AC6605> system-view
[AC6605] diagnose
[AC6605-diagnose] display inspect black-box record 8 0 0 0
[AC6605-diagnose] display inspect black-box record 10 0 0 0
[AC6605-diagnose] display inspect black-box record 12 0 0 0
[AC6605-diagnose] display inspect black-box record 13 0 0 0
[AC6605-diagnose] set kernel-monitor irq
[AC6605-diagnose] display kernel-monitor irq level 1
[AC6605-diagnose] display kernel-monitor irq level 2
[AC6605-diagnose] display kernel-monitor irq level 3
[AC6605-diagnose] display lastwords all

V200R006C10 and later versions:


<AC6605> display reset-reason
<AC6605> system-view
[AC6605] diagnose
[AC6605-diagnose] display inspect black-box record assert all
[AC6605-diagnose] display inspect black-box record deadloop all
[AC6605-diagnose] display inspect black-box record error all
[AC6605-diagnose] display inspect black-box record exception all
[AC6605-diagnose] set kernel-monitor irq
[AC6605-diagnose] display kernel-monitor irq record-range 1
[AC6605-diagnose] display kernel-monitor irq record-range 2
[AC6605-diagnose] display kernel-monitor irq record-range 3
[AC6605-diagnose] display lastwords all

Issue 09 (2017-04-20) Huawei Proprietary and Confidential 25


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting 6 Hardware Failures

6 Hardware Failures

6.1 Power Supply Failures

6.1.1 A Device Fails to Be Powered On


Fault Description
The SYS indicator of a device is off.

Possible Causes
Power Supply Mode Possible Cause

Power supply using a power module l The device is powered off.


l The power cable is not securely
connected to the device.
l The power supply unit has failed.
– If the device connects to an external
power source, its power adapter may
fail.
– If the device has a built-in power
supply, the device itself may be
faulty.

Issue 09 (2017-04-20) Huawei Proprietary and Confidential 26


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting 6 Hardware Failures

Power Supply Mode Possible Cause

PoE power supply l The power sourcing equipment does not


support the PoE function or is faulty.
l The power sourcing equipment does not
support the required power supply mode.
l The power sourcing equipment does not
provide sufficient power.
l The power sourcing equipment is
incorrectly configured (the PoE function
is disabled or the power-off time range is
improperly set).
l The line is faulty (the network cable or
distribution frame is damaged).
l The device is faulty.

Troubleshooting Procedure
Power Supply Mode Troubleshooting Procedure

Power supply using a power module 1. Check whether the device is powered
off.
2. Check that the power cable is securely
connected to the device.
3. Check whether the power supply is
normal.
Replace the power adapter with a normal
one. If the device is powered on, the
original power adapter is faulty. Contact
technical support personnel or Huawei
agent and ask them to replace the power
adapter.
4. If the device still cannot be powered on,
the device itself is faulty. Contact
technical support personnel or Huawei
agent and ask them to replace the device.

Issue 09 (2017-04-20) Huawei Proprietary and Confidential 27


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting 6 Hardware Failures

Power Supply Mode Troubleshooting Procedure

PoE power supply 1. Check whether the power sourcing


equipment supports PoE or is faulty.
2. Check whether the power output mode
of the power sourcing equipment is
supported by the powered device.
3. Check whether the power sourcing
equipment can support the maximum
power consumption of the device.
4. Check whether the configuration on the
power sourcing equipment causes PoE
power supply errors, such as the PoE
function is disabled or the power-off
time range is incorrectly set.
5. Check whether the network cable or
distribution frame is faulty.
6. If the device still cannot be powered on,
the device itself is faulty. Contact
technical support personnel or Huawei
agent and ask them to replace the device.

NOTE
The output power of an 802.3af PSE port is 15.4 W, and that of an 802.3at PSE port is 30 W.

6.1.2 The PWR Indicator Is Steady On

Fault Description
The PWR indicator is steady on.

Possible Causes
l The power module of the device is not properly installed.
l The pluggable power supply module on the device becomes faulty.
l The external power supply module of the device becomes faulty.

Troubleshooting Procedure
1. Install the power module properly.
2. Replace the faulty pluggable power supply module.
3. Replace the external power supply module.

6.2 Memory Failures

Issue 09 (2017-04-20) Huawei Proprietary and Confidential 28


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting 6 Hardware Failures

6.2.1 Failed to Write Data to the SD Card or USB Flash Drive

Fault Description
The system cannot write data to the SD card or USB flash drive.

Possible Causes
l The SD card or USB flash drive is not securely installed.
l The SD card or USB flash drive is corrupted.

Troubleshooting Procedure
1. Reinstall the SD card or USB flash drive.
2. Replace the SD card or USB flash drive.

NOTICE
Use a Huawei-certified SD card or USB flash drive.

If the system still fails to write data to the Huawei-certified SD card or USB flash drive,
contact technical support personnel.

6.3 Interface Faults

6.3.1 An Optical Interface Cannot Turn Up

Fault Description
After an optical interface is connected to a remote device through an optical fiber, its LINK
indicator is off.

Possible Causes
l The optical fiber is faulty.
l The optical module on the optical interface cannot meet the requirements.
l The optical attenuator used cannot meet the requirements.
l A combo interface is used but the interface type is not set to optical interface.
NOTE

l There are four combo interfaces GE0/0/21, GE0/0/22, GE0/0/23 and GE0/0/24 on the main
control board of the AC6605, and the four interfaces function independently.
l There are two combo interfaces GE0/0/7 and GE0/0/8 on the main control board of the AC6005,
and the two interfaces function independently.

Issue 09 (2017-04-20) Huawei Proprietary and Confidential 29


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting 6 Hardware Failures

Troubleshooting Procedure
1. Replace the optical fiber and optical module and check whether the optical interface can
turn Up. Ensure that the optical module meets the following requirements.
2. Determine optical module attributes.
– The optical module has passed Huawei certification.
– The transmission speed of the optical module is the same as the interface speed.
– Check whether the wavelength of the optical module is the same as that of the
remote optical module.
– The transmission distance of the optical module is suitable for the actual distance
between the two devices.
NOTE

l The transmission distance of an optical module is 10 km, 15 km, 20 km, 40 km, or 80


km. The optical modules with a longer transmission distance have a higher transmit
power. If an optical module with a long transmission distance is used for short-distance
transmission, the optical interface cannot turn Up because the transmit power is too high.
The high transmit power may even burn the receiver of the remote optical module. To
reduce the transmit power in this situation, use an optical attenuator between the optical
module and optical fiber.
l Optical modules with different speeds are available, for example, 155 Mbit/s, 622
Mbit/s, and 1.25 Gbit/s. You must use an optical module with the same speed as the
optical interface to ensure efficient optical transmission.
3. If the interface is a combo interface, run the display this command in the interface view
to check whether the interface type has been set to auto or optical interface.
<AC6605> system-view
Enter system view, return user view with Ctrl+Z
[AC6605] interface GigabitEthernet 0/0/24
[AC6605-GigabitEthernet0/0/24] display this
#
interface GigabitEthernet0/0/24
combo-port copper
#
Return

If the combo interface type is electrical interface, run the combo-port auto or combo-
port fiber command to configure it as auto or optical interface.
NOTE
If the interface type is set to auto, check that the electrical interface is not Up. If the electrical interface
is Up, remove the network cables and then install the optical module.
<AC6605> system-view
Enter system view, return user view with Ctrl+Z
[AC6605] interface GigabitEthernet 0/0/24
[AC6605-GigabitEthernet0/0/24] combo-port fiber

4. Run the display transceiver command to check whether any alarms about the optical
module have been generated. If such alarms are displayed, handle the problem according
to the alarms. For example, if an alarm shows that the receive signal strength is too high,
use an optical attenuator between the remote optical module and the optical fiber.
<AC6605> display transceiver interface gigabitethernet 0/0/24 verbose
GigabitEthernet0/0/24 transceiver information:
-------------------------------------------------------------
Common information:
Transceiver Type :OC3_INTER_REACH_SFP
Connector Type :LC
Wavelength(nm) :1310
Transfer Distance(m) :15000(9um)
Digital Diagnostic Monitoring :YES
Vendor Name :HUAWEI

Issue 09 (2017-04-20) Huawei Proprietary and Confidential 30


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting 6 Hardware Failures

Vendor Part Number :34060358


Ordering Name :
-------------------------------------------------------------
Manufacture information:
Manu. Serial Number :EH1048220807
Manufacturing Date :2010-12-06
Vendor Name :HUAWEI
-------------------------------------------------------------
Alarm information:
RX loss of signal
RX power low
-------------------------------------------------------------
Diagnostic information:
Temperature(¡ãC) :26.00
Temp High Threshold(¡ãC) :85.00
Temp Low Threshold(¡ãC) :-40.00
Voltage(V) :3.29
Volt High Threshold(V) :3.64
Volt Low Threshold(V) :2.95
Bias Current(mA) :4.57
Bias High Threshold(mA) :9.00
Bias Low Threshold(mA) :2.00
RX Power(dBM) :-40.00
RX Power High Threshold(dBM) :0.00
RX Power Low Threshold(dBM) :-16.99
TX Power(dBM) :-5.03
TX Power High Threshold(dBM) :-2.22
TX Power Low Threshold(dBM) :-6.99
-------------------------------------------------------------

NOTE

The attenuation coefficients of single-mode fibers with 1310 nm and 1550 nm wavelengths are 0.4
dB/km and 0.25 dB/km respectively.
5. If the interface remains Down, contact technical support personnel.

Issue 09 (2017-04-20) Huawei Proprietary and Confidential 31


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting 7 Memory Failures

7 Memory Failures

Memory usage refers to the ratio of occupied memory space to the total memory space.
Memory usage is an important indicator to evaluate device performance.

Fault Description
After running the display memory-usage command, you find that the memory usage is high.
By default,
l If the device memory is smaller than 128 MB, a level 1 alarm is generated when the
memory usage exceeds 83% and a level 2 alarm is generated when the memory usage
exceeds 88%.
l If the device memory is larger than or equal to 128 MB, a level 1 alarm is generated
when the memory usage exceeds 90% and a level 2 alarm is generated when the memory
usage exceeds 95%.
Level 1 and level 2 alarms trigger the same trap message
ENTITYTRAP_1.3.6.1.4.1.2011.5.25.219.2.15.1 hwMemUtilizationRising. Their
differences lie in that after a level 2 alarm is generated, the device also restarts. If the memory
usage keeps increasing, the system is automatically reset and services are interrupted.

Possible Causes
If the memory usage keeps increasing, a memory leak may occur.

Memory leak indicates that applications occupy memory space for a long time. If the
applications do not release memory, the memory usage increases until the system memory is
exhausted.

Procedure
Collect the memory usage, memory block size of partition 1, memory usage of the specified
memory block, each PID, and specified PID, and provide the collected information to
Huawei.

1. Display the memory usage.


<AC6605> display memory-usage

2. Configure memory block size of partition 1 to be displayed every day in three days.

Issue 09 (2017-04-20) Huawei Proprietary and Confidential 32


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting 7 Memory Failures

<AC6605> system-view
[AC6605] diagnose
[AC6605-diagnose] display inspect mem-debug-info 13 1 0 0

The meanings of record-number in the display inspect mem-debug-info record-number


mid-hex hex-string hex-value command are displayed as follows:
[AC6605-diagnose] display inspect mem-debug-info ?

INTEGER<0-26>
0 help; 1 utilization; 2 contents; 3 memory by
address;
4 memory by time; 5 memory by PID; 6 memory by
SID;
7 memory by SID&PID; 8 block size; 9 memory by used
size;
11 shortage; 12 tracing; 13 show
partition;
14 show information; 15 show Size; 16 pid by
size;
17 show PID; 18 show all; 19 show
PID&SID;
20 alloc free times; 21 block PID by SID; 22 memory
piece;
23 alloc failed; 24 PID peak value; 25 partition; 26
partition
used by
PIDSID

Issue 09 (2017-04-20) Huawei Proprietary and Confidential 33


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting 8 License Failures

8 License Failures

8.1 License Fails to Be Activated


Fault Description
A license file fails to be activated.

Possible Cause
l The license file does not exist.
l The license file and the system software do not match.
l The license file is incorrect.
l The device ESN does not match that in the license file.

Troubleshooting Procedure
l The message "Error: Invalid file name. The file name extension must be .dat." is
displayed.
This message indicates that the file name extension of the license file to be activated is
incorrect. The license file name extension must be .dat. Activate a correct license file.
l The message "Error: The specified file does not exist or is illegal." is displayed.
Ensure that the license file exists or a correct file name is entered.
l The message "Info: File has been activated before!" is displayed.
The license file has been activated before. Apply for or purchase a new license.
l The message "Info: License File expired." is displayed.
The license file has expired. Apply for or purchase a new license.
l The message "Info: License file validation failed." is displayed.
The license file has failed the validation. Apply for or purchase a new license.
l The message "Info: License File with ESN or Version mismatch cannot be activated
repetitively." is displayed.
The ESN has been activated before or version mismatch has occurred. Apply for or
purchase a new license.
l The message "No product features present in LK." is displayed.

Issue 09 (2017-04-20) Huawei Proprietary and Confidential 34


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting 8 License Failures

The license file mismatches the product information. Apply for or purchase a new
license.
l If the fault cannot be rectified, collect error information and contact the technical support
personnel.

Issue 09 (2017-04-20) Huawei Proprietary and Confidential 35


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting 9 Common Fault Diagnostic Commands

9 Common Fault Diagnostic Commands

9.1 display Commands


Using display commands and understanding command functions are essential skills of
maintenance engineers.

9.1.1 Overview

The display commands provide the following information:

l Current device status


l Neighbor device information
l Overall network information
l Network fault location

The display commands can be executed in any view.

The following is an example of display commands:


<AC6605> display ?
aaa AAA
access-user User access
accounting-scheme Accounting scheme
acl <Group> acl command group
actual Current actual
alarm Alarm
antenna Current antenna that outputting radio
anti-attack Specify anti-attack configurations
ap <Group> ap command group
---- More ----

NOTE

l After you enter display ?, the system displays all the keywords behind display. More keywords can
be added behind these displayed keywords.
l Different device models or versions support different features. The keywords actually displayed may
be different from the preceding example.

This section involves only commonly used display commands. For more display commands,
see the Huawei Wireless Access Controllers Command Reference.

Issue 09 (2017-04-20) Huawei Proprietary and Confidential 36


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting 9 Common Fault Diagnostic Commands

9.1.2 Regular Expression in display Commands


When running the display command to check the command output, you can use the regular
expression (specifying the rule to display) to filter the output information and locate needed
information quickly.

Regular Expressions
A regular expression is a mode matching tool. It consists of common characters (such as
letters from a to z) and special characters (called meta-characters). The regular expression is a
template according to which you can search for the required string.
A regular expression provides the following functions:
l Searches for and obtains a sub-string that matches a rule in the string.
l Substitutes a string based on a certain matching rule.
The regular expression consists of common characters and special characters.
l Common characters
Common characters are used to match themselves in a string, including all upper-case
and lower-case letters, digits, punctuations, and special symbols. For example, a matches
the letter "a" in "abc", 202 matches the digit "202" in "202.113.25.155", and @ matches
the symbol "@" in "xxx@xxx.com".
l Special characters
Special characters are used together with common characters to match the complex or
special string combination. Table 9-1 describes special characters and their syntax.

Table 9-1 Description of special characters


Special Function Example
Characte
rs

\ Defines an escape character, which \* matches "*".


is used to mark the next character
(common or special) as the
common character.

^ Matches the starting position of the ^10 matches "10.10.10.1" instead


string. of "20.10.10.1".

$ Matches the ending position of the 1$ matches "10.10.10.1" instead of


string. "10.10.10.2".

* Matches the preceding element 10* matches "1", "10", "100",


zero or more times. "1000", and so on.
(10)* matches "null", "10", "1010",
"101010", and so on.

Issue 09 (2017-04-20) Huawei Proprietary and Confidential 37


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting 9 Common Fault Diagnostic Commands

Special Function Example


Characte
rs

+ Matches the preceding element one 10+ matches "10", "100", "1000",
or more times. and so on.
(10)+ matches "10", "1010",
"101010", and so on.

? Matches the preceding element 10? matches "1" or "10".


zero or one time. (10)? matches "null" or "10".
NOTE
Huawei datacom devices do not
support regular expressions with ?.
When regular expressions with ? are
entered on Huawei datacom devices,
helpful information is provided.

. Matches any single character. 0.0 matches "0x0", "020", and so


on.
.oo. matches "book", "look", "tool",
and so on.

() Defines a subexpression, which can 100(200)+ matches "100200",


be null. Both the expression and "100200200", and so on.
the subexpression should be
matched.

x|y Matches x or y. 100|200 matches "100" or "200".


1(2|3)4 matches "124" or "134",
instead of "1234", "14", "1224",
and "1334".

[xyz] Matches any single character in the [123] matches the character 2 in
regular expression. "255".

[^xyz] Matches any character that is not in [^123] matches any character
the regular expression. except for "1", "2", and "3".

[a-z] Matches any character within the [0-9] matches any character
specified range. ranging from 0 to 9.

[^a-z] Matches any character beyond the [^0-9] matches all non-numeric
specified range. characters.

_ Matches a comma ",", left brace _2008_ matches "space 2008


"{", right brace "}", left parenthesis space", ",2008,", "{2008}",
"(", and right parenthesis ")". "(2008)", "{2008)", and "(2008}".
Matches the starting position of the _2008 matches "space 2008", ",
input string. 2008", "{2008","(2008".
Matches the ending position of the _2008 matches "2008 space",
input string. "2008,", "2008{","2008)".
Matches a space.

Issue 09 (2017-04-20) Huawei Proprietary and Confidential 38


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting 9 Common Fault Diagnostic Commands

NOTE

Unless otherwise specified, all the characters in the preceding table must be printable characters.
l Degeneration of special characters
Certain special characters, when placed at certain positions in a regular expression,
degenerate to common characters.
– The special characters following "\" match special characters themselves.
– The special characters "*", "+", and "?" are placed at the starting position of the
regular expression. For example, +45 matches "+45" and abc(*def) matches
"abc*def".
– The special character "^" is placed at any position except for the start of the regular
expression. For example, abc^ matches "abc^".
– The special character "$" is placed at any position except for the end of the regular
expression. For example, 12$2 matches "12$2".
– A right parenthesis ")" or right bracket "]" is not paired with a corresponding left
parenthesis "(" or bracket "[". For example, abc) matches "abc)" and 0-9] matches
"0-9]".
NOTE

Unless otherwise specified, degeneration rules also apply when the preceding regular expressions
are subexpressions within parentheses.
l Combination of common and special characters
In actual usage, regular expressions combine multiple common and special characters to
match certain strings.

Specifying a Filtering Mode in a Command


NOTE

l The device uses a regular expression to implement the pipe character filtering function. A display
command supports the pipe character only when there is excessive output information.
l When filtering conditions are set to query output information, the first line of the command output
starts with the entire regular expression but not the string to be filtered.

Some commands can carry the keyword | count to display the number of matching entries.
The keyword | count can be used together with other keyword.

Three filtering modes are provided for commands that support regular expressions.

l | begin regular-expression: displays all the lines beginning with the line that matches the
regular expression.
Filter the character strings to be entered until the specified case-sensitive character string
is displayed. All the character strings following this specified character string are
displayed on the screen.
l | exclude regular-expression: displays all the lines that do not match the regular
expression.
If the character strings to be entered do not contain the specified case-sensitive character
string, they are displayed on the screen. Otherwise, they are filtered.
l | include regular-expression: displays all the lines that match the regular expression.
If the character strings to be entered contain the specified case-sensitive character string,
they are displayed on the screen. Otherwise, they are filtered.

Issue 09 (2017-04-20) Huawei Proprietary and Confidential 39


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting 9 Common Fault Diagnostic Commands

NOTE

The value of regular-expression is a string of 1 to 255 characters. If regular-expression contains special


characters, to interpret them literally, add a backslash "\" before the characters.

The following examples describe how to specify a filter mode in a command.


Example 1: Run the display interface brief command to display all the lines that do not
match the regular expression GigabitEthernet|Wlan-Dbss|Tunnel. GigabitEthernet|Wlan-Dbss|
Tunnel matches GigabitEthernet, Wlan-Dbss or Tunnel.
<AC6605> display interface brief | exclude GigabitEthernet|Wlan-Dbss|Tunnel
PHY: Physical
*down: administratively down
(l): loopback
(s): spoofing
(b): BFD down
(e): ETHOAM down
(d): Dampening Suppressed
InUti/OutUti: input utility/output utility
Interface PHY Protocol InUti OutUti inErrors outErrors
Eth-Trunk1 down down 0% 0% 0 0
LoopBack0 up up(s) 0% 0% 0 0
MEth0/0/1 up up 0% 0% 0 0
NULL0 up up(s) 0% 0% 0 0
Vlanif1 up down -- -- 0 0
Vlanif2 down down -- -- 0 0
Vlanif3 down down -- -- 0 0
Vlanif4 down down -- -- 0 0
Vlanif10 up up -- -- 0 0
Vlanif100 down down -- -- 0 0
Vlanif101 down down -- -- 0 0
Vlanif102 down down -- -- 0 0
Vlanif400 up up -- -- 0 0
Wlan-Ess0 down down 0% 0% 0 0
Wlan-Ess1 down down 0% 0% 0 0
Wlan-Ess10 up up 0% 0% 0 0
Wlan-Ess100 down down 0% 0% 0 0

Example 2: Run the display current-configuration command to display all the lines that
match the regular expression vlan.
<AC6605> display current-configuration | include vlan
vlan batch 10 400
port trunk allow-pass vlan
10
port trunk pvid vlan 10

NOTE

The preceding information is used for reference only.

9.1.3 Common display Commands


The device provides various display commands to display hardware, interface, and software
information. The information helps you locate various faults.
The following table lists the commands used to collect fault information.

Issue 09 (2017-04-20) Huawei Proprietary and Confidential 40


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting 9 Common Fault Diagnostic Commands

Item Command Description

Basic display diagnostic-information This command collects basic system


informatio information. It displays outputs of
n multiple display commands,
including display version and
display current-configuration. This
command is necessary for any
network problems. Executing this
command takes a long time. You can
press Ctrl+C to pause diagnosis
information display on screen.

Device display device This command displays card status. If


informatio the status of a card is displayed as
n Abnormal, the card is faulty.

Interface display interface This command displays interface


informatio information to help you analyze
n cause of interface interconnection
failures and check statistics on lost
packets.

Versions display version Version information is important for


device fault location. This command
displays versions of the system
software, BootROM, MPU, fan
modules, as well as sizes of storage
devices.
NOTE
ACU2 has no fan.

Patch display patch-information This command displays current patch


informatio information, including the patch
n package version and patch package
name.

Electronic display elabel Electronic labels identify information


label about hardware components of a
informatio device. This command displays
n electronic labels of cards on a device.

Device display health This command displays the


status temperature, power supply
information, fan information, power,
CPU usage, memory usage, and
storage medium usage of a device.
NOTE
ACU2 has no fan.

Current display current-configuration This command displays all


configurat configuration information on a
ions device. You can specify a regular
expression to obtain the required
configuration information.

Issue 09 (2017-04-20) Huawei Proprietary and Confidential 41


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting 9 Common Fault Diagnostic Commands

Item Command Description

Saved display saved-configuration If a device has started but is not


configurat working properly, run the display
ions saved-configuration command to
check the startup files specified by
the startup saved-configuration
command.
Run the display saved-configuration
last command to check the
configuration saved last time.
Run the display saved-configuration
time command to check the last time
when the configuration is saved.

Time display clock This command displays the current


system date and time.

User logs display logfile buffer Executing this command in the


diagnostic view can display user logs
in the log buffer.

Diagnosti display diag-logfile buffer Executing this command in the


c log diagnostic view can display user logs
in the log buffer.

Alarms display trapbuffer This command displays information


recorded in the trap buffer.

Memory display memory-usage This command displays memory


usage usage of the device.

CPU display cpu-usage This command displays CPU usage


usage of the device.

9.2 reset Commands


reset commands are used to clear statistics. These commands help you quickly locate faults.

9.2.1 Overview

reset commands include:

l Commands used for resetting


l Commands used for clearing statistics

This section involves the reset commands clearing statistics.

9.2.2 reset Commands Clearing Packet Statistics

Issue 09 (2017-04-20) Huawei Proprietary and Confidential 42


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting 9 Common Fault Diagnostic Commands

reset counters interface and reset ip statistics are often used to clear packet statistics
displayed in the display interface and display ip interface command output.

l The display interface command provides counters to collect statistics on sent and
received Layer 2 packets. The reset counters interface command resets these counters.
l The display ip interface command provides counters to collect statistics on sent and
received Layer 3 packets. The reset ip statistics command resets these counters.

9.2.3 Using reset Commands

Context
When you use the ping command to test link connectivity, you also need to run the display
interface or display ip interface command to check whether packets are correctly sent and
received on interfaces and whether a CRC error occurs. Then you can locate the interface
where the fault occurs.

The display interface or display ip interface command output shows packet statistics
generated after the device starts or the counter is reset; therefore, the packet statistics may
contain unnecessary information that interferes with fault location.

To collect packet statistics accurately, perform the following operations:

Procedure
Step 1 Run the reset counters interface or reset ip statistics command to clear existing packet
statistics.

Step 2 Run the ping command to enable router interfaces to send and receive packets.

Step 3 Run the display interface or display ip interface command to view the statistics.

----End

Example
For example, after you run the display interface gigabitEthernet 0/0/1 command, the
following statistics are displayed:
Input: 736 packets, 344842 bytes
Unicast: 0, Multicast: 714
Broadcast: 22, Jumbo: 0
Discard: 0, Total Error: 0

CRC: 0, Giants: 0
Jabbers: 0, Throttles: 0
Runts: 0, Symbols: 0
Ignoreds: 0, Frames: 0

Output: 2911 packets, 514228 bytes


Unicast: 0, Multicast: 2910
Broadcast: 1, Jumbo: 0
Discard: 0, Total Error: 0

Collisions: 0, ExcessiveCollisions: 0
Late Collisions: 0, Deferreds: 0

If the value of Total Error is not 0, there is an error in packet sending and receiving.

Issue 09 (2017-04-20) Huawei Proprietary and Confidential 43


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting 9 Common Fault Diagnostic Commands

To check when the error occurs, run the reset counters interface gigabitEthernet 0/0/1
command to clear existing statistics, use the ping command to send ping packets, and run the
display interface gigabitEthernet 0/0/1 command to view new statistics. If the Total Error
value is still not 0, the error may need to be rectified.

9.3 Ping and Tracert


This section describes how to use Ping and Tracert commands to check network connectivity
and locate network faults. The Ping command checks network connectivity and host
reachability and the Tracert command tracks the gateways that packets pass through from the
source host to the destination host.

Introduction to the Ping Command


Based on the Internet Control Message Protocol (ICMP), the Ping command is used to check
network connectivity and host reachability. The source sends an ICMP Echo Request message
to the destination, and determines reachability. The source determines the quality of the link
from which the destination is reachable based on the number of sent ICMP Echo Request
messages and received ICMP Echo Response messages, and the round-trip time (RTT) of
ping packets.

Ping Command Format


NOTE

Huawei Wireless Access Controllers Command Reference provides detailed description of command
parameters and usage. Here lists only some commonly used parameters and their descriptions.

ping [ ip ] [ -a source-ip-address | -c count | -f | -s packetsize | -t timeout ] * host


l -a: specifies the source IP address for sending Echo Request messages. If no source IP
address is specified, the IP address of the outbound interface is used as the source IP
address.
l -c: specifies the count for sending Echo Request messages. The default value is 5. You
can increase the number of outgoing packets to detect the network quality based on the
packet loss ratio.
l -f: indicates that packets are not fragmented when they are sent. The device discards the
packets if the packet size exceeds the MTU.
l -s: specifies the length of an Echo Request message without the IP header and ICMP
header.
l -t: specifies the timeout interval of Echo Response messages. You can set a larger
timeout interval if the network is unstable. The default value is 2s. If the device receives
no Echo Request message, it determines that the destination is unreachable.
l host: indicates an IP address or a domain name. If it is a domain name, the device
performs DNS resolution and displays the resolved IP address.
NOTE

You can use the parameters -s and -f simultaneously to test the path MTU (PMTU). For example, if the
ping operation succeeds when the parameter -s is set to 1472 but fails when the parameter is set to 1473,
the PMTU is 1500, which is the total sum of 1472, 20 (IP header), and 8 (ICMP header).

The ping function varies with the operating system of a PC. The Windows operating system is
used as an example.

Issue 09 (2017-04-20) Huawei Proprietary and Confidential 44


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting 9 Common Fault Diagnostic Commands

ping [ -n number ] [ -t ] [ -l number ] [ -f ] [ -a ] ip-address

l -n: specifies the number of ping packets. The default value is 5.


l -t: indicates that the source sends Echo Request messages to the destination continuously
until manual operations are involved. You can press Ctrl+Break to temporarily stop the
ping command and view the statistics, and press Ctrl+C to end the ping operation.
l -l: specifies the number of bytes of data in ping packets. The value ranges from 0 to
65500.
l -f: indicates that packets are not fragmented when they are sent. The device discards the
packets if the packet size exceeds the MTU.
l -a: indicates that the device resolves an IP address into a host name.

Description of the Ping Command Output


<Huawei> ping 100.135.18.118
PING 100.135.18.118: 56 data bytes, press CTRL_C to break
Reply from 100.135.18.118: bytes=56 Sequence=1 ttl=255 time=1 ms
Reply from 100.135.18.118: bytes=56 Sequence=2 ttl=255 time=1 ms
Reply from 100.135.18.118: bytes=56 Sequence=3 ttl=255 time=2 ms
Reply from 100.135.18.118: bytes=56 Sequence=4 ttl=255 time=1 ms
Reply from 100.135.18.118: bytes=56 Sequence=5 ttl=255 time=2 ms

--- 100.135.18.118 ping statistics ---


5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 1/1/2 ms

In this example:

l The device sends five ping packets and receives response for all the five packets.
l The ping packets use the default size, 56 bytes.
l The TTL value is 255, indicating that the source is directly connected to the destination.
l The time is 1 ms, indicating that the device receives an Echo Response message 1 ms
after it sends an Echo Request message. This parameter can be used as a reference to
determine whether the network is congested.

The device sends five ping packets by default. You can set a larger value of -c to accurately
detect the network status. The device determines the network status based on the number of
ping packets returned.

Fault Description Possible Cause

All packets can The intermediate network is unstable.


reach the destination QoS is deployed on the gateway, which lowers the forwarding
but require a long speed.
time.

No packet can reach Services on the network are interrupted due to device or cable
the destination. faults.
The firewall on the intermediate network discards ICMP packets.
A loop occurs on the network and packets are discarded when the
TTL value is reduced to 1.
Packets are delayed due to network congestion.

Issue 09 (2017-04-20) Huawei Proprietary and Confidential 45


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting 9 Common Fault Diagnostic Commands

Fault Description Possible Cause

Some packets Some ping packets are discarded on the unstable network.
cannot reach the Load balancing is configured on the intermediate network and some
destination. ping packets are discarded on one path.
Packet flooding attacks.

Introduction to the Tracert Command


The Ping command checks whether the destination host is reachable and the Tracert
command tracks the gateways that packets pass through from the source host to the
destination host. This helps check network connectivity and locate network faults. The tracert
process is as follows:
1. The source host sends a UDP packet with TTL 1.
2. The first hop sends back an error ICMP packet, indicating that the packet cannot be sent
due to TTL timeout.
3. The source host then sends a packet with TTL 2.
4. The second hop drops the packet and sends an ICMP TTL-expired packet.
This process proceeds until the packet reaches the destination host. The source host obtains
the path to the destination host based on the source IP addresses of TTL-expired packets.

Tracert Command Format


NOTE

Huawei Wireless Access Controllers Command Reference provides detailed description of command
parameters and usage. Here lists only some commonly used parameters and their descriptions.

tracert [ -a source-ip-address | -f first-ttl | -m max-ttl | -q nqueries | -w timeout ] * host


l -a: specifies the source address. If this parameter is not specified, the IP address of the
outbound interface is used as the source IP address of outgoing packets.
l -f: specifies the initial TTL. If the number of hops is smaller than the initial TTL, the
source host receives no TTL-expired packet. If a maximum TTL is set, the initial TTL
must be smaller than the maximum TTL.
l -m: specifies the maximum TTL. The maximum TTL is usually set to the number of
hops through which a Tracert packet passes. If an initial TTL is set, the maximum TTL
must be larger than the initial TTL.
l -q: specifies the number of UDP packets sent each time. You can increase this value to
ensure that UDP packets can reach the destination host.
l -w: sets the timeout interval of Response messages. If a gateway sends a message
indicating TTL timeout, " * " is displayed. You are advised to increase the timeout
interval when the network is unstable and the transmission speed is low.
l host: indicates an IP address or a domain name. If it is a domain name, the device
performs DNS resolution and displays the resolved IP address.
The tracert function varies with the operating system of a PC. The Windows operating system
is used as an example for illustration.
tracert [ -d ] [ -h maximum_hops ] [ -j host-list ] [ -w timeout ] ip-address

Issue 09 (2017-04-20) Huawei Proprietary and Confidential 46


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting 9 Common Fault Diagnostic Commands

l -d: indicates that the host name is not resolved.


l -h: specifies the maximum TTL.
l -j: specifies the loose source address routing list.
l -w: sets the timeout interval of UDP packets, in milliseconds.

Description of the Tracert Command Output


<AC6605> tracert 100.135.18.118
traceroute to 100.135.18.118(100.135.18.118), max hops: 30 ,packet length:
40,press CTRL_C to break
1 192.168.200.100 10 ms 2 ms 2 ms
2 * * *
3 100.135.18.118 10 ms 1 ms 2 ms

Information displayed in a line includes the number, IP address where the packet reaches, and
three response time. * * * is displayed in the second line, indicating that the ping and tracert
operations are not supported on this node.

The Ping command can only determine whether the destination is reachable, whereas the
Tracert command can detect potential loops on a network. If you track an address and the
same address is displayed multiple times, a route loop occurs.

9.4 Alarms
When a device becomes faulty or works abnormally, the device system generates an alarm
according to the types of the fault and faulty module. The system stores the alarm to the alarm
buffer and generates logs. If a network management system (NMS) is configured, the device
system also sends a trap to the NMS through the Simple Network Management Protocol
(SNMP). In addition, the system is capable of detecting changes in operation environment.
When a requirement for operation conditions cannot be met, the system generates an alarm.

To view alarm information, enable alarm debugging to display alarm information on the
terminal. Alarm information is also stored in the alarm buffer, so you can use commands to
view all alarms in the alarm buffer.

Alarms are classified into:

l Fault alarms: generated when hardware faults or exceptions of key functions occur.
l Recovery alarms: generated when faulty devices or abnormal functions recover.
l Event alarms: generated when the user needs to be prompted.

Alarms can be viewed in two ways:


l Display alarms on the graphic user interface (GUI) of the NMS.
l Run the display trapbuffer [ size value ] command to view alarms in the alarm buffer.
The displayed alarms vary according to the value field. If the actual number of alarms is
smaller than the specified number of alarms to be displayed, the actual number of alarms
are displayed.

9.5 Logs
During device operation, the log module records operations and events on the device. The
recorded operations and events are log messages.

Issue 09 (2017-04-20) Huawei Proprietary and Confidential 47


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting 9 Common Fault Diagnostic Commands

The generated logs can be viewed through the Console port or Telnet, or stored to the log
server through the syslog protocol.

The syslog protocol is transmitted through UDP port 514. Any UDP datagram on port 514 is
recorded in the log.

Logs can be viewed in two ways:


l Display logs on the GUI of the NMS.
l Run the display logbuffer [ size value | module module-name | level severity ] *
command to view logs in the log buffer.

9.6 Mirroring
Remote mirroring is used to obtain packet headers. The device copies packet headers from the
mirrored port to an observing port .

The device cannot analyze packet headers except that a computer with the packet analysis
software installed or a tester is connected to the observing port. The commonly used packet
analysis software is WireShark, and most testers have the packet analysis function.

NOTE

The packets captured for troubleshooting may contain secure communication information. Therefore,
Huawei does not capture packets for you. You must capture packets legally and with permission. Ensure
that your customers' privacy is protected when collecting communication information.

Mirroring Packet Headers to an Observing Port


Packet headers are copied from the mirrored port to an observing port. As shown in Figure
9-1, the incoming packets on GE0/0/1 are captured to GE0/0/2, and the observing device
directly connected to GE0/0/2 analyzes the packet headers.

Figure 9-1 Mirroring packet headers to an observing port

The procedure is as follows:

1. Set GE0/0/2 on the AC as an observing port.


<AC6605> system-view
[AC6605] sysname AC
[AC] observe-port interface gigabitethernet 0/0/2

2. Set GE0/0/1 on the AC as a mirrored port and set the mirroring direction to inbound.
[AC] interface gigabitethernet 0/0/1
[AC-GigabitEthernet0/0/1] mirror to observe-port inbound

Issue 09 (2017-04-20) Huawei Proprietary and Confidential 48


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting 9 Common Fault Diagnostic Commands

[AC-GigabitEthernet0/0/1] quit
[AC] quit

Issue 09 (2017-04-20) Huawei Proprietary and Confidential 49


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers
Troubleshooting 10 List of Indicators

10 List of Indicators

You can observe indicators on the devices to check device running status, which helps you
locate and troubleshoot faults in a timely manner.
For details about the indicators, see Indicator Description in the Hardware Installation and
Maintenance Guide.

Issue 09 (2017-04-20) Huawei Proprietary and Confidential 50


Copyright © Huawei Technologies Co., Ltd.
Wireless Access Controllers 11 Collecting Information and Contacting Technical
Troubleshooting Support

11 Collecting Information and Contacting


Technical Support

If you find it difficult to determine or solve the problem during maintenance or


troubleshooting by referring to related documents, you can collect the fault information and
then contact the technical support.

Collecting Information
Collect the following information:
l Fault occurrence time, network topology, operations triggering the fault, fault symptom,
measures that you have taken and results, and affected services
l Name, version, current configurations, interfaces of the faulty device. For the method of
obtaining these information, see 3.2 Collecting Diagnostic Information and 9.1.3
Common display Commands.
l Logs generated when the fault occurs. For the method of obtaining the log information,
see 3.3 Collecting Log Information.

Contacting Technical Support


For enterprise customer:
l Log in to Global Service Hotline to obtain the Huawei global service hotline or Email
address.
l Visit Huawei technical support website http://support.huawei.com/enterprise to search
for troubleshooting cases or post your questions on BBS
For carrier customer:
l Log in to Global TAC Information to obtain the Huawei global service hotline or Email
address.
l Visit Huawei technical support website http://support.huawei.com to search for
troubleshooting cases or post your questions on BBS

Issue 09 (2017-04-20) Huawei Proprietary and Confidential 51


Copyright © Huawei Technologies Co., Ltd.

Вам также может понравиться