03-CLI configuration examples (AC+fit AP)

HomeSupportDoc SetsDoc PackagesH3C Wireless Products All-in-One-6W10003-CLI configuration examples (AC+fit AP)
Table of Contents
Related Documents
92-AP Image Downloading Configuration Examples
Title Size Download
92-AP Image Downloading Configuration Examples 115.85 KB

 

H3C Access Controllers

Comware 7 AP Image Downloading

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 for configuring AP image downloading.

Prerequisites

The following information applies to Comware 7-based access controllers and access points with a software version of R5444P03 or later. 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 AP management and software upgrade.

Example: Configuring AP image downloading

Network configuration

As shown in Figure 1, the AC is attached to the Layer 2 switch in hair-pin mode. The Layer 3 switch acts as the DHCP server to assign IP addresses to APs and the Layer 2 switch supplies power to APs through PoE. Configure AP image downloading to reduce time consumed by AC and AP upgrade.

Figure 1 Network diagram

 

Restrictions and guidelines

·     Before restarting the AC, save the running configuration.

·     Make sure all APs to be upgraded are online when you configure the AC to deploy the image to APs.

·     Typically, the system can deploy an image to 500 to 1000 APs per hour. Reserve sufficient time for image downloading.

·     If an AP goes offline during image downloading, the downloading process for the AP is terminated. To upgrade the AP, you must configure the AC to deploy an image to the AP manually after the AP comes online.

Procedures

Configuring the AC

1.     View the current software version of the AC.

<AC> display version

H3C Comware Software, Version 7.1.064, Release 5446

Copyright (c) 2004-2021 New H3C Technologies Co., Ltd. All rights reserved.

H3C WX5580H uptime is 0 weeks, 0 days, 20 hours, 51 minutes

Last reboot reason : User soft reboot

---- More ----

2.     Configure the AC to download the image file and specify the file as the next startup configuration file:

# Configure the AC to download the image file. In this example, the TFTP server address is 192.168.0.1 and the image file name is test.ipe.

<AC> tftp 192.168.0.1 get test.ipe

Press CTRL+C to abort.

   % Total    % Received % Xferd  Average Speed   Time    Time     Time   Current

                                  Dload  Upload   Total   Spent    Left   Speed

100 610.9M  100 610.9M   0     0  1206k      0  0:08:29  0:08:29  --:--:-- 1206k

Writing file...Done.

# Specify the file as the main next startup configuration file.

<AC> boot-loader file cfa0:/test.ipe all main

3.     Deploy the image to all online APs.

<AC> system-view

[AC] wlan ap-image-deploy all

4.     View information about image downloading:

# Display AP image downloading information, including the downloading progress, time consumed, and the numbers of APs to be upgraded, succeeded APs, ongoing APs, and failed APs.

[AC] display wlan ap statistics image-download

Completed : 50%

Time consumed : 03min 58s

AP count:

 Total to download : 20

 Succeeded : 9

 In-progress : 10

 Failed : 1

# Display APs that have failed to download images.

[AC] display wlan ap statistics image-download failed

AP name                    Failure reason

ap2                        Tunnel down

# Resolve the issues that caused the failure. In this example, make AP 2 come online again.

# Re-deploy the image to the APs that have failed to download images.

[AC] wlan ap-image-deploy name ap2

5.     Save the running configuration and restart the AC and APs:

# Verify that all APs have obtained the image. Then, save the running configuration.

[AC] save startup.cfg

The current configuration will be saved to cfa0:/startup.cfg. Continue? [Y/N]:y

cfa0:/startup.cfg exists, overwrite? [Y/N]:

Saving configuration cfa0:/startup.cfg.Please wait...

Configuration is saved to device successfully.

[AC] quit

# Restart all APs and restart the AC at the same time.

<AC> reset wlan ap all

Reset APs that have established or are to establish primary tunnels with the AC. Continue? [Y/N]:y

<AC> reboot

Start to check configuration with next startup configuration file, please wait.........DONE!

This command will reboot the device. Continue? [Y/N]:y

Now rebooting, please wait...

Verifying the configuration

# Verify the AC version.

<AC> display version

H3C Comware Software, Version 7.1.064, Release 5447

Copyright (c) 2004-2021 New H3C Technologies Co., Ltd. All rights reserved.

H3C WX5580H uptime is 0 weeks, 0 days, 0 hours, 10 minutes

Last reboot reason : User soft reboot

---- More ----

# Verify the version of any AP.

<Sysname> display wlan ap name ap1 verbose

AP name                       : ap1

AP ID                         : 1

AP group name                 : default-group

State                         : Run

Backup type                   : Master

Online time                   : 0 days 0 hours 12 minutes 12 seconds

System uptime                 : 0 days 0 hours 22 minutes 12 seconds

Model                         : WA6320

Region code                   : CN

Region code lock              : Disable

Serial ID                     : 219801A28N819CE0002T

MAC address                   : 0AFB-423B-893C

IP address                    : 192.168.0.50

UDP control port number       : 18313

UDP data port number          : N/A

H/W version                   : Ver.C

S/W version                   : R5447

---- More ----

Related documentation

·     AP Management Configuration Guide in H3C Access Controllers Configuration Guides

·     AP Management Command Reference in H3C Access Controllers Command References

  • 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
新华三官网