Fat AP and Cloud AP
Command Reference 18 IoT AP Configuration Commands
18 IoT AP Configuration Commands
About This Chapter
IoT cards are supported only by the following models in cloud mode:
● AP2050DN, AP2050DN-E, AP2050DN-S, AP2051DN, AP2051DN-E, AP2051DN-
S, AP4030TN, AP4050DN-E, AP4051DN, AP4051DN-S, AP4051TN, AP4151DN,
AP5050DN-S, AP6050DN, AP6052DN, AP6150DN, AP7050DE, AP7050DN-E,
AP7052DE, AP7052DN, WA375DD-CE, AP7060DN, AirEngine 5760-10,
AP7152DN, AP6750-10T, R250D-E, R251D-E
Only cloud APs support this command.
18.1 iot-card reboot
18.2 iot-card reset-factory-configuration
18.3 iot-card reset-network-configuration
18.4 iot-card switch-firmware
18.1 iot-card reboot
Function
The iot-card reboot command resets an IoT card of an AP.
Format
iot-card reboot ap card { card-id | usb }
Parameters
Parameter Description Value
ap Specifies an AP. -
Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1794
Fat AP and Cloud AP
Command Reference 18 IoT AP Configuration Commands
Parameter Description Value
card-id Specifies the IoT card interface number. The value is an
integer that ranges
from 1 to 3.
usb Specifies the USB interface of an IoT -
card.
Views
WLAN view
Default Level
3: Management level
Usage Guidelines
The iot-card reboot command resets an IoT card of an AP.
Example
# Reset an IoT card on the USB interface of the AP.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] iot-card reboot ap card usb
18.2 iot-card reset-factory-configuration
Function
The iot-card reset-factory-configuration command restores factory defaults of
an IoT card.
Format
iot-card reset-factory-configuration ap card card-id
Parameters
Parameter Description Value
ap Specifies an AP. -
card card-id Specifies the ID of an IoT card. The IoT card ID must exist.
Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1795
Fat AP and Cloud AP
Command Reference 18 IoT AP Configuration Commands
Views
WLAN view
Default Level
3: Management level
Usage Guidelines
Usage Scenario
If an IoT card cannot communicate with the AP due to an error in IoT card
parameter settings, you can run this command to restore factory defaults of the
IoT card.
Example
# Restore factory defaults of an IoT card.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] iot-card reset-factory-configuration ap card 1
18.3 iot-card reset-network-configuration
Function
The iot-card reset-network-configuration command resets network parameters
of an IoT card.
Format
iot-card reset-network-configuration ap card card-id
Parameters
Parameter Description Value
ap Specifies an AP. -
card card-id Specifies the ID of an IoT card. The IoT card ID must exist.
Views
WLAN view
Default Level
3: Management level
Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1796
Fat AP and Cloud AP
Command Reference 18 IoT AP Configuration Commands
Usage Guidelines
Usage Scenario
An IoT card involves network parameters for communicating with a host computer
(such as the card IP address, server IP address, and DNS address) and air interface
parameters in a wireless environment. In most cases, when the wireless
environment becomes stable, air interface parameters remain unchanged. When
the wired environment changes, you can only run the iot-card reset-network-
configuration command to reset network parameters of the IoT card. During this
process, the air interface parameters remain unchanged.
Example
# Reset network parameters of an IoT card.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] iot-card reset-network-configuration ap card 1
18.4 iot-card switch-firmware
Function
The iot-card switch-firmware command switches the active and standby
partitions of an IoT card.
Format
iot-card switch-firmware ap card card-id
Parameters
Parameter Description Value
ap Specifies an AP. -
card card-id Specifies the ID of an IoT card. The IoT card ID must exist.
Views
WLAN view
Default Level
3: Management level
Usage Guidelines
Usage Scenario
Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1797
Fat AP and Cloud AP
Command Reference 18 IoT AP Configuration Commands
Upon a fault on the current partition of an IoT card, you can run this command to
switch to the other partition.
Example
# Switch the active and standby partitions of an IoT card.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] iot-card switch-firmware ap card 1
Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1798