16-AP Management

HomeSupportConfigure & DeployConfiguration ExamplesH3C Routers Easy and Effortless Routing Feature Configuration Examples-6W10016-AP Management
01-ER G3 Routers Configure MiniAP Management on a Core Switch-Attached Router

ERG3 Routers

Configure MiniAP Management on a Core Switch-Attached Router

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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 New 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

The following information provides an example for configuring MiniAP management on a router attached to a core switch.

Prerequisites

Procedures and information in the examples might be slightly different depending on the software or hardware version of the products.

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 the MiniAP feature.

Example: Configuring MiniAP management on a router attached to a core switch

Network configuration

As shown in Figure 1, the ER3200G3 router is attached to a core switch to manage the MiniAP. The following configurations are required:

·     Configure VLAN 2 as the management VLAN to implement communication between the switch, router, and MiniAP.

·     Create a 2.4G wireless network with SSID service1 bound to VLAN 3.

·     Create a 5G wireless network with SSID service2 bound to VLAN 4.

·     Deploy a DHCP server on the core switch.

Figure 1 Network diagram

 

Data plan

Table 1 Subnet plan

Subnet

Detailed data plan

VLAN 2

·     Subnet address: 192.168.20.0/24

·     Gateway position: Core switch

·     Gateway interface IP address: 192.168.20.1/24

·     IP address associated with the router: 192.168.20.2/24

VLAN 3

·     Subnet address: 192.168.30.0/24

·     Gateway position: Core switch

·     Gateway interface IP address: 192.168.30.1/24

·     IP address associated with the router: 192.168.30.2/24

VLAN 4

·     Subnet address: 192.168.40.0/0

·     Gateway position: Core switch

·     Gateway interface IP address: 192.168.40.1/24

·     IP address associated with the router: 192.168.40.2/24

 

Software versions used

This example is configured and verified on Release 0136 of the ER3200G3 routers.

Procedures

Configure the router

1.     Create VLAN 2, and configure the interface IP address.

# Create VLAN 2 for the router, and configure interface IP address 192.168.20.2/24 as follows:

Log in the Web management interface of the device, navigate to the Network Settings > LAN Settings page, and click VLAN Settings.

Click Add.

Enter VLAN ID 2.

Enter 192.168.20.2 for Interfaces IP address.

Enter 255.255.255.0 for Subnet Mask.

Use default settings for other configuration items, and then click Apply.

Figure 2 Creating VLAN 2

 

2.     Create VLAN 3, and configure the interface IP address.

# Create VLAN 3 for the router, and configure interface IP address 192.168.30.2/24 as follows:

Log in the Web management interface of the device, navigate to the Network Settings > LAN Settings page, and click VLAN Settings.

Click Add.

Enter VLAN ID 3.

Enter 192.168.30.2 for Interfaces IP address.

Enter 255.255.255.0 for Subnet Mask.

Use default settings for other configuration items, and then click Apply.

Figure 3 Creating VLAN 3

 

3.     Create VLAN 4, and configure the interface IP address.

# Create VLAN 3 for the router, and configure interface IP address 192.168.40.2/24 as follows:

Log in the Web management interface of the device, navigate to the Network Settings > LAN Settings page, and click VLAN Settings.

Click Add.

Enter VLAN ID 4.

Enter 192.168.40.2 for Interfaces IP address.

Enter 255.255.255.0 for Subnet Mask.

Use default settings for other configuration items, and then click Apply.

Figure 4 Creating VLAN 4

 

4.     Configure interface LAN1

# Set the PVID for interface LAN1 to 2, and allow VLAN 3 and VLAN 4 to pass through.

Log in the Web management interface of the device, and navigate to the Network Settings > LAN Settings page.

Click the Edit icon in the Actions column for LAN1 to enter the detailed interface configuration page.

Select 2 for PVID.

Select VLAN 3 and VLAN 4, and click the right arrow button to add them to the selected VLAN list.

Click OK.

Figure 5 Configuring interface LAN1

 

5.     Configure interface LAN2

# Set the PVID for interface LAN2 to 2, and allow VLAN 3 and VLAN 4 to pass through.

Log in the Web management interface of the device, and navigate to the Network Settings > LAN Settings page.

Click the Edit icon in the Actions column for LAN2 to enter the detailed interface configuration page.

Select PVID 2.

Select VLAN 3 and VLAN 4, and click the right arrow button to add them to the selected VLAN list.

Click OK.

Figure 6 Configuring interface LAN2

 

6.     Enable MiniAP management

Log in the Web management interface of the device, and navigate to the MiniAP Management > AP Settings page.

Enable the AP management feature.

Specify VLAN 2 to be used by AP management.

Click OK.

Figure 7 Enabling MiniAP management

 

7.     Configuring a service template

# Configure a service template named map, in which the 2.4G wireless network SSID is service1 and 5G wireless network SSID is service2.

Log in the Web management interface of the device, and navigate to the MiniAP Management > Configuration Management page.

Click the Configuration Template Management tab to enter the configuration template management page.

Click Add.

Enter template name map.

Click Edit in the Actions column for the 2.4G wireless network.

Click Add

Select the Enable SSID option.

Enter SSID name service1.

