H3C MSR1000[2600][3600] Routers Configuration Examples All-in-One-R9141-6W100

HomeSupportConfigure & DeployConfiguration ExamplesH3C MSR1000[2600][3600] Routers Configuration Examples All-in-One-R9141-6W100
Table of Contents
Related Documents
49-WLAN AC Configuration Examples
Title Size Download
49-WLAN AC Configuration Examples 94.71 KB

 

 

H3C Routers

WLAN AC Configuration Examples

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Copyright © 2024 New H3C Technologies Co., Ltd. All rights reserved.

No part of this manual may be reproduced or transmitted in any form or by any means without prior written consent of Hangzhou H3C Technologies Co., Ltd.

Except for the trademarks of New H3C Technologies Co., Ltd., any trademarks that may be mentioned in this document are the property of their respective owners.

The information in this document is subject to change without notice.



Introduction

This document provides an example for configuring a router that acts as a WLAN AC.

Prerequisites

The following information applies to Comware 9-based routers. Procedures and information in the examples might be slightly different depending on the software or hardware version of the router.

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 WLAN AC.

Software versions used

This configuration example was created and verified on R9141P16 of the MSR2630E-X1 router.

Example: Configuring WLAN AC functions

Network configuration

As shown in Figure 1, the AP connects to the router that acts as the AC through a Layer 2 switch. Configure the router to meet the following requirements:

·     The client can access the router through the 2.4G and 5G wireless networks provided by the AP and automatically obtain an IP address in the VLAN 20 network segment.

·     The AP can automatically obtain the IP address in the VLAN 10 network segment.

·     The AP obtains power from the Layer 2 switch through PoE.

Figure 1 Network diagram

 

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:

 

Wireless service template

SSID

Work mode

Working channel

Maximum transmission rate

2.4G

service1

802.11g

6

19dm

5G

service2

802.11ac

157

19dm

 

·     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 switch, along with the port on the 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.

Procedures

Configuring the router

# Configure VLANs and the interface IP addresses.

<Router> system-view

[Router] vlan 10

[Router-vlan10] quit

[Router] vlan 20

[Router-vlan20] quit

[Router] interface GigabitEthernet 0/0/1

[Router-GigabitEthernet0/0/1] port link-mode bridge

[Router-GigabitEthernet0/0/1] port link-type trunk

[Router-GigabitEthernet0/0/1] port trunk pvid vlan 10

[Router-GigabitEthernet0/0/1] port trunk permit vlan 10 20

[Router-GigabitEthernet0/0/1] quit

[Router] interface Vlan-interface 10

[Router-Vlan-interface10] ip address 192.168.10.1 255.255.255.0

[Router-Vlan-interface10] quit

[Router] interface Vlan-interface 20

[Router-Vlan-interface20] ip address 192.168.20.1 255.255.255.0

[Router-Vlan-interface20] quit

# Enable the DHCP Server feature.

[Router] dhcp enable

# Configure DHCP address pool 1 to allocate addresses in subnet 192.168.10.0/24 for APs, and specify the gateway address as 192.168.10.1.

[Router] dhcp server ip-pool 1

[Router-dhcp-pool-1] network 192.168.10.0 mask 255.255.255.0

[Router-dhcp-pool-1] gateway-list 192.168.10.1

[Router-dhcp-pool-1] quit

# Configure DHCP address pool 2  to allocate addresses in subnet 192.168.20.0/24 for clients. Specify the address of the DNS server as the gateway address. In this example, the gateway address is 192.168.20.1.

[Router] dhcp server ip-pool 2

[Router-dhcp-pool-2] network 192.168.20.0 mask 255.255.255.0

[Router-dhcp-pool-2] gateway-list 192.168.20.1

[Router-dhcp-pool-2] dns-list 192.168.20.1

[Router-dhcp-pool-2] quit

# Create a manual AP for the AP to establish a connection with the AC.

[Router] wlan ap ap1 model WA4320H

[Router-wlan-ap-ap1] serial-id 219801A0YG819BE005JC

[Router-wlan-ap-ap1] quit

# 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 service template.

[Router] wlan service-template map1

[Router-wlan-st-map1] ssid service1

[Router-wlan-st-map1] vlan 20

