IoT AP commands -- display wlan ap

Use display wlan ap to display module information for an AP.

Syntax

display wlan ap ap-name module module-id status

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

ap-name: Specifies an AP by its name, a case-insensitive string of 1 to 64 characters. The string can contain letters, digits, underscores (_), left brackets ([), right brackets (]), forward slashes (/), and hyphens (-).

module-id: Specifies a module by its ID. The value range varies by AP model.

Examples

# Display information about module 1 on AP ap1.

<Sysname> display wlan ap ap1 module 1 status

Module administrate type : IOT

Module type : IOT

Module chip type : RFID

HW version : 12090031

SW version : 12090202

Sequence ID : 0000051700000002

Module status : Normal

Module administrate status : Enabled

RF1 : Enabled

RF2 : Enabled

RF3 : Enabled

ZIGBEE : Enabled

Table 1 Command output

Field | Description
Module administrate type | Configured module type: · NotConfig. · BLE. · IOT.
Module type | Physical type of the module: · H3C. · IOT. This field displays N/A if no physical type information is available.
Module chip type | Chip type of the module: · BLE. · RFID. · ZIGBEE. This field displays N/A if no chip type information is available.
HW version | Module hardware version.
SW version | Module software version.
Sequence ID | Module sequence ID.
Module status | Physical status of the module: · Unavailable. · Normal. · Absent.
Module administrate status | Configured module status: · Enabled. · Disabled.
RF1 | RF1 status: · Enabled. · Disabled.
RF2 | RF2 status: · Enabled. · Disabled.
RF3 | RF3 status: · Enabled. · Disabled.
ZIGBEE | Zigbee status: · Enabled. · Disabled.

IoT AP commands -- iot engine-address

Use iot engine-address to specify an IoT server.

Use undo iot engine-address to restore the default.

Syntax

iot engine-address engine-address engine-port engine-port

undo iot engine-address

Default

In AP view, an AP uses the configuration in AP group view. If no configuration exists in AP group view, the AP uses the configuration in global configuration view.

In AP group view, an AP uses the configuration in global configuration view.

In global configuration view, no IoT server is specified.

Views

AP view

AP group view

Global configuration view

Predefined user roles

network-admin

mdc-admin

Parameters

engine-address: Specifies the IPv4 address of an IoT server.

engine-port: Specifies the port number of an IoT server. The value range is 1 to 65535.

Usage guidelines

Configure this command for the modules on an IoT AP to communicate with an IoT server.

This command is required only for IoT modules. To specify an IoT server for BLE modules, use the rfid-tracking ble engine-address engine-port command. For information about the rfid-tracking ble engine-address engine-port command, see "Wireless locating commands."

Examples

# Specify the IoT server with IPv4 address 192.168.10.10 and port number 3000 for AP ap1.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA4320i-X-R

[Sysname-ap-ap1] iot engine-address 192.168.10.10 engine-port 3000

# Specify the IoT server with IPv4 address 192.168.10.10 and port number 3000 for all APs in AP group 10.

<Sysname> system-view

[Sysname] wlan ap-group 10

[Sysname-ap-group10] iot engine-address 192.168.10.10 engine-port 3000

# Specify the IoT server with IPv4 address 192.168.10.10 and port number 3000 globally.

<Sysname> system-view

[Sysname] wlan global-configuration

[Sysname-wlan-global-configuration] iot engine-address 192.168.10.10 engine-port 3000

IoT AP commands -- module

Use module to enter module view.

Syntax

module module-id

Views

AP view

AP group AP model view

Predefined user roles

network-admin

mdc-admin

Parameters

module-id: Specifies a module by its ID. The value range varies by AP model.

Usage guidelines

To configure and manage a module on an AP, you must first enter module view of the AP.

Examples

# Enter the view of module 1 on AP ap1.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA4320i-X-R

[Sysname-wlan-ap-ap1] module 1

[Sysname-wlan-ap-ap1-module-1]

# Enter the view of module 1 on all APs with AP model WA4320i-X-R in AP group apgroup1.

<Sysname> system-view

[Sysname] wlan ap-group apgroup1

[Sysname-wlan-ap-apgroup1] ap-model WA4320i-X-R

[Sysname-wlan-ap-apgroup1-ap-model-WA4320i-X-R] module 1

[Sysname-wlan-ap-group-1-ap-model-WA4320i-X-R-module-1]

IoT AP commands -- module enable

Use module enable to enable a module.

Use module disable to disable a module.

Use undo module to restore the default.

Syntax

module { disable | enable }

undo module

Default

In module view, an AP uses the configuration in AP group module view.

In AP group module view, a module is disabled.

Views

Module view

AP group module view

Predefined user roles

network-admin

mdc-admin

Examples

# Enable module 1 for AP ap1.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA4320i-X-R

[Sysname-wlan-ap-ap1] module 1

[Sysname-wlan-ap-ap1-module-1] module enable

# Enable module 1 for AP group 1.

<Sysname> system-view

[Sysname] wlan ap-group 1

[Sysname-wlan-ap-group-1] ap-model WA4320i-X-R

[Sysname-wlan-ap-group-1-ap-model-WA4320i-X-R] module 1

[Sysname-wlan-ap-group-1-ap-model-WA4320i-X-R-module-1] module enable

IoT AP commands -- reset wlan ap

Use reset wlan ap to restart a module on an AP.

Syntax

reset wlan ap ap-name module module-id

Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

ap ap-name: Specifies an AP by its name, a case-insensitive string of 1 to 64 characters. The string can contain letters, digits, underscores (_), left brackets ([), right brackets (]), forward slashes (/), and hyphens (-).

module-id: Specifies a module by its ID. The value range varies by AP model.

Examples

# Restart module 1 on AP ap1.

<Sysname> system-view

[Sysname] reset wlan ap ap1 module 1

IoT AP commands -- restore factory-default wlan ap

restore factory-default wlan ap to restore the factory settings for a module on an AP.

Syntax

restore factory-default wlan ap ap-name module module-id

Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

ap ap-name: Specifies an AP by its name, a case-insensitive string of 1 to 64 characters. The string can contain letters, digits, underscores (_), left brackets ([), right brackets (]), forward slashes (/), and hyphens (-).

module-id: Specifies a module by its ID. The value range varies by AP model.

Usage guidelines

This command restarts a module and restores the factory settings of the module immediately.

Examples

# Restore the factory settings for module 1 on AP ap1.

<Sysname> system-view

[Sysname] restore factory-default wlan ap ap1 module 1

IoT AP commands -- type

Use type to specify the supported module type.

Use undo type to restore the default.

Syntax

type { ble | iot }

undo type

Default

In module view, an AP uses the configuration in AP group module view.

In AP group module view, no supported module type is specified.

Views

Module view

AP group module view

Predefined user roles

network-admin

mdc-admin

Parameters

ble: Specifies the Bluetooth low energy type.

iot: Specifies the IoT type.

Usage guidelines

For a module on an AP to operate correctly, the supported module type you specify must be consistent with its physical module type.

Examples

# Specify the supported module type IoT for AP ap1.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA4320i-X-R

[Sysname-wlan-ap-ap1] module 1

[Sysname-wlan-ap-ap1-module-1] type iot

# Specify the supported module IoT for AP group 1.

<Sysname> system-view

[Sysname] wlan ap-group 1

[Sysname-wlan-ap-group-1] ap-model WA4320i-X-R

[Sysname-wlan-ap-group-1-ap-model-WA4320i-X-R] module 1

[Sysname-wlan-ap-group-1-ap-model-WA4320i-X-R-module-1] type iot