18.2 Example for Configuring Layer 3 Direct Forwarding in Inline Mode
Networking Requirements
As shown in Figure 18-2, the AC connects to the upper layer network, and the AP connects to the AC through the access switch and aggregation switch. The AP communicates with the AC through a Layer 3 network. This networking can cover a large area, simplify network structure, and is mainly applicable to enterprise users who require to effectively manage data packets. The customer must lay out a large number of network cables to deploy a wired network which does not support flexible user access. The deployment of network cables requires huge costs and human resources. The customer wants to deploy a WLAN network, which can reduce deployment costs, improve access flexibility, and enhance network maintainability.
Data Preparation
| Item | Data |
|---|---|
| Management VLAN for the AP | VLAN 100 |
| Service VLAN for the STA | VLAN 101 |
| DHCP server | The AC functions as the DHCP server for the AP. The aggregation switch functions as the DHCP server for the STA. |
| IP address pool for the AP | 192.168.100.2 to 192.168.100.254/24 |
| IP address pool for STAs | 192.168.101.3 to 192.168.101.254/24 |
| AC ID/Country code | 0/CN |
| AC's source interface | VLANIF 100 |
| WLAN radio profile | Name: radio WMM profile: wmm |
| WLAN service set | Name: huawei SSID: huawei WLAN ESS interface: WLAN-ESS1 Security profile: security Traffic profile: traffic Data forwarding mode: direct forwarding |
Configuration Roadmap
- Configure the AP to go online on the AC.
- Use the configuration wizard to configure the WLAN service on the AC.
- Deliver the WLAN service to the AP and verify the configuration.
NOTE:During AP deployment, you can manually specify the working channels of the APs according to network planning situations or configure the radio calibration function to enable the APs to automatically select the optimal channels.
- Choose . On the displayed Radio Profile List page, click Refresh and set the channel mode and power mode to auto.

Click . The Radio Calibration page is displayed.

In Radio Calibration Settings, set Calibration mode to Manual and click Start. Manual radio calibration is triggered.
- APs finish radio calibration one hour after the radio calibration is manually triggered. After that, you can perform either of the configurations:
- (Recommended) change the radio calibration mode to scheduled calibration and configure the APs to perform radio calibration in off-peak hours, for example, between 00:00 am and 06:00 am.
- Manually fix the working channels of APs: set the channel mode and power mode to Fixed mode in the radio profile. If a new AP gets online, repeat step 2.
Procedure
- Configure the access switch, aggregation switch, and router.
# Add GE0/0/1 and GE0/0/2 on the access switch to VLAN 10 and VLAN 100 respectively. The default VLAN of GE0/0/1 is VLAN 10.
# Add GE0/0/1 on the aggregation switch to VLAN 10 and VLAN 101, GE0/0/2 to VLAN 101 and VLAN 100, create VLANIF 100, and configure an IP address 192.168.100.2/24 for VLANIF 100.
# Configure an IP address pool for VLANIF 101 on the aggregation switch to assign IP addresses to STAs. The address 192.168.101.2 cannot be assigned to STAs.
# Configure DHCP relay on the aggregation switch and set the IP address 192.168.100.1/24 of VLANIF 100 on the AC as the DHCP server address.
# Configure an IP address 192.168.101.2/24 for GE1/0/0 on Router.
# Configure a static route on the aggregation switch. This example assumes that the destination address is 0.0.0.0/0 and the next hop address is 192.168.101.2.
- Configure the AP to go online on the AC.
- Configure option parameters for the DHCP server.
# Choose , select the address pool named huawei, and click
.# Set the parameter for Vendor-defined.

- Configure a static route.
# Choose and click Create to create a static route.

- Configure the WLAN service.
- Enable radio calibration to allow APs to automatically select optimal channels.
# Click . The Radio Calibrationpage is displayed.

In Radio Calibration Settings, set Calibration mode to Manual and click Start. Manual radio calibration is triggered.
# Click Real-Time Channel And Power List. The real-time channel and power list is displayed. Check the current working channel and power of the radio. Assume that there are three online APs on the AC. The list shows that AP channels have been automatically assigned through the radio calibration function.

# APs finish radio calibration one hour after the radio calibration is manually triggered. Then, set Calibration mode to Periodic and Calibration time to 3:00 am.

# Click Apply. The configuration is complete.
- Verify the configuration.
- The WLAN with the SSID huawei is available for the STA.
- The STA can associate with the WLAN and obtain an IP address 192.168.101.x/24 and its gateway address is 192.168.101.1.

- Choose . You can see that the STA goes online successfully and obtains an IP address.























