【IOT】云AP本地配置插卡
1、登陆AP
如何登陆AP请参照https://bbs.huaweicloud.com/forum/forum.php?mod=viewthread&tid=108038中的“1、登陆云AP”
2、插卡在位
查询AP是否识别到插卡 ,下面的例子是一个USB网口卡。如果查询出来的槽位显示absent插卡不在位,请检查供电,如果是usb插卡,请检查是否配置usb enable
<Huawei>system-view
[Huawei]diagnose
[Huawei-diagnose]display iot-card all
--------------------------------
CardID 1
--------------------------------
Card: absent
--------------------------------
CardID 2
--------------------------------
Card: absent
--------------------------------
CardID usb
--------------------------------
Card: present
Card connect type: ethernet(UP)
Connected status: match
Card id: 0
Card firmware version:
Card RF module version:
Card frequency: -- MHz
Card bandwidth: -- MHz
Connection status: 0
Server address:
Card MAC address: 00:00:00:00:00:00
Card address type: ipv4
Card IP address: 0.0.0.0
Gateway address: 0.0.0.0
DNS server address: 0.0.0.0
Source IP address: 0.0.0.0
Source port: 0
Destination IP address: 0.0.0.0
Destination port: 0
3、网口卡配置
如果插卡是串口卡,请跳过这一步骤。配置插卡的连接方式是网口,默认插卡和AP使用相同的vlan
<Huawei>system-view
[Huawei]wlan
[Huawei-wlan-view]ap-id 0
[Huawei-wlan-ap-0]card 1
[Huawei-wlan-card-0/1]card connect-type ethernet
4、串口卡配置
如果插卡是网口卡,请跳过这一步骤。先配置IOT模板,指定插卡的服务器的ip地址和端口号
<Huawei> system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]wlan
[Huawei-wlan-view]iot-profile name iot
[Huawei-wlan-iot-prof-iot]management-server server-ip 189.180.13.194 server-port 8081
把IOT模板绑定到AP下 ,指定AP通信端口50200
[Huawei-wlan-view]ap-id 0
[Huawei-wlan-ap-0]card 1
[Huawei-wlan-card-0/1]card connect-type serial
[Huawei-wlan-card-0/1]iot-profile iot config-agent udp port 50200
- 点赞
- 收藏
- 关注作者
评论(0)