< Home

iot-profile (IoT card interface view)

Function

The iot-profile command binds an IoT profile to an IoT card interface, and configures the local port number mapping the IoT card interface.

The undo iot-profile command unbinds an IoT profile from an IoT card interface.

By default, no IoT profile is bound to an IoT card interface.

Format

iot-profile profile-name config-agent { tcp | udp } [ port port ] [ ext-port ext-port ]

undo iot-profile

Parameters

Parameter

Description

Value

profile-name

Specifies the name of an IoT profile.

The value is a string of 1 to 35 case-insensitive characters. It does not contain question marks (?) or spaces, and cannot start or end with double quotation marks (" ").

tcp Configures the AP to communicate with the host computer using TCP. -
udp Configures the AP to communicate with the host computer using UDP. -
port port Specifies the source port for the first channel.
The value is an integer that ranges from 1025 to 55535.
NOTE:

A port number within the range from 50200 to 50202 is recommended. If another port number is used, a port conflict may occur and an alarm is generated.

ext-port ext-port Specifies the source port for the extended channel.
The value is an integer that ranges from 1025 to 55535.
NOTE:

A port number within the range from 50200 to 50202 is recommended. If another port number is used, a port conflict may occur and an alarm is generated.

Views

IoT card interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

You can run this command to bind an IoT profile, configures the communication protocol between the AP and host computer, and configure the source port number for the IoT card interface.

Example

# Bind IoT profile profile1 and set the local UDP port number to 50200.

<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] ap-group name group1
[HUAWEI-wlan-ap-group-group1] card 1
[HUAWEI-wlan-group-card-group1/1] iot-profile profile1 config-agent udp port 50200
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >