- Table of Contents
-
- 05-Comware 9 CLI-based configuration examples (AC+fit AP deployment)
- 01-HTTPS Login Configuration Examples
- 02-SSH Configuration Examples
- 03-License Management Configuration Examples
- 04-AP Association with the AC at Layer 2 Configuration Examples
- 05-AP Association with the AC at Layer 2 (IPv6) Configuration Examples
- 06-Auto AP Configuration Examples
- 07-AP Association with the AC at Layer 3 Configuration Examples
- 08-AP Association with the AC at Layer 3 (IPv6) Configuration Examples
- 09-WEP Encryption Configuration Examples
- 10-PSK Encryption Configuration Examples
- 11-WPA3-SAE PSK Encryption Configuration Examples
- 12-WLAN Access (IPv6) Configuration Examples
- 13-Policy-Based Forwarding with Dual Gateways Configuration Examples
- 14-Scheduled Configuration Deployment by AP Group Configuration Examples
- 15-Inter-AC Roaming with Static Client VLAN Allocation Configuration Examples
- 16-Service Template and Radio Binding Configuration Examples
- 17-Scheduled WLAN Access Services Configuration Examples
- 18-Local Portal Authentication Configuration Examples
- 19-HTTPS-Based Local Portal Authentication Configuration Examples
- 20-Remote Portal Authentication Configuration Examples
- 21-Local Portal Authentication through LDAP Server Configuration Examples
- 22-Local Portal Auth and SSID-based Auth Page Pushing Configuration Examples
- 23-Local Portal MAC-Trigger Authentication Configuration Examples
- 24-Portal MAC-Trigger Authentication Configuration Examples
- 25-Local Forwarding Mode and Local Portal MAC-Trigger Auth Configuration Examples
- 26-Local Portal Authentication (IPv6) Configuration Examples
- 27-Local Portal Authentication through LDAP Server (IPv6) Configuration Examples
- 28-Remote Portal Authentication (IPv6) Configuration Examples
- 29-Portal MAC-Trigger Authentication (IPv6) Configuration Example
- 30-Remote Portal Authentication with User Profile Authorization Configuration Examples
- 31-Portal Fail-Permit Configuration Examples
- 32-Local MAC Authentication Configuration Examples
- 33-Remote MAC Authentication Configuration Examples
- 34-Transparent Auth Through Remote MAC and Portal Auth Configuration Examples
- 35-Remote AP, Remote Portal, and MAC-Trigger Authentication Configuration Examples
- 36-MAC Authentication with Guest VLAN Assignment Configuration Examples
- 37-MAC Authentication with Guest VLAN Assignment (IPv6) Configuration Examples
- 38-Local MAC-And-802.1X Authentication Configuration Examples
- 39-Local 802.1X Authentication Configuration Examples
- 40-Local RADIUS-Based 802.1X Authentication in EAP Relay Mode Configuration Examples
- 41-Remote 802.1X Authentication Configuration Examples
- 42-Remote 802.1X Authentication (IPv6) Configuration Examples
- 43-Remote 802.1X Authentication in WPA3-Enterprise Mode Configuration Examples
- 44-802.1X Auth with ACL Assignment Through IMC Server Configuration Examples
- 45-802.1X Auth with User Profile Assignment Through IMC Server Configuration Examples
- 46-EAD Authentication Configuration Examples
- 47-EAD Authentication (IPv6) Configuration Examples
- 48-Local Forwarding Mode and Local Portal Authentication Configuration Examples
- 49-Local Forwarding Mode Direct Portal Authentication Configuration Examples
- 50-Local Forwarding Mode Direct Portal Authentication (IPv6) Configuration Examples
- 51-Local Forwarding Configuration Examples
- 52-Wired Port Local Forwarding through Wireless Terminator Configuration Examples
- 53-Remote AP Configuration Examples
- 54-Downlink VLAN Management for Fit-Mode APs Configuration Examples
- 55-WIPS Configuration Examples
- 56-WIPS Countermeasures Against All SSIDs Configuration Examples
- 57-IP Source Guard (IPv4) Configuration Examples
- 58-IP Source Guard (IPv6) Configuration Examples
- 59-Dual-Link Backup Configuration Examples
- 60-OAuth-Based Portal MAC-Trigger Auth on a Local-Forwarding Dual-Link Backup Configuration Examples
- 61-Dual-Link Backup OAuth-Based Portal Authentication in Local Forwarding Configuration Examples
- 62-Dual-Link Backup Remote Portal MAC-Trigger Authentication in Local Forwarding Configuration Examples
- 63-Dual-Link Backup Remote Portal and Transparent MAC Auth in Local Forwarding Configuration Examples
- 64-Dual-Link Backup Remote Portal Authentication in Local Forwarding Configuration Examples
- 65-Dual-Link Backup Remote Portal and Transparent MAC Auth in Centralized Forwarding Configuration Examples
- 66-Dual-Link Backup Remote Portal Authentication in Centralized Forwarding Configuration Examples
- 67-Dual-Link Backup Lightweight Portal Authentication in Centralized Forwarding Configuration Examples
- 68-Dual-Link Backup OAuth-Based Portal Authentication in Centralized Forwarding Configuration Examples
- 69-Dual-Link Backup Remote Portal MAC-Trigger Auth in Centralized Forwarding Configuration Examples
- 70-Remote 802.1X Authentication on a Dual-Link AC Backup Network Configuration Examples
- 71-Remote MAC Authentication on a Dual-Link AC Backup Network Configuration Examples
- 72-WLAN Probe Configuration Examples
- 73-Multicast Optimization Configuration Examples
- 74-Client Rate Limiting Configuration Examples
- 75-Inter-AC Roaming Configuration Examples
- 76-Inter-AC Roaming (IPv6) Configuration Examples
- 77-Inter-AC Roaming in Local Forwarding Mode Configuration Examples
- 78-H3C Access Controllers Cooperative Roaming for 802.11v Clients Configuration Examples
- 79-WLAN Load Balancing Configuration Examples
- 80-Static Blacklist Configuration Examples
- 81-Client Quantity Control Configuration Examples
- 82-AP License Synchronization Configuration Examples
- 83-BLE Module iBeacon Transmission Configuration Examples
- 84-Medical RFID Tag Management Configuration Examples
- 85-iBeacon Management Configuration Examples
- 86-Mesh Link Establishment Between a Fit AP and a Fat AP Configuration Examples
- 87-Mesh Link Establishment Between Fit APs Configuration Examples
- 88-Auto-DFS and Auto-TPC Configuration Examples
- 89-AP Image Downloading Configuration Examples
- 90-Dual-Uplink Interfaces Configuration Guide
- 91-Internal-to-External Access Through NAT Configuration Examples
- 92-Layer 2 Static Aggregation Configuration Examples
- 93-Layer 2 Multicast Configuration Examples
- 94-Static VLAN Allocation Configuration Examples
- 95-URL Redirection Configuration Examples
- 96-IPv6 URL Redirection Configuration Examples
- Related Documents
-
Title | Size | Download |
---|---|---|
52-Wired Port Local Forwarding through Wireless Terminator Configuration Examples | 86.38 KB |
|
H3C Access Controllers |
Wired Port Local Forwarding through Wireless Terminator |
Configuration Examples |
Copyright © 2023 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 a wired port local forwarding through wireless terminator (WT) configuration example.
Prerequisites
The following information applies to Comware-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 access, AP management, and DHCP.
Example: Configuring wired port local forwarding through WT
Network requirements
As shown in Figure 1, the AC connects to the WT through the switch and the WT connects to the host through the wireless terminator unit (WTU). The AC acts as a DHCP server to assign IP addresses to the WT and host. The WTU runs in version 2 and supports wireless and wired connection.
Configuration procedures
Configuring the AC
1. Configure AC interfaces:
# Create VLAN 156, and assign an IP address to VLAN-interface 156. The WT will use this address to establish CAPWAP tunnels with the AC.
<AC> system-view
[AC] vlan 156
[AC-vlan156] quit
[AC] interface vlan-interface 156
[AC-Vlan-interface156] ip address 161.156.1.1 24
[AC-Vlan-interface156] quit
# Create VLAN 157, and assign an IP address to VLAN-interface 157. The client will use this VLAN to access the WLAN.
[AC] vlan 157
[AC-vlan157] quit
[AC] interface vlan-interface 157
[AC-Vlan-interface157] ip address 161.157.1.1 24
[AC-Vlan-interface157] quit
# Configure GigabitEthernet 1/0/1 that connect the AC to the switch as a trunk port, and assign the port to VLANs 156 and 157.
[AC] interface gigabitethernet 1/0/1
[AC-GigabitEthernet1/0/1] port link-type trunk
[AC-GigabitEthernet1/0/1] port trunk permit vlan 156 157
[AC-GigabitEthernet1/0/1] quit
2. Configure DHCP:
# Enable DHCP.
<AC> system-view
[AC] dhcp enable
# Configure DHCP address pool wt and specify subnet 161.156.1.0/24 and gateway address 161.156.1.2 in the address pool.
[AC] dhcp server ip-pool wt
[AC-dhcp-pool-wt] network 161.156.1.0 mask 255.255.255.0
[AC-dhcp-pool-wt] gateway-list 161.156.1.2
[AC-dhcp-pool-wt] quit
# Configure DHCP address pool host and specify subnet 161.157.1.0/24 and gateway address 161.157.1.2 in the address pool.
[AC] dhcp server ip-pool host
[AC-dhcp-pool-host] network 161.157.1.0 mask 255.255.255.0
[AC-dhcp-pool-host] gateway-list 161.157.1.2
[AC-dhcp-pool-host] quit
3. Configure WT and WTU:
# Create an AP named ap1 with model WT1024-X-EI, and set its serial ID to 219801A1ARC178000322.
[AC] wlan ap ap1 model WT1024-X-EI
[AC-wlan-ap-ap1] serial-id 219801A1ARC178000322
[AC-wlan-ap-ap1] map-configuration map.txt
[AC-wlan-ap-ap1] quit
# Create an AP named ap2 with model WTU420H, and set its serial ID to 219801A0WA916BQ20133.
[AC] wlan ap ap2 model WTU420H
[AC-wlan-ap-ap2] serial-id 219801A0WA916BQ20133
[AC-wlan-ap-ap2] quit
4. Configure the switch:
# Create VLAN 156 and assign an IP address to VLAN-interface 156. The VLAN will be used to forward traffic in the CAPWAP tunnels between the AC and the WT.
<Switch> system-view
[Switch] vlan 156
[Switch-vlan156] quit
[Switch] interface vlan-interface 156
[Switch-Vlan-interface156] ip address 161.156.1.2 24
[Switch-Vlan-interface156] quit
# Create VLAN 157 and assign an IP address to VLAN-interface 157. The VLAN will be used to forward client traffic.
[Switch] vlan 157
[Switch-vlan157] quit
[Switch] interface vlan-interface 157
[Switch-Vlan-interface157] ip address 161.157.1.2 24
[Switch-Vlan-interface157] quit
# Configure GigabitEthernet 1/0/1 that connects the switch to the AC as a trunk port, and assign the port to VLANs 156 and 157.
[Switch] interface gigabitethernet 1/0/1
[Switch-GigabitEthernet1/0/1] port link-type trunk
[Switch-GigabitEthernet1/0/1] port trunk permit vlan 156 157
[Switch-GigabitEthernet1/0/1] quit
# Configure GigabitEthernet 1/0/2 that connects the switch to the WT as a trunk port, assign the port to VLANs 156 and 157, and set the PVID to 156.
[Switch] interface gigabitethernet 1/0/2
[Switch-GigabitEthernet1/0/2] port link-type trunk
[Switch-GigabitEthernet1/0/2] port trunk permit vlan 156 157
[Switch-GigabitEthernet1/0/2] port trunk pvid vlan 156
[Switch-GigabitEthernet1/0/2] quit
5. Edit the WT configuration file:
# Edit the WT configuration file map.txt and upload it to the AC storage medium via FTP or TFTP. The content and format of the configuration file are as follows:
vlan 157
interface Ten-GigabitEthernet 1/0/1
port link-type trunk
port trunk permit vlan 157
# Enable WT preprovisioning to issue the settings to the WTU.
slot 1
provision model WTU420H
interface range Ethernet 1/1/1 to Ethernet 1/1/4
port access vlan 157
Verifying the configuration
# Verify that you can see the following information:
· The WT and WTU obtain the IP address of the AC through DHCP.
· The WT, WTU, and the AC have established a CAPWAP tunnel.
· The WT and WTU are in Run state.
[AC] display wlan ap all
Total number of APs: 2
Total number of connected APs: 2
Total number of connected manual APs: 2
Total number of connected auto APs: 0
Total number of connected common APs: 0
Total number of connected WTUs: 1
Total number of inside APs: 0
Maximum supported APs: 3072
Remaining APs: 3071
Total AP licenses: 640
Local AP licenses: 640
Server AP licenses: 0
Remaining Local AP licenses: 639.75
Sync AP licenses: 0
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 7 R/M WT1024-X-EI 219801A1ARC178000322
ap2 145 R/M WTU420H 219801A0WA916BQ20133
# On the AC, display the IP addresses assigned to the clients.
[AC] display dhcp server ip-in-use pool 157
IP address Client identifier/ Lease expiration Type
Hardware address
161.157.1.3 01f0-921c-ef67-49 Apr 10 15:16:57 2018 Auto(C)
# Verify that the AC and the WTU can reach each other.
[AC] ping 161.157.1.3
Ping 161.157.1.3 (161.157.1.3): 56 data bytes, press CTRL_C to break
56 bytes from 161.157.1.3: icmp_seq=0 ttl=128 time=1.883 ms
56 bytes from 161.157.1.3: icmp_seq=1 ttl=128 time=0.826 ms
56 bytes from 161.157.1.3: icmp_seq=2 ttl=128 time=0.846 ms
56 bytes from 161.157.1.3: icmp_seq=3 ttl=128 time=1.039 ms
56 bytes from 161.157.1.3: icmp_seq=4 ttl=128 time=1.046 ms
--- Ping statistics for 161.157.1.3 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 0.826/1.128/1.883/0.389 ms