15-WLAN advanced features

HomeSupportConfigure & DeployConfiguration ExamplesH3C Access Controllers Configuration Examples(V7)-6W10515-WLAN advanced features
17-Example for Configuring the WLAN-based E-Schoolbag service

Example: Configuring the WLAN-based E-Schoolbag service

Introduction

The following information provides an example for configuring the WLAN-based E-Schoolbag service. This service allows teachers to deliver lessons by using endpoints such as PCs, tablets, and electronic whiteboards. Students, on their part, engage in these lessons through smart endpoints such as PCs, tablets, and smartphones. By using this technology, a teacher can simultaneously teach students in various classrooms, effectively reducing the limitations imposed by physical space.

Network configuration

As shown in Figure 1, the switch acts as a DHCP server to assign IP addresses to the AP and the endpoints. Configure local forwarding on the AC for the AP to forward the endpoint traffic.

Figure 1 Networking diagram

 

Restrictions and guidelines

·     To add GigabitEthernet 1/0/1 on the AP to VLAN 200 for local forwarding, use the AC to deploy a configuration file to the AP.

·     To avoid configuration failure, make sure no tab keys or spaces exist after a command line in the map file.

·     Configure an AP based on its model and serial number.

·     If you have a backup AC, make sure a configuration file has been uploaded to the backup AC.

Procedures

Preparing the apcfg.txt file

Prepare a txt. file named apcfg.txt in the order of command configuration, and upload the file to the AC. After the AP is associated with the AC, use the map-configuration command on the AC to deploy the configuration in the file to the AP.

# Configuration file apcfg.txt:

system-view

vlan 200

quit

interface GigabitEthernet 1/0/1

port link-type trunk

port trunk permit vlan 200

Configuring the AC

1.     Configure interfaces on the AC:

# Create VLAN 100 and VLAN-interface 100, and assign an IP address to the VLAN interface. The AC will use this IP address to establish a CAPWAP tunnel with the AP.

<AC> system-view

[AC] vlan 100

[AC-vlan100] quit

[AC] interface vlan-interface 100

[AC-Vlan-interface100] ip address 192.1.1.1 16

[AC-Vlan-interface100] quit

# Configure GigabitEthernet 1/0/1 that connects the AC to the switch as a trunk port, and assign the trunk port to VLAN 100.

[AC] interface gigabitethernet 1/0/1

[AC-GigabitEthernet1/0/1] port link-type trunk

[AC-GigabitEthernet1/0/1] port trunk permit vlan 100

[AC-GigabitEthernet1/0/1] quit

2.     Enable IGMP snooping:

# Enable IGMP snooping globally and in VLAN 200.

[AC] igmp-snooping

[AC-igmp-snooping] quit

[AC] vlan 200

[AC-vlan200] igmp-snooping enable

# Enable dropping unknown multicast data packets.

[AC-vlan200] igmp-snooping drop-unknown

# Specify IGMP snooping version 3 for the VLAN.

[AC-vlan200] igmp-snooping version 3

# Enable the IGMP snooping querier.

[AC-vlan200] igmp-snooping querier

[AC-vlan200] quit

3.     Configure a wireless service:

# Create wireless service template 1 and enter its view.

[AC] wlan service-template 1

# Configure the SSID as service.

[AC-wlan-st-1] ssid service

# Specify the authentication and key management mode as PSK and set the PSK key to plaintext string 12345678.

[AC-wlan-st-1] akm mode psk

[AC-wlan-st-1] preshared-key pass-phrase simple 12345678

# Specify the cipher suite as CCMP and the security IE as RSN.

[AC-wlan-st-1] cipher-suite ccmp

[AC-wlan-st-1] security-ie rsn

# Configure the local forwarding mode.

[AC-wlan-st-1] client forwarding-location ap

# Enable multicast optimization.

[AC-wlan-st-1] multicast-optimization enable

# Enable the service template.

[AC-wlan-st-1] service-template enable

[AC-wlan-st-1] quit

4.     Configure the AP:

As a best practice, configure wireless settings based on AP groups for large-scale networks.

# Create a manual AP named officeap, and specify the AP model as WA6320.

[AC] wlan ap officeap model WA6320

# Specify the AP serial number as 219801A28N819CE0002T.

[AC-wlan-ap-officeap] serial-id 219801A28N819CE0002T

[AC-wlan-ap-officeap] quit

# Create AP group group1, and create an AP grouping rule by AP names.

[AC] wlan ap-group group1

[AC-wlan-ap-group-group1] ap officeap

# Bind wireless service template 1 to radio 1 on APs in AP group group1.

[AC-wlan-ap-group-group1] ap-model WA6320

[AC-wlan-ap-group-group1-ap-model-WA6320] radio 1

[AC-wlan-ap-group-group1-ap-model-WA6320-radio-1] service-template 1 vlan 200

# Set the mandatory rates for radio 1.

[AC-wlan-ap-group-group1-ap-model-WA6320-radio-1] rate mandatory 24 54

# Set the multicast rate for radio 1.

