4.1.2 Example for Configuring APs to Dynamically Go Online
Networking Requirements
As shown in Figure 4-1, the AC is connected to an aggregation switch in inline or bypass mode. Before configuring the WLAN service, configure APs to go online on the AC.
Configuration Procedure
- Configure the AC and APs to communicate.
- Enable the DHCP server function to configure the AC to assign IP addresses to APs.
- Configure global parameters on the AC.
- Set the AP authentication mode and enable APs to go online.
Configuration Notes
- By default, APs go online dynamically. In this example, APs are not configured.
- In actual networking, avoid IP address conflict on the same LAN. If the IP address of another device conflicts with AP's default IP address, the AP cannot go online or device communication is affected.
NOTE:
In V200R003C00 and later versions, the AP's default IP address is 169.254.1.1/16.
-
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 on WLAN-ESS interfaces 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 betweeen the AC and APs. Packets from the service VLAN are not allowed between the AC and APs.
Procedure
- Configure the AC and APs to communicate.
- Configure the DHCP server function so that APs can dynamically obtain IP addresses.
# Log in the AC and enable the DCHP server function.
[AC] dhcp enable [AC] interface Vlanif 100 [AC-Vlanif100] ip address 192.168.10.1 24 [AC-Vlanif100] dhcp select interface [AC-Vlanif100] quit
- Configure AC system parameters.
# Configure the country code.
[AC] wlan ac-global country-code cn Warning: Modify the country code may delete configuration on those AP which us e the global country code and reset them, are you sure to continue?[Y/N]:y
# Configure the AC ID and carrier ID.
[AC] wlan ac-global ac id 1 carrier id other
# Configure the source interface.
[AC] wlan [AC-wlan-view] wlan ac source interface vlanif 100
- Set the AP authentication mode.
# Set AP authentication mode to MAC address authentication.
[AC-wlan-view] ap-auth-mode mac-auth
# Query the AP device type.
[AC-wlan-view] display ap-type all All AP types information: ------------------------------------------------------------------------------ ID Type ------------------------------------------------------------------------------ 17 AP6010SN-GN 19 AP6010DN-AGN 21 AP6310SN-GN 23 AP6510DN-AGN 25 AP6610DN-AGN 27 AP7110SN-GN 28 AP7110DN-AGN 29 AP5010SN-GN 30 AP5010DN-AGN 31 AP3010DN-AGN 33 AP6510DN-AGN-US 34 AP6610DN-AGN-US 35 AP5030DN 36 AP5130DN 37 AP7030DE 38 AP2010DN 39 AP8130DN 40 AP8030DN 42 AP9330DN ------------------------------------------------------------------------------ Total number: 19
# Add APs of AP6010DN-AGN type offline according to the obtained device type ID (19).
[AC-wlan-view] ap id 1 type-id 19 mac 60de-4476-e360 [AC-wlan-ap-1] quit [AC-wlan-view] quit [AC] quit
- Verify the configuration.
# Run the display ap all and display ap-run-info id 1 command to display information about online APs.


