Example for Configuring the Education IoT Solution - Student Health and Safety
Service Requirements
A school pays much attention to health and safety of its students, and desires to use technical methods to monitor and query students' health and safety information.
To meet these requirements, Huawei provides the Student Health and Safety IoT Solution that reuses the existing WLAN.
Networking Requirements
- AC networking mode: Layer 2 in bypass mode
- DHCP deployment mode: Configure an AC as a DHCP server to assign IP addresses to APs and STAs.
- Service data forwarding mode: direct forwarding
Data Planning
Item |
Data |
---|---|
Management VLAN |
VLAN100 |
Service VLAN |
VLAN101 |
AC's source interface |
VLANIF100 |
DHCP server |
The AC functions as a DHCP server to assign IP addresses to APs and STAs. |
IP address pool for STAs |
10.23.101.2 to 10.23.101.254/24 |
AP group |
|
Regulatory domain profile |
|
SSID profile |
|
Security profile |
|
VAP profile |
|
IoT profile |
|
Configuration Roadmap
Configure network interworking of the APs, switch, AC, and host computer.
Configure the AC as a DHCP server to assign IP addresses to APs and STAs.
Configure the APs to go online.
Configure WLAN services.
Configure communication parameters between the APs and host computer.
Add IP addresses of the APs to the host computer and configure the same shared key as that on the APs.
Configuration Notes
- No ACK mechanism is provided for multicast packet transmission on air interfaces. In addition, wireless links are unstable. To ensure stable transmission of multicast packets, they are usually sent at low rates. If a large number of such multicast packets are sent from the network side, the air interfaces may be congested. You are advised to configure multicast packet suppression to reduce impact of a large number of low-rate multicast packets on the wireless network. Exercise caution when configuring the rate limit; otherwise, the multicast services may be affected.
- In direct forwarding mode, you are advised to configure multicast packet suppression on switch interfaces connected to APs.
- In tunnel forwarding mode, you are advised to configure multicast packet suppression in traffic profiles of the AC.
Configure port isolation on the interfaces of the device directly connected to APs. If port isolation is not configured and direct forwarding is used, a large number of unnecessary broadcast packets may be generated in the VLAN, blocking the network and degrading user experience.
In tunnel forwarding mode, the management VLAN and service VLAN cannot be the same. Only packets from the management VLAN are transmitted between the AC and APs. Packets from the service VLAN are not allowed between the AC and APs.
Procedure
- Configure the network devices.# Configure the access switch. Add GE0/0/1 through GE0/0/4 to VLAN 100 (management VLAN) and VLAN 101 (service VLANs).
<HUAWEI> system-view [HUAWEI] sysname Switch [Switch] vlan batch 100 to 101 [Switch] interface gigabitethernet 0/0/1 [Switch-GigabitEthernet0/0/1] port link-type trunk [Switch-GigabitEthernet0/0/1] port trunk allow-pass vlan 100 to 101 [Switch-GigabitEthernet0/0/1] quit [Switch] interface gigabitethernet 0/0/2 [Switch-GigabitEthernet0/0/2] port link-type trunk [Switch-GigabitEthernet0/0/2] port trunk pvid vlan 100 [Switch-GigabitEthernet0/0/2] port trunk allow-pass vlan 100 to 101 [Switch-GigabitEthernet0/0/2] quit [Switch] interface gigabitethernet 0/0/3 [Switch-GigabitEthernet0/0/3] port link-type trunk [Switch-GigabitEthernet0/0/3] port trunk pvid vlan 100 [Switch-GigabitEthernet0/0/3] port trunk allow-pass vlan 100 to 101 [Switch-GigabitEthernet0/0/3] quit [Switch] interface gigabitethernet 0/0/4 [Switch-GigabitEthernet0/0/4] port link-type trunk [Switch-GigabitEthernet0/0/4] port trunk pvid vlan 100 [Switch-GigabitEthernet0/0/4] port trunk allow-pass vlan 100 to 101 [Switch-GigabitEthernet0/0/4] quit
- Configure AC system parameters.
- Configure APs to go online.
- Configure WLAN services.
# Click Create. The Basic Information page is displayed.
# Configure the SSID name, forwarding mode, and service VLAN.
# Click Next. The Security Authentication page is displayed.
# Set Security settings to Key (applicable to personnel networks), select the AES mode, and set the key.
# Click Next. The Access Control page is displayed.
# Set Binding the AP group to ap-group1, and Valid radio to 0 and 1.
# Click Finish.
# Choose Display all profiles. Choose . Click Create to create an IoT profile named wlan-iot.
. In the AP group list, click ap-group1 and select# Click OK. The IoT profile configuration page is displayed.
# Set parameters as follows:
- Protocol: TCP
- Port number: 50200
- Communication key: aabb0011@11
- IP address of a trusted host computer: 10.23.102.253
- Mask of a trusted host computer: 255.255.255.0
- Host Computer Address: 10.23.200.1
- Host Computer Port Number: 3000
# Click Apply.
- Configure network interworking between the APs and server.
Configure routes based on the actual networking situation to ensure network interworking between the APs and host computer.
- Add IP addresses of the APs to the host computer and configure the same shared key as that on the APs.
- Verify the configuration.