- Table of Contents
-
- 03-CLI configuration examples (AC+fit AP)
- 01-HTTPS Login Configuration Examples
- 02-SSH Configuration Examples
- 03-License Management Configuration Examples
- 04-IPv6 URL Redirection Configuration Examples
- 05-AP Association with the AC at Layer 2 Configuration Examples
- 06-AP Association with the AC at Layer 2 (IPv6) Configuration Examples
- 07-Auto AP Configuration Examples
- 08-AP Association with the AC at Layer 3 Configuration Examples
- 09-AP Association with the AC at Layer 3 (IPv6) Configuration Examples
- 10-WEP Encryption Configuration Examples
- 11-PSK Encryption Configuration Examples
- 12-WPA3-SAE PSK Encryption Configuration Examples
- 13-WLAN Access (IPv6) Configuration Examples
- 14-Policy-Based Forwarding with Dual Gateways Configuration Examples
- 15-Scheduled Configuration Deployment by AP Group Configuration Examples
- 16-Inter-AC Roaming with Static Client VLAN Allocation Configuration Examples
- 17-Service Template and Radio Binding Configuration Examples
- 18-Scheduled WLAN Access Services Configuration Examples
- 19-Local Portal Authentication Configuration Examples
- 20-HTTPS-Based Local Portal Authentication Configuration Examples
- 21-Remote Portal Authentication Configuration Examples
- 22-Local Portal Authentication through LDAP Server Configuration Examples
- 23-Local Portal Authentication and SSID-based Authentication Page Pushing Configuration Examples
- 24-Local Portal MAC-Trigger Authentication Configuration Examples
- 25-Portal MAC-Trigger Authentication Configuration Examples
- 26-Local Forwarding Mode and Local Portal MAC-Trigger Authentication Configuration Examples
- 27-Local Portal Authentication (IPv6) Configuration Examples
- 28-Local Portal Authentication through LDAP Server (IPv6) Configuration Examples
- 29-Remote Portal Authentication (IPv6) Configuration Examples
- 30-Portal MAC-Trigger Authentication (IPv6) Configuration Example
- 31-Remote Portal Authentication with User Profile Authorization Configuration Examples
- 32-Portal Fail-Permit Configuration Examples
- 33-Local MAC Authentication Configuration Examples
- 34-MAC Authentication and PSK Authentication Configuration Examples
- 35-Remote MAC and Portal Authentication and Transparent Authentication Configuration Examples
- 36-Remote AP and Remote Portal MAC-Trigger Authentication Configuration Examples
- 37-MAC Authentication with Guest VLAN Assignment Configuration Examples
- 38-MAC Authentication with Guest VLAN Assignment (IPv6) Configuration Examples
- 39-Local MAC-Then-802.1X Authentication Configuration Examples
- 40-Local 802.1X Authentication Configuration Examples
- 41-Local RADIUS-Based 802.1X Authentication in EAP Relay Mode Configuration Examples
- 42-Remote 802.1X Authentication Configuration Examples
- 43-Remote 802.1X Authentication (IPv6) Configuration Examples
- 44-Remote 802.1X Authentication in WPA3-Enterprise Mode Configuration Examples
- 45-802.1X Authentication with ACL Assignment Through IMC Server Configuration Examples
- 46-802.1X Authentication with User Profile Assignment Through IMC Server Configuration Examples
- 47-EAD Authentication Configuration Examples
- 48-EAD Authentication (IPv6) Configuration Examples
- 49-Local Forwarding Mode and Local Portal Authentication Configuration Examples
- 50-Local Forwarding Mode Direct Portal Authentication Configuration Examples
- 51-Local Forwarding Mode Direct Portal Authentication (IPv6) Configuration Examples
- 52-Local Forwarding Configuration Examples
- 53-Remote AP Configuration Examples
- 54-WIPS Configuration Examples
- 55-WIPS Countermeasures Against All SSIDs Configuration Examples
- 56-IP Source Guard (IPv4) Configuration Examples
- 57-IP Source Guard (IPv6) Configuration Examples
- 58-IRF Setup with Members Directly Connected Configuration Examples
- 59-IRF Setup with Members Not Directly Connected Configuration Examples
- 60-IRF Setup with Members in One Chassis Configuration Examples
- 61-IRF Setup with Members in Different Chassis Configuration Examples
- 62-Dual-Link Backup Configuration Examples
- 63-Remote 802.1X Auth on AC Hierarchy Network with Dual-Link Central AC Backup Configuration Examples
- 64-Remote Portal Auth on AC Hierarchy Network with Dual-Link Central AC Backup Configuration Examples
- 65-OAuth-Based Portal MAC-Trigger Auth on Local-Forwarding Dual-Link Backup Configuration Examples
- 66-Dual-Link Backup OAuth-Based Portal Auth in Local Forwarding Configuration Examples
- 67-Dual-Link Backup Remote Portal MAC-Trigger Auth in Local Forwarding Configuration Examples
- 68-Dual-Link Backup Remote Portal and Transparent MAC Auth in Local Forwarding Configuration Examples
- 69-Dual-Link Backup Remote Portal Auth in Local Forwarding Configuration Examples
- 70-Dual-Link Backup Remote Portal and MAC Auth in Centralized Forward Configuration Examples
- 71-Dual-Link Backup Remote Portal Auth in Centralized Forwarding Configuration Examples
- 72-Dual-Link Backup Lightweight Portal Auth in Centralized Forwarding Configuration Examples
- 73-Dual-Link Backup OAuth-Based Portal Auth in Centralized Forwarding Configuration Examples
- 74-Dual-Link Backup Remote Portal MAC-Trigger Auth in Centralized Forwarding Configuration Examples
- 75-Remote 802.1X Auth on a Dual-Link AC Backup Network Configuration Examples
- 76-Remote MAC Auth on a Dual-Link AC Backup Network Configuration Examples
- 77-Remote 802.1X Authentication on an AC Hierarchy Network Configuration Examples
- 78-Remote 802.1X Authentication Configuration Examples
- 79-WLAN Probe Configuration Examples
- 80-Multicast Optimization Configuration Examples
- 81-Client Rate Limiting Configuration Examples
- 82-Inter-AC Roaming Configuration Examples
- 83-Inter-AC Roaming (IPv6) Configuration Examples
- 84-WLAN Load Balancing Configuration Examples
- 85-Static Blacklist Configuration Examples
- 86-Client Quantity Control Configuration Examples
- 87-AP License Synchronization Configuration Examples
- 88-iBeacon Management Configuration Examples
- 89-Mesh Link Establishment Between a Fit AP and a Fat AP Configuration Examples
- 90-Mesh Link Establishment Between Fit APs Configuration Examples
- 91-Auto-DFS and Auto-TPC Configuration Examples
- 92-AP Image Downloading Configuration Examples
- 93-Dual-Uplink Interfaces Configuration Guide
- 94-Internal-to-External Access Through NAT Configuration Examples
- 95-Layer 2 Static Aggregation Configuration Examples
- 96-Layer 2 Multicast Configuration Examples
- 97-Static VLAN Allocation Configuration Examples
- 98-URL Redirection Configuration Examples
- Related Documents
-
Title | Size | Download |
---|---|---|
90-Mesh Link Establishment Between Fit APs Configuration Examples | 85.27 KB |
|
H3C Access Controllers |
Comware 7 Mesh Link Establishment Between Fit APs |
Configuration Examples |
|
Copyright © 2022 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 of configuring a mesh link between fit APs.
Prerequisites
The following information applies to Comware 7-based access controllers and access points. Procedures and information in the examples might be slightly different depending on the software or hardware version of the access controllers and access points.
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 mesh.
Example: Configuring a mesh link between fit APs
Network configuration
As shown in Figure 1, in centralized forwarding mode, the AC is connected to the switch, and the switch assigns an IP address to APs and clients as a DHCP server. Configure devices to meet the following requirements:
· AP 1 and AP 2 obtain an IP address from the address pool on VLAN 10 configured on Switch 1 and come online from the AC.
· The wired client and wireless client are assigned to the same VLAN and are reachable to each other at Layer 2.
Restrictions and guidelines
· Use the serial ID labeled on the AP's rear panel to specify an AP.
· To avoid too many packets in VLAN 1, configure GE1/0/4 that connects the switch to AP 1 as a trunk port, and remove the port from VLAN 1.
Procedures
Configuring the switch
1. Configure interfaces on the switch:
# Create VLAN 10 and VLAN-interface 10, and assign an IP address to the VLAN interface. The AC will use this IP address to establish a CAPWAP tunnel with the AP.
<Switch> system-view
[Switch] vlan 10
[Switch-vlan10] quit
[Switch] interface vlan-interface 10
[Switch-Vlan-interface10] ip address 172.16.1.1 255.255.255.0
[Switch-Vlan-interface10] quit
# Create VLAN 20 and VLAN-interface 20, and assign an IP address to the VLAN interface. This VLAN will be used as the gateway for the clients.
[Switch] vlan 20
[Switch-vlan20] quit
[Switch] interface vlan-interface 20
[Switch-Vlan-interface20] ip address 192.168.10.1 255.255.255.0
[Switch-Vlan-interface20] quit
# Configure GigabitEthernet 1/0/1 that connects the switch to the AC as a trunk port, and assign the port to all VLANs.
[Switch] interface gigabitEthernet 1/0/1
[Switch-GigabitEthernet1/0/1] port link-type trunk
[Switch-GigabitEthernet1/0/1] port trunk permit vlan all
[Switch-GigabitEthernet1/0/1] quit
# Configure GigabitEthernet 1/0/4 that connects the switch to AP 1 as a trunk port, remove the port from VLAN 1, and assign the port to all the other VLANs.
[Switch] interface gigabitEthernet 1/0/4
[Switch-GigabitEthernet1/0/4] port link-type trunk
[Switch-GigabitEthernet1/0/4] port trunk permit vlan all
[Switch-GigabitEthernet1/0/4] undo port trunk permit vlan 1
# Set the PVID of GigabitEthernet 1/0/4 to VLAN 10.
[Switch-GigabitEthernet1/0/4] port trunk pvid vlan 10
[Switch-GigabitEthernet1/0/4] quit
# Assign GigabitEthernet 1/0/2 that connects the switch to Client 1 to VLAN 20.
[Switch] interface gigabitEthernet 1/0/2
[Switch-GigabitEthernet1/0/2] port access vlan 20
[Switch-GigabitEthernet1/0/2] quit
[Switch] quit
2. Configure the DHCP server:
# Enable DHCP.
<Switch> system-view
[Switch] dhcp enable
# Specify 172.16.1.0/24 as the address range for dynamic allocation in DHCP address pool 1, and specify 172.16.1.1 as the gateway address.
[Switch] dhcp server ip-pool 1
[Switch-dhcp-pool-1] network 172.16.1.0 mask 255.255.255.0
[Switch-dhcp-pool-1] gateway-list 172.16.1.1
# Exclude 172.16.1.2 from dynamic allocation.
[Switch-dhcp-pool-1] forbidden-ip 172.16.1.2
[Switch-dhcp-pool-1] quit
# Configure DHCP address pool 2. In the address pool, specify 192.168.10.1 as the gateway IP address, 192.168.10.0/24 as the subnet for dynamic allocation, and 192.168.10.1 as the DNS server address.
[Switch] dhcp server ip-pool 2
[Switch-dhcp-pool-2] network 192.168.10.0 mask 255.255.255.0
[Switch-dhcp-pool-2] gateway-list 192.168.10.1
[Switch-dhcp-pool-2] dns-list 192.168.10.1
[Switch-dhcp-pool-2] quit
Configuring the AC
1. Configure interfaces on the AC:
# Create VLAN 10 and VLAN-interface 10, and assign an IP address to the VLAN interface. The AC will use this IP address to establish a CAPWAP tunnel with the AP.
[AC] vlan 10
[AC-vlan10] quit
[AC] interface vlan-interface 10
[AC-Vlan-interface10] ip address 172.16.1.2 255.255.255.0
[AC-Vlan-interface10] quit
# Create VLAN 20.
[AC] vlan 20
[AC-vlan20] quit
# Configure GigabitEthernet 1/0/1 that connects the AC to the switch as a trunk port, and assign the port to all VLANs.
[AC] interface gigabitethernet 1/0/1
[AC-GigabitEthernet1/0/1] port link-type trunk
[AC-GigabitEthernet1/0/1] port trunk permit vlan all
[AC-GigabitEthernet1/0/1] quit
2. Configure AP 1:
# Create a manual AP named ap1, and specify the AP model and serial ID.
[AC] wlan ap ap1 model WA6330
[AC-wlan-ap-ap1] serial-id 219801A23V8192E00021
# Enter the view of radio 1, specify the radio type as dot11an, and specify the channel as 36.
[AC-wlan-ap-ap1] radio 1
[AC-wlan-ap-ap1-radio-1] type dot11an
[AC-wlan-ap-ap1-radio-1] channel 36
# Enable radio 1.
[AC-wlan-ap-ap1-radio-1] radio enable
[AC-wlan-ap-ap1-radio-1] quit
[AC-wlan-ap-ap1] quit
3. Configure AP 2:
# Create a manual AP named ap21, and specify the AP model and serial ID.
[AC] wlan ap ap2 model WA6330
[AC-wlan-ap-ap2] serial-id 219801A23V8192E00022
# Enter the view of radio 1, specify the radio type as dot11an, and specify the channel as 36.
[AC-wlan-ap-ap2] radio 1
[AC-wlan-ap-ap2-radio-1] type dot11an
[AC-wlan-ap-ap2-radio-1] channel 36
# Enable radio 1.
[AC-wlan-ap-ap2-radio-1] radio enable
[AC-wlan-ap-ap2-radio-1] quit
[AC-wlan-ap-ap2] quit
4. Configure a mesh profile:
# Create mesh profile 1.
[AC] wlan mesh-profile 1
# Set the mesh ID to 1.
[AC-wlan-mesh-profile-1] mesh-id 1
# Set the authentication and key management (AKM) mode to sae.
[AC-wlan-mesh-profile-1] akm mode sae
# Configure simple character string meshlink as the PSK.
[AC-wlan-mesh-profile-1] preshared-key pass-phrase simple meshlink
# Enable the mesh profile.
[AC-wlan-mesh-profile-1] mesh-profile enable
[AC-wlan-mesh-profile-1] quit
# Bind radio 1 on AP 1 to mesh profile 1. Bind radio 1 on AP 2 to mesh profile 1 in the same way.
[AC] wlan ap ap1
[AC-wlan-ap-ap1] radio 1
[AC-wlan-ap-ap1-radio-1] mesh-profile 1
5. Add the MAC address of AP 2 to the mesh peer whitelist for AP 1. Add the MAC address of AP 1 to the mesh peer whitelist for AP 2 in the same way.
[AC-wlan-ap-ap1-radio-1] mesh peer-mac-address 90e7-1066-e060
[AC-wlan-ap-ap1-radio-1] quit
6. Configure a WLAN-mesh interface: The following uses AP 1 as an example. Configure a WLAN-mesh interface for AP 2 in the same way.
# Create a WLAN-mesh interface.
[AC-wlan-ap-ap1] interface wlan-mesh 1
# Configure WLAN-mesh interface 1 as a trunk port, and assign the port to all VLANs.
[AC-wlan-ap-ap1-wlan-mesh-1] mesh-port link-type trunk
[AC-wlan-ap-ap1-wlan-mesh-1] mesh-port trunk permit vlan all
[AC-wlan-ap-ap1-wlan-mesh-1] quit
# Bind WLAN-mesh interface 1 to radio 1.
[AC-wlan-ap-ap1] radio 1
[AC-wlan-ap-ap1-radio-1] mesh-interface 1
[AC-wlan-ap-ap1-radio-1] quit
[AC-wlan-ap-ap1] quit
7. Configure a wireless service:
# Create a service template named office.
[AC] wlan service-template office
# Specify the SSID as Documents.
[AC-wlan-st-office] ssid Documents
# Assign the client to VLAN 20 after the client comes online from the service template.
[AC-wlan-st-office] vlan 20
# Set the PSK AKM mode, and configure simple character string 12345678 as the PSK.
[AC-wlan-st-office] akm mode psk
[AC-wlan-st-office] preshared-key pass-phrase simple 12345678
# Set the CCMP cipher suite for frame encryption and enable the WPA IE in beacon and probe responses.
[AC-wlan-st-office] cipher-suite ccmp
[AC-wlan-st-office] security-ie wpa
# Enable the service template.
[AC-wlan-st-office] service-template enable
[AC-wlan-st-office] quit
8. Editing the AP’s configuration file
# Edit the AP’s configuration file, name it map.txt and upload the configuration file to the AC.
system-view
vlan 20
quit
interface gigabitethernet 1/0/1
port link-type trunk
port trunk permit vlan all
quit
[AC] wlan ap ap1
[AC-wlan-ap-ap1] map-configuration map.txt
[AC-wlan-ap-ap1] quit
Verifying the configuration
1. Verify that the APs have been associated with the AC. If the APs are in R/M state, the APs have been associated with the AC.
<AC> display wlan ap all
AP information
State : I = Idle, J = Join, JA = JoinAck, IL = ImageLoad
C = Config, DC = DataCheck, R = Run, M = Master, B = Backup
AP name APID State Model Serial ID
ap1 1 R/M WA6330 219801A23V8192E00021
ap2 2 R/M WA6330 219801A23V8192E00022
2. Display mesh link information on the AC.
<AC> display wlan mesh-link ap
AP name: ap1
Peer Local Status RSSI Packets(Rx/Tx)
90e7-1066-e060 542b-dea7-a8c0 Forwarding 57 6919/6452
AP name: ap2
Peer Local Status RSSI Packets(Rx/Tx)
542b-dea7-a8c0 90e7-1066-e060 Forwarding 55 7726/6801
3. Ping Client 2 from Client 1 to verify that they are reachable to each other.
C:\Users\system32> ping 192.168.10.3
Pinging 192.168.10.3 with 32 bytes of data:
Reply from 192.168.10.3: bytes=32 time<1ms TTL=255
Reply from 192.168.10.3: bytes=32 time<1ms TTL=255
Reply from 192.168.10.3: bytes=32 time<1ms TTL=255
Reply from 192.168.10.3: bytes=32 time<1ms TTL=255
Ping statistics for 192.168.10.3:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
Configuration files
· Switch:
#
dhcp enable
#
vlan 10
#
vlan 20
#
dhcp server ip-pool 1
forbidden-ip 172.16.1.2
gateway-list 172.16.1.1
network 172.16.1.0 mask 255.255.255.0
#
dhcp server ip-pool 2
gateway-list 192.168.10.1
network 192.168.10.0 mask 255.255.255.0
dns-list 192.168.10.1
#
interface Vlan-interface10
ip address 172.16.1.1 255.255.255.0
#
interface Vlan-interface20
ip address 192.168.10.1 255.255.255.0
#
interface GigabitEthernet1/0/1
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet1/0/2
port access vlan 20
#
interface GigabitEthernet1/0/4
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 2 to 4094
port trunk pvid vlan 10
#
· AC:
#
wlan mesh-profile 1
mesh-id 1
akm mode sae
preshared-key pass-phrase cipher $c$3$qVXx1KuNn4FeEi3nMUkQ7A8jcIMrN8JH2AOv
mesh-profile enable
#
vlan 10
#
vlan 20
#
wlan service-template office
ssid Documents
vlan 20
akm mode psk
preshared-key pass-phrase cipher $c$3$hqxvBKKM0Go5NmRe1XGhiy/nVnzusK20fzlz
cipher-suite ccmp
security-ie wpa
service-template enable
#
interface Vlan-interface10
ip address 172.16.1.2 255.255.255.0
#
interface GigabitEthernet1/0/1
port link-type trunk
port trunk permit vlan all
#
wlan ap ap1 model WA6330
serial-id 219801A23V8192E00021
map-configuration flash:/map.txt
vlan 1
interface wlan-mesh 1
mesh-port link-type trunk
mesh-port trunk permit vlan all
radio 1
type dot11an
channel 36
radio enable
mesh-profile 1
mesh-interface 1
mesh peer-mac-address 90e7-1066-e060
#
wlan ap ap2 model WA6330
serial-id 219801A23V8192E00022
vlan 1
interface wlan-mesh 1
mesh-port link-type trunk
mesh-port trunk permit vlan all
radio 1
type dot11an
channel 36
radio enable
service-template office
mesh-profile 1
mesh-interface 1
mesh peer-mac-address 542b-dea7-a8c0
#
Related documentation
· AP Management Command Reference in H3C Access Controllers Command References
· AP Management Configuration Guide in H3C Access Controllers Configuration Guides
· WLAN Mesh Command Reference in H3C Access Controllers Command References
· WLAN Mesh Configuration Guide in H3C Access Controllers Configuration Guides