[AC-wlan-ap-group-group1-ap-model-WA6320-radio-1] rate multicast 54

# Specify the rates that cannot be used by radio 1.

[AC-wlan-ap-group-group1-ap-model-WA6320-radio-1] rate disabled 6 9 12

# Enable radio 1.

[AC-wlan-ap-group-group1-ap-model-WA6320-radio-1] radio enable

[AC-wlan-ap-group-group1-ap-model-WA6320-radio-1] quit

# Bind wireless service template 1 to radio 2 on APs in AP group group1.

[AC-wlan-ap-group-group1-ap-model-WA6320] radio 2

[AC-wlan-ap-group-group1-ap-model-WA6320-radio-2] service-template 1 vlan 200

# Set the mandatory rates for radio 2.

[AC-wlan-ap-group-group1-ap-model-WA6320-radio-2] rate mandatory 24 54

# Set the multicast rate for radio 2.

[AC-wlan-ap-group-group1-ap-model-WA6320-radio-2] rate multicast 54

# Specify the rates that cannot be used by radio 2.

[AC-wlan-ap-group-group1-ap-model-WA6320-radio-2] rate disabled 1 2 5.5

# Enable radio 2.

[AC-wlan-ap-group-group1-ap-model-WA6320-radio-2] radio enable

[AC-wlan-ap-group-group1-ap-model-WA6320-radio-2] quit

5.     Deploy a configuration file to the AP:

# Deploy configuration file apcfg.txt to the AP.

[AC-wlan-ap-group-group1-ap-model-WA6320] map-configuration apcfg.txt

[AC-wlan-ap-group-group1-ap-model-WA6320] quit

[AC-wlan-ap-group-group1] quit

Configuring the switch

1.     Configure interfaces on the switch:

# Create VLAN 100, VLAN 200, VLAN-interface 100, and VLAN-interface 200, and assign an IP address to the VLAN interfaces. The AC will use VLAN-interface 100 to forward traffic on the CAPWAP tunnel between the AC and the AP and use VLAN-interface 200 to forward endpoint traffic.

<Switch> system-view

[Switch] vlan 100

[Switch-vlan100] quit

[Switch] interface vlan-interface 100

[Switch-Vlan-interface100] ip address 192.1.1.2 16

[Switch-Vlan-interface100] quit

[Switch] vlan 200

[Switch-vlan200] quit

[Switch] interface vlan-interface 200

[Switch-Vlan-interface200] ip address 192.2.1.1 24

[Switch-Vlan-interface200] quit

# Configure GigabitEthernet 1/0/1 that connects the switch to the AC as a trunk port, and assign the port to VLAN 100.

[Switch] interface GigabitEthernet 1/0/1

[Switch-GigabitEthernet1/0/1] port link-type trunk

[Switch-GigabitEthernet1/0/1] port trunk permit vlan 100

[Switch-GigabitEthernet1/0/1] quit

# Configure GigabitEthernet 1/0/2 that connects the switch to the AP as a trunk port, remove the port from VLAN 1, and assign the port to VLAN 100 and VLAN 200. Set the PVID to 100.

[Switch] interface GigabitEthernet 1/0/2

[Switch-GigabitEthernet1/0/2] port link-type trunk

[Switch-GigabitEthernet1/0/2] undo port trunk permit vlan 1

[Switch-GigabitEthernet1/0/2] port trunk permit vlan 100 200

[Switch-GigabitEthernet1/0/2] port trunk pvid vlan 100

# Enable PoE on GigabitEthernet 1/0/2 that connects the switch to the AP.

[Switch-GigabitEthernet1/0/2] poe enable

[Switch-GigabitEthernet1/0/2] quit

2.     Configure the DHCP service:

# Enable DHCP.

[Switch] dhcp enable

# Create DHCP address pool vlan100, specify subnet 192.1.0.0/16 for dynamic allocation, and specify gateway IP address 192.1.0.2.

[Switch] dhcp server ip-pool vlan100

[Switch-dhcp-pool-vlan100] network 192.1.0.0 mask 255.255.0.0

[Switch-dhcp-pool-vlan100] forbidden-ip 192.1.1.1

[Switch-dhcp-pool-vlan100] gateway-list 192.1.1.2

[Switch-dhcp-pool-vlan100] quit

# Configure DHCP address pool vlan200. In the address pool, specify 192.2.1.1 as the gateway IP address, 192.2.1.0/24 as the subnet for dynamic allocation, and 192.2.1.1 as the DNS server address.

[Switch] dhcp server ip-pool vlan200

[Switch-dhcp-pool-vlan200] network 192.2.1.0 mask 255.255.255.0

[Switch-dhcp-pool-vlan200] gateway-list 192.2.1.1

[Switch-dhcp-pool-vlan200] dns-list 192.2.1.1

[Switch-dhcp-pool-vlan200] quit

Optimizing endpoint and service parameters

1.     Tune the bitrate and transmission parameters for E-Schoolbag.

2.     Disable the power-saving mode of the NIC on the endpoints.

FAQ

The following are the most frequently asked questions about E-Schoolbag:

