07-Local forwarding

HomeSupportResource CenterH3C Access Controllers Configuration Examples(V7)-6W10207-Local forwarding
05-Wired Port Local Forwarding through Wireless Terminator Configuration Examples

 

H3C Access Controllers Comware 7

Wired Port Local Forwarding through Wireless Terminator

Configuration Examples

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Copyright © 2021 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.



Introduction

The following information provides a wired port local forwarding through wireless terminator (WT) configuration example.

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

Figure 1 Network diagram

 

Software versions used

This configuration example was created and verified on ACs of version B64D029SP08 and APs of the corresponding versions.

Configuration procedures

Configuring the AC

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

[AC-dhcp-pool-wt] quit

# Configure DHCP address pool host and specify subnet 161.157.1.0/24 and gateway address 161.157.1.1 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.1

[AC-dhcp-pool-host] quit

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

3.     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.2      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.2

Ping 161.157.1.2 (161.157.1.2): 56 data bytes, press CTRL_C to break

56 bytes from 161.157.1.2: icmp_seq=0 ttl=128 time=1.883 ms

56 bytes from 161.157.1.2: icmp_seq=1 ttl=128 time=0.826 ms

56 bytes from 161.157.1.2: icmp_seq=2 ttl=128 time=0.846 ms

56 bytes from 161.157.1.2: icmp_seq=3 ttl=128 time=1.039 ms

56 bytes from 161.157.1.2: icmp_seq=4 ttl=128 time=1.046 ms

          

--- Ping statistics for 161.157.1.2 ---

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