05-Comware 9 CLI-based configuration examples (AC+fit AP deployment)

HomeSupportDoc SetsDoc PackagesH3C Wireless Products All-in-One-6W10105-Comware 9 CLI-based configuration examples (AC+fit AP deployment)
Table of Contents
Related Documents
52-Wired Port Local Forwarding through Wireless Terminator Configuration Examples

 

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.



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.

Figure 1 Network diagram

 

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

  • 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 Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网