- Table of Contents
- Related Documents
-
Title | Size | Download |
---|---|---|
01-Wireless AC Configuration Examples | 258.13 KB |
Introduction
The following information describes the configuration method for a router acting as a wireless AC.
Prerequisites
Procedures and information in the examples might be slightly different depending on the software or hardware version of the device.
The configuration examples were created and verified in a lab environment, and all the devices were started with the factory default configuration. When you are working on a live network, make sure you understand the potential impact of every command on your network.
The following information is provided based on the assumption that you have basic knowledge of wireless AC.
Software versions used
This configuration example was created and verified on Release 6749P21 of router MSR830-10HI.
Example: Configuring the AC functions
Network configuration
As shown in Figure 1, the AP is connected to the router (AC) through a PoE switch, and the following is required:
· The client can access the router through the 2.4GHz and 5GHz wireless networks provided by the AP, and can automatically obtain an IP address from the VLAN 20 network segment.
· The AP can automatically obtain an IP address from VLAN 10 network segment.
Analysis
· Configure 2.4G and 5G wireless service templates on the router. In this case, to provide clients with a better wireless experience, configure the parameters as follows, considering the environment around the AP:
Service template |
SSID |
Radio type |
Work channel |
Max transmit power |
2.4G |
service1 |
802.11g |
6 |
19 dm |
5G |
service2 |
802.11ac |
157 |
19 dm |
· Create VLAN 10 and VLAN 20 on the router. Use VLAN 10 to exchange packets between the router and the AP, and bind VLAN 20 to the 2.4G and 5G wireless service templates.
· Enable the DHCP server function on the router for both the AP and the client to automatically obtain IP addresses.
Restrictions and guidelines
· You can adjust the work mode, channel, and maximum transmission rate based on the actual usage of the wireless network.
· Configure the interface between the router and the PoE switch, along with the port on the PoE switch connecting to the AP, as trunk ports to allow both the AP management VLAN and service VLAN to pass through. Specify the AP management VLAN as the default VLAN.
· Create a manual AP or enable auto AP to bring the AP online. In this example, a manual AP is created. You can find the AP's serial number on the label at the back of the AP device.
Prerequisites
· Connect the PC to the router's LAN port using an Ethernet cable, and configure a static IP address of 192.168.0.X/23 on the PC. Then, open a browser and enter the router's management IP address (https://192.168.0.1) to access the Web management interface.
· Make sure the PC has installed the serial terminal software and is connected to the switch's console port through a serial cable. Start the terminal software, and configure the relevant parameters to connect to the switch backend interface.
Procedures
Configuring the router
1. Configure VLAN 10.
# Create VLAN 10, configure an IP address for the interface, and enable the DHCP service on the interface.
a. From the left navigation pane, select Network > LAN Settings.
b. Click Add.
c. Select the VLAN interface as the LAN interface type.
d. Enter 10 as the VLAN ID.
e. Specify 192.168.10.1 as the IP address.
f. Specify 255.255.255.0 as the subnet mask.
g. Enable DHCP.
h. Use the default settings for the other parameters, and click Apply.
Figure 2 Configuring VLAN 10
2. Configure VLAN 20.
# Create VLAN 20, configure an IP address for the interface, and enable the DHCP service on the interface.
a. From the left navigation pane, select Network > LAN Settings.
b. Click Add.
c. Select the VLAN interface as the LAN interface type.
d. Enter 20 as the VLAN ID.
e. Specify the interface address as 192.168.20.1.
f. Specify the subnet mask as 255.255.255.0.
g. Enable DHCP.
h. Use the default settings for the other parameters, and click Apply.
Figure 3 Configuring VLAN 20
3. Configure interface GE4.
# Configure interface GE4 to allow traffic in VLAN 10 and VLAN 20 to pass, and set the interface PVID to 10.
a. From the left navigation pane, select Network > LAN Settings.
b. Click the VLAN Division tab.
c. Click the Edit icon for interface GE4. The interface configuration page opens.
d. Enter 10 as the PVID.
e. Add VLAN 20 as a selected VLAN.
f. Click Apply.
4. Create a manual AP.
# Create a manual AP for the AP to establish a connection with the AC.
a. From the left navigation pane, select wireless AC.
b. From the left navigation pane, select Quick Setup > Add AP > Add AP.
c. Specify the AP name as ap1. (You can specify the AP name as needed.)
d. Select WA4320H as the AP model. (Select the AP model in use.)
e. Enter AP serial number 219801A0YG819BE005JC. (Enter the serial number of the AP in use.)
f. Retain the default settings in the other fields and then click Apply.
Figure 4 Creating a manual AP
5. Configure 2.4 GHz radios.
# Configure 2.4G radios. Specify the radio type as 802.11g, specify the work channel as 6, and set the maximum transmit power to 19 dBm.
a. From the left navigation pane, select Wireless Settings > Radio Management > Radio Settings.
b. Click the More icon for all AP radios.
c. Click the configuration icon for 2.4G radios.
d. Click to edit the radio type.
e. Select 802.11g as the radio type.
f. Select 6 as the working channel.
g. Enter 19 as the maximum transmit power.
h. Retain the default settings in the other fields and then click Apply.
Figure 5 Configuring 2.4 GHz radios
6. Configure 5 GHz radios.
# Configure 5G radios. Specify the radio type as 802.11ac, specify the work channel as 157, and set the maximum transmit power to 19 dBm.
a. Click the configuration icon for 5G radios.
b. Click to edit the radio type.
c. Select 802.11g as the radio type.
d. Select 6 as the working channel.
e. Enter 19 as the maximum transmit power.
f. Retain the default settings in the other fields and then click Apply.
Figure 6 Configuring 5 GHz radios
7. Create a 2.4G wireless service template.
# Create 2.4G wireless service template map1, specify the SSID as service1, configure clients coming online through the service template to join VLAN 20, and enable the wireless service template.
a. From the left navigation pane, select Quick Setup > Add Wireless Service > Add Wireless Service.
b. Specify the wireless service name as map1.
c. Select service1 as the SSID.
d. Enable the wireless service.
e. Enter 20 as the default VLAN ID.
Figure 7 Configuring a 2.4 GHz wireless service
8. Create a 5G wireless service template.
# Create 5G wireless service template map2, specify the SSID as service2, configure clients coming online through the service template to join VLAN 20, and enable the service template.
a. From the left navigation pane, select Quick Setup > Add Wireless Service > Add Wireless Service.
b. Specify the wireless service name as map2.
c. Select service2 as the SSID.
d. Enable the wireless service.
e. Enter 20 as the default VLAN ID.
Figure 8 Configuring a 5 GHz wireless service
9. Bind the 2.4 GHz service template to the 2.4 GHz radio.
a. On the adding wireless service page, click to confirm the configuration and enter the advanced settings page.
b. Click Bind.
c. Add AP ap1 (Radio2 2.4G) as a selected item.
d. Retain the default settings in the other fields and then click Apply.
Figure 9 Configuring advanced settings for the 2.4 GHz wireless service
10. Bind the 5 GHz service template to the 5 GHz radio.
a. On the adding wireless service page, click to confirm the configuration and enter the advanced settings page.
b. Click Bind.
c. Add AP ap1 (Radio1 5G) as a selected item.
d. Retain the default settings in the other fields and then click Apply.
Figure 10 Configuring advanced settings for the 5 GHz wireless service
Configuring the switch
1. Configure VLAN and interface settings.
<L2 switch> system-view
[L2 switch] VLAN 10
[L2 switch-VLAN10] quit
[L2 switch] VLAN 20
[L2 switch-VLAN20] quit
[L2 switch] interface gigabitethernet 1/0/1
[L2 switch-GigabitEthernet1/0/1] port link-type trunk
[L2 switch-GigabitEthernet1/0/1] port trunk pvid VLAN 10
[L2 switch-GigabitEthernet1/0/1] port trunk permit VLAN 10 20
[L2 switch-GigabitEthernet1/0/1] quit
[L2 switch] interface gigabitethernet 1/0/2
[L2 switch-GigabitEthernet1/0/2] port link-type trunk
[L2 switch-GigabitEthernet1/0/2] port trunk pvid VLAN 10
[L2 switch-GigabitEthernet1/0/2] port trunk permit VLAN 10 20
[L2 switch-GigabitEthernet1/0/2] quit
2. Enable PoE.
[L2 switch] interface gigabitethernet 1/0/2
[L2 switch-GigabitEthernet1/0/2] poe enable
[L2 switch-GigabitEthernet1/0/2] quit
Verifying the configuration
# View the detailed AP information and verify that the AP has established a connection to the AC and is in Run state.
[Router]display wlan ap name ap1 verbose
AP name : ap1
AP ID : 1
AP group name : default-group
State : Run
Backup type : Master
Online time : 0 days 4 hours 7 minutes 27 seconds
System uptime : 0 days 4 hours 17 minutes 4 seconds
Model : WA4320H
Region code : CN
Region code lock : Disabled
Serial ID : 219801A0YG819BE005JC
MAC address : 9429-2f93-14c0
IP address : 192.168.0.4
UDP control port number : 25930
UDP data port number : 25930
H/W version : Ver.B
S/W version : R2439P01
Boot version : 7.21
USB state : Disabled
Power level : N/A
Power info : N/A
Description : Not configured
Priority : 4
Echo interval : 10 seconds
Echo count : 3 counts
...
# Verify that the client can access the 2.4G and 5G networks through SSIDs service1 and service2, respectively. To view client connections, use the display wlan client verbose command.
[Router]display wlan client verbose
Total number of clients: 2
MAC address : 424a-b9db-91bf
IPv4 address : 192.168.20.3
IPv6 address : N/A
Username : N/A
AID : 2
AP ID : 1
AP name : ap1
Radio ID : 2
SSID : service1
BSSID : 9429-2f93-14d0
VLAN ID : 20
Sleep count : 22
Wireless mode : 802.11g
Supported rates : 1, 2, 5.5, 6, 9, 11,
12, 18, 24, 36, 48, 54 Mbps
QoS mode : WMM
Listen interval : 20
RSSI : 54
Rx/Tx rate : 0/0 Mbps
Speed : N/A
Authentication method : Open system
Security mode : PRE-RSNA
AKM mode : Not configured
Cipher suite : N/A
User authentication mode : Bypass
WPA3 status : N/A
Authorization CAR : N/A
Authorization ACL ID : N/A
Authorization user profile : N/A
Roam status : N/A
Key derivation : N/A
PMF status : N/A
Forwarding policy name : Not configured
Online time : 0days 0hours 0minutes 6seconds
FT status : Inactive
...