·     E-Schoolbag cannot be enabled or loads slowly—The network connection is unstable or a low-performance device is used. To resolve this issue, attempt to reconnect to the network or switch to a different network environment. Additionally, verify the device's memory capacity and performance to ensure that it can load the E-Schoolbag correctly.

·     E-Schoolbag content not displayed correctly—Incompatible formats or discrepancies in software versions exist. To resolve this issue, use compatible E-Schoolbag software or update the E-Schoolbag software.

·     Issues with submitting or saving exercises in E-Schoolbag—Feature restrictions or configuration errors exist in the E-Schoolbag software. To resolve this issue, review and tune the settings and permissions to ensure that exercises can be submitted and saved correctly.

·     Weak or unstable wireless signal—In some areas, wireless signals might be weak or unstable, causing connection issues. To resolve this issue, move to a location with a stronger signal or enhance the coverage area, for example, by using a signal booster.

·     Connection timeout—To resolve this issue, reconnect to the network or restart the endpoints or wireless network device.

·     Wireless network not detected—If this issue occurs, the wireless router configuration might be incorrect, WLAN might be disabled on the endpoints, or the wireless network might be hidden. To resolve this issue, make sure the SSID is not hidden and WLAN is enabled on the endpoints.

·     Slow connection speeds—This issue might be caused by network overload, bandwidth limit, or low device performance. To resolve this issue, connect to a wireless network with higher speed or connect to a wired network.

·     Security concerns—Unauthorized access and data disclosure might cause security issues to E-Schoolbag services. For enhanced security, use encrypted wireless connections, install reliable anti-virus software and firewalls, regularly update the patches for the endpoints and applications, and avoid clicking links from suspicious or unknown sources.

Different schools and educational institutions might have unique situations and requirements. You can make adjustments and optimization as required.

For more information about network optimization, see network optimization in H3C Wireless Products Guide on the H3C official website. It can help you solve potential wireless network issues in E-Schoolbag services and improve network performance and stability.

Verifying the configuration

# Verify that the endpoints can connect to the wireless network.

<Sysname> display wlan client

Total number of clients: 1

MAC address    Username             AP name               R IP address      VLAN

3829-5a40-9589 N/A                  officeap              2 192.2.1.3       200

Configuration files

·     AC

#

igmp-snooping

#

Vlan 100

#

vlan 200

 igmp-snooping enable

 igmp-snooping drop-unknown

 igmp-snooping version 3

 igmp-snooping querier

#

wlan service-template 1

 ssid service

 client forwarding-location ap

 akm mode psk

 preshared-key pass-phrase cipher $c$3$N//5BVbsOqdBTxi+7MJZKT6Zqh5MAmYs2ZzM

 cipher-suite ccmp

 security-ie rsn

 multicast-optimization enable

 service-template enable

#

interface Vlan-interface100

 ip address 192.1.1.1 255.255.0.0

#

interface GigabitEthernet1/0/1

 port link-type trunk

 port trunk permit vlan 1 100

#

wlan ap-group group1

 ap officeap

 ap-model WA6320

  radio 1

   rate mandatory 24 54

   rate multicast 54

   rate supported 18 36 48

   rate disabled 6 9 12

   radio enable

   service-template 1 vlan 200

  radio 2

   rate mandatory 11 24 54

   rate multicast 54

   rate supported 6 9 12 18 36 48

   rate disabled 1 2 5.5

   radio enable

   service-template 1 vlan 200

  map-configuration flash:/apcfg.txt

#

wlan ap officeap model WA6320

 serial-id 219801A28N819CE0002T

#

·     Switch

#

 dhcp enable

#

vlan 100

#

vlan 200

#

dhcp server ip-pool vlan100

 gateway-list 192.1.1.2

 network 192.1.0.0 mask 255.255.0.0

 forbidden-ip 192.1.1.1

#

dhcp server ip-pool vlan200

 gateway-list 192.2.1.1

 network 192.2.1.0 mask 255.255.255.0

 dns-list 192.2.1.1

#

interface Vlan-interface100

 ip address 192.1.1.2 255.255.0.0

#

interface Vlan-interface200

 ip address 192.2.1.1 255.255.255.0

#

interface GigabitEthernet1/0/1

 port link-mode bridge

 port link-type trunk

 port trunk permit vlan 1 100

#

interface GigabitEthernet1/0/2

 port link-mode bridge

 port link-type trunk

 undo port trunk permit vlan 1

 port trunk permit vlan 100 200

 port trunk pvid vlan 100

#

Related documentation

·     WLAN Access Configuration Guide in H3C Access Controllers Configuration Guides

·     WLAN Access Command Reference in H3C Access Controllers Command References

·     Multicast Optimization Configuration Guide in H3C Access Controllers Configuration Guides

·     Multicast Optimization Command Reference in H3C Access Controllers Command References

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Intelligent Storage
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
  • Technical Blogs
All Support
  • Become A Partner
  • Partner Policy & Program
  • Global Learning
  • Partner Sales Resources
  • Partner Business Management
  • Service Business
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us