Example for Configuring Service Holding upon WLAN CAPWAP Link Disconnection
Service Requirements
Enterprise users can access the network through WLANs, which is the basic requirement of mobile office. Furthermore, users' services are not affected during roaming in the coverage area.
The enterprise requires that data forwarding be not affected even when the AC is faulty to improve data transmission reliability.
Networking Requirements
- AC networking mode: Layer 2 bypass mode
- DHCP deployment mode: Switch functions as a DHCP server to assign IP addresses to APs and STAs.
- Service data forwarding mode: direct forwarding
Data Planning
Item |
Data |
---|---|
Management VLAN for APs |
VLAN 100 |
Service VLAN for STAs |
VLAN 101 |
DHCP server |
Switch functions as a DHCP server to assign IP addresses to APs and STAs. |
IP address pool for APs |
10.1.1.3-10.1.1.254/24 |
IP address pool for STAs |
10.1.2.3-10.1.2.254/24 |
Gateway address for APs |
10.1.1.1/24 |
Gateway address for STAs |
10.1.2.1/24 |
AC source interface |
VLANIF 100: 10.1.1.2/24 |
AP group |
|
Regulatory domain profile |
|
SSID profile |
|
Security profile |
|
VAP profile |
|
AP system profile |
|
Configuration Roadmap
- Configure network interworking of the AC, APs, and other network devices.
- Select Config Wizard to configure system parameters for the AC.
- Select Config Wizard to configure the APs to go online on the AC.
- Select Config Wizard to configure WLAN services on the AC.
- Configure service holding upon CAPWAP link disconnection to improve data transmission reliability so that data forwarding is not affected even when the AC is faulty.
- Deliver the WLAN services to the APs and verify the configuration.
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.
# Create VLAN 100 (management VLAN) and VLAN 101 (service VLAN) on the switch. Set the link type of GE0/0/1 that connects the switch to the APs to trunk and PVID of the interface to 100, and configure the interface to allow packets of VLAN 100 and VLAN 101 to pass. Set the link type of GE0/0/2 on the switch to trunk, and configure the interface to allow packets of VLAN 100 to pass.
<HUAWEI> system-view [HUAWEI] sysname Switch [Switch] vlan batch 100 101 [Switch] interface gigabitethernet 0/0/1 [Switch-GigabitEthernet0/0/1] port link-type trunk [Switch-GigabitEthernet0/0/1] port trunk pvid vlan 100 [Switch-GigabitEthernet0/0/1] port trunk allow-pass vlan 100 to 101 [Switch-GigabitEthernet0/0/1] port-isolate enable [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 allow-pass vlan 100 [Switch-GigabitEthernet0/0/2] quit
# Add GE1/0/0 on Router to VLAN 101. Create VLANIF 101 and set its IP address to 10.1.2.2/24.<Huawei> system-view [Huawei] sysname Router [Router] vlan batch 101 [Router] interface gigabitethernet 1/0/0 [Router-GigabitEthernet1/0/0] port link-type trunk [Router-GigabitEthernet1/0/0] port trunk allow-pass vlan 101 [Router-GigabitEthernet1/0/0] quit [Router] interface vlanif 101 [Router-Vlanif101] ip address 10.1.2.2 24 [Router-Vlanif101] quit
- Configure the DHCP servers to assign IP addresses to APs and STAs.Configure the DNS server as required. The common methods are as follows:
- In interface address pool scenarios, run the dhcp server dns-list ip-address &<1-8> command in the VLANIF interface view.
- In global address pool scenarios, run the dns-list ip-address &<1-8> command in the IP address pool view.
# Configure VLANIF 100 to use the interface address pool to allocate IP addresses to APs.
[Switch] dhcp enable [Switch] interface vlanif 100 [Switch-Vlanif100] ip address 10.1.1.1 255.255.255.0 [Switch-Vlanif100] dhcp select interface [Switch-Vlanif100] quit
# Configure VLANIF 101 to use the interface address pool to allocate IP addresses to STAs.
[Switch] interface vlanif 101 [Switch-Vlanif101] ip address 10.1.2.1 255.255.255.0 [Switch-Vlanif101] dhcp select interface [Switch-Vlanif101] quit
- Configure system parameters for the AC.
- Configure APs to go online.
- Configure WLAN services.
# Click Create. The Basic Information page is displayed.
# Set 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) and set the key.
# Click Next. The Access Control page is displayed.
# Set Binding the AP group to ap-group1.
# Click Finish.
- Create an AP system profile and configure service holding upon link disconnection.
# Choose AP Group page is displayed.
. The# Click AP group ap-group1. The AP group configuration page is displayed.
# Choose AP System Profile page is displayed.
. The# Click Create. On the Create AP System Profile page that is displayed, enter the profile name ap-system and click OK. The AP system profile configuration page is displayed.
# Set Policy for service holding upon link disconnection to Holding and prohibiting new user access.
# Click Apply. In the dialog box that is displayed, click OK.
- Set the AP channel and power.
- Verify the configuration.
The WLAN with the SSID wlan-net is available, and STAs can access the WLAN normally. When the CAPWAP link is disconnected due to an AC fault, service data forwarding of STAs in Area A is not affected.