[Router-wlan-st-map1] service-template enable

[Router-wlan-st-map1] quit

# 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.

[Router] wlan ap ap1

[Router-wlan-ap-ap1] radio 2

[Router-wlan-ap-ap1-radio-2] type dot11g

[Router-wlan-ap-ap1-radio-2] channel 6

[Router-wlan-ap-ap1-radio-2] max-power 19

# Bind wireless service template map1 to radio 2.

[Router-wlan-ap-ap1-radio-2] radio enable

[Router-wlan-ap-ap1-radio-2] service-template map1

[Router-wlan-ap-ap1]quit

# 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.

[Router] wlan service-template map2

[Router-wlan-st-map1] ssid service2

[Router-wlan-st-map1] vlan 20

[Router-wlan-st-map1] service-template enable

[Router-wlan-st-map1] quit

# 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.

[Router] wlan ap ap1

[Router-wlan-ap-ap1] radio 1

[Router-wlan-ap-ap1-radio-1] type dot11ac

[Router-wlan-ap-ap1-radio-1] channel 157

[Router-wlan-ap-ap1-radio-1] max-power 19

# Bind wireless service template map2 to radio 1.

[Router-wlan-ap-ap1-radio-1] radio enable

[Router-wlan-ap-ap1-radio-1] service-template map2

[Router-wlan-ap-ap1-radio-1] quit

[Router-wlan-ap-ap1] quit

[Router]

Configuring the Layer 2 switch

# Configure VLANs and interfaces.

<L2 switch> system-view

[L2 switch] vlan 10

[L2 switch-vlan10] quit

[L2 switch] vlan 20

[L2 switch-vlan20] quit

[L2 switch] interface gigabitethernet 0/0/1

[L2 switch-GigabitEthernet0/0/1] port link-type trunk

[L2 switch-GigabitEthernet0/0/1] port trunk pvid vlan 10

[L2 switch-GigabitEthernet0/0/1] port trunk permit vlan 10 20

[L2 switch-GigabitEthernet0/0/1] quit

[L2 switch] interface gigabitethernet 0/0/2

[L2 switch-GigabitEthernet0/0/2] port link-type trunk

[L2 switch-GigabitEthernet0/0/2] port trunk pvid vlan 10

[L2 switch-GigabitEthernet0/0/2] port trunk permit vlan 10 20

[L2 switch-GigabitEthernet0/0/2] quit

[L2 switch]

# Enable PoE on GigabitEthernet 0/0/2.

[L2 switch] interface gigabitethernet 0/0/2

[L2 switch-GigabitEthernet0/0/2] poe enable

[L2 switch-GigabitEthernet0/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

Configuration files

The router configuration is as follows:

#

Vlan 10

#

Vlan 20

#

interface Vlan-interface10

ip address 192.168.10.1 255.255.255.0

#

interface Vlan-interface20

ip address 192.168.20.1 255.255.255.0

#

interface GigabitEthernet0/0/1

 port link-mode bridge

 port link-type trunk

 port trunk permit vlan 1 10 20

 port trunk pvid vlan 10

#

dhcp server ip-pool 1

 gateway-list 192.168.10.1

 network 192.168.10.0 mask 255.255.255.0

#

dhcp server ip-pool 2

 gateway-list 192.168.20.1

 network 192.168.20.0 mask 255.255.255.0

 dns-list 192.168.20.1

#

wlan service-template map1

ssid service1

vlan 20

service-template enable

#

wlan service-template map2

ssid service2

vlan 20

service-template enable

#

wlan ap ap1 model WA4320H

serial-id 219801A0YG819BE005JC

 radio 1

  type dot11ac

  channel 157

  max-power 19

  radio enable

  service-template map2

 radio 2

  type dot11g

  channel 6

  max-power 19

  radio enable

  service-template map1

Related documentation

·     WLAN Configuration Guide in H3C MSR1000[2600][3600] Routers Configuration Guides(V9)

·     WLAN Command Reference in H3C MSR1000[2600][3600] Routers Command References(V9)

Related documentation

·     WLAN Configuration Guide in H3C MSR Router Series Comware 7 Configuration Guides

·     WLAN Command Reference in H3C MSR Router Series Comware 7 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
新华三官网