Select Advanced Settings, and then enter 3 for bridge VLAN.

Use default settings for other configuration items, and then click Apply.

 

Click Edit in the Actions column for the 5G wireless network.

Click Add

Select the Enable SSID option.

Enter SSID name service2.

Select Advanced Settings, and then enter 4 for bridge VLAN.

Use default settings for other configuration items, and then click Apply.

Click OK.

 

8.     Deploying a service template

Log in the Web management interface of the device, and navigate to the MiniAP Management > Configuration Management page.

Click the AP Settings tab to enter the AP configuration page.

Click the Edit icon in the for the online AP to enter the AP configuration template modification page.

Select template map1.

Click OK.

Configuring the core switch

1.     Configure VLANs

# Create VLAN 2, VLAN 3, and VLAN 4, and configure the interface IP addresses.

<switch> system-view

[switch] interface vlan 2

[switch-interface2] ip address 192.168.20.1 24

[switch-interface2] quit

[switch] interface vlan 3

[switch-interface3] ip address 192.168.30.1 24

[switch-interface3] quit

[switch] interface vlan 4

[switch-interface3] ip address 192.168.40.1 24

[switch-interface3] quit

2.     Configure DHCP server settings

# Enable the DHCP server feature.

[Switch] dhcp enable

# Configure DHCP address pool 1 to assign IP addresses on subnet 192.168.20.0/24, DNS server address 192.168.20.1, and gateway address 192.168.20.1 to the client. (In this example, the DNS server address and gateway address are the same. You need to configure the DNS server address for the wireless client based on the actual network plan.)

[Switch] dhcp server ip-pool 1

[Switch-dhcp-pool-1] network 192.168.20.0 mask 255.255.255.0

[Switch-dhcp-pool-1] gateway-list 192.168.20.1

[Switch-dhcp-pool-1] dns-list 192.168.20.1

[Switch-dhcp-pool-1] quit

# Configure DHCP address pool 2 to assign IP addresses on subnet 192.168.30.0/24, DNS server address 192.168.30.1, and gateway address 192.168.30.1 to the client. (In this example, the DNS server address and gateway address are the same. You need to configure the DNS server address for the wireless client based on the actual network plan.)

[Switch] dhcp server ip-pool 2

[Switch-dhcp-pool-2] network 192.168.30.0 mask 255.255.255.0

[Switch-dhcp-pool-2] gateway-list 192.168.30.1

[Switch-dhcp-pool-2] dns-list 192.168.30.1

[Switch-dhcp-pool-2] quit

# Configure DHCP address pool 3 to assign IP addresses on subnet 192.168.40.0/24, DNS server address 192.168.40.1, and gateway address 192.168.40.1 to the client. (In this example, the DNS server address and gateway address are the same. You need to configure the DNS server address for the wireless client based on the actual network plan.)

[Switch] dhcp server ip-pool 2

[Switch-dhcp-pool-2] network 192.168.40.0 mask 255.255.255.0

[Switch-dhcp-pool-2] gateway-list 192.168.40.1

[Switch-dhcp-pool-2] dns-list 192.168.40.1

[Switch-dhcp-pool-2] quit

3.     Configure interface GE1/0/1

# Configure the interface type for GE1/0/1 as trunk and PVID as 2, and assign the interface to VLAN 3 and VLAN 4.

[Switch] interface gigabitethernet 1/0/1

[Switch-GigabitEthernet1/0/1] port link-type trunk

[Switch-GigabitEthernet1/0/1] port trunk pvid vlan 2

[Switch-GigabitEthernet1/0/1] port trunk permit VLAN 3 4

[Switch-GigabitEthernet1/0/1] quit

Configuring the PoE switch

1.     Configure VLANs

# Create VLAN 2, VLAN 3, and VLAN 4.

<switch> system-view

[switch] interface vlan 2

[switch-interface2] quit

[switch] interface vlan 3

[switch-interface3] quit

[switch] interface vlan 4

[switch-interface3] quit

2.     Configure interface GE1/0/1

# Configure the interface type for GE1/0/1 as trunk and PVID as 2, and assign the interface to VLAN 3 and VLAN 4.

[Switch] interface gigabitethernet 1/0/1

[Switch-GigabitEthernet1/0/1] port link-type trunk

[Switch-GigabitEthernet1/0/1] port trunk pvid vlan 2

[Switch-GigabitEthernet1/0/1] port trunk permit VLAN 3 4

[Switch-GigabitEthernet1/0/1] quit

3.     Configure interface GE1/0/2

# Configure the interface type for GE1/0/1 as trunk and PVID as 2, and assign the interface to VLAN 3 and VLAN 4.

[Switch] interface gigabitethernet 1/0/2

[Switch-GigabitEthernet1/0/2] port link-type trunk

[Switch-GigabitEthernet1/0/2] port trunk pvid vlan 2

[Switch-GigabitEthernet1/0/2] port trunk permit VLAN 3 4

[Switch-GigabitEthernet1/0/2] quit

Verifying the configuration

The wireless endpoint can connect to wireless networks service1 and service2 to obtain the IP addresses of VLAN 3 and VLAN 4, respectively. The configuration is successful.

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
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
新华三官网