Automatic Retrieval of Configuration

This chapter provides the following information:

“Managed Mode Operations ” on page 1

Prerequisites

“Configuring Managed Mode Parameters” on page 1

Verifying the Configuration

Managed Mode Operations

Instant APs support managed mode operations to retrieve the configuration file from a server through the FTPFile Transfer Protocol. A standard network protocol used for transferring files between a client and server on a computer network. or FTPS, and automatically update the Instant AP configuration.

The server details for retrieving configuration files are stored in the basic configuration of the Instant APs. The basic configuration of an Instant AP includes settings specific to an Instant AP, for example, host name, static IP, and radio configuration settings. When an Instant AP boots up, it performs a GETGET refers HTTP request method or an SNMP operation method. The GET HTTP request method submits data to be processed to a specified resource. The GET SNMP operation method obtains information from the Management Information Base (MIB). operation to retrieve the configuration (.cfg) file from the associated server using the specified download method.

After the initial configuration is applied to the Instant APs, the configuration can be changed at any point. You can configure a polling mechanism to fetch the latest configuration by using an FTPFile Transfer Protocol. A standard network protocol used for transferring files between a client and server on a computer network. or FTPS client periodically. If the remote configuration is different from the one running on the Instant AP and if a difference in the configuration file is detected by the Instant AP, the new configuration is applied. At any given time, Instant APs can fetch only one configuration file, which may include the configuration details specific to an Instant AP. For configuring polling mechanism and downloading configuration files, the users are required to provide credentials (username and password). However, if automatic mode is enabled, the user credentials required to fetch the configuration file are automatically generated. To enable automatic configuration of the Instant APs, configure the managed mode command parameters.

Prerequisites

Perform the following checks before configuring the managed mode command parameters:

Ensure that the Instant AP is running Instant 6.2.1.0-3.4 or later versions.

When the Instant APs are in the managed mode, ensure that the Instant APs are not managed by AirWave.

Configuring Managed Mode Parameters

To enable the automatic configuration, perform the steps described in the following table:

Table 1: Managed Mode Commands

Steps

Command

1. Start a CLICommand-Line Interface. A console interface with a command line shell that allows users to execute text input as commands and convert these commands to appropriate functions. session to configure the managed-mode profile for automatic configuration.

(Instant AP)(config)# managed-mode-profile

2. Enable automatic configuration

Or

Specify the user credentials.

(Instant AP)(managed-mode-profile)# automatic

Or

(Instant AP)(managed-mode-profile)# username <username>

(Instant AP)(managed-mode-profile)# password <password>

NOTE: If the automatic mode is enabled, the user credentials are automatically generated based on Instant AP MACMedia Access Control. A MAC address is a unique identifier assigned to network interfaces for communications on a network. address.

3. Specify the configuration file.

(Instant AP)(managed-mode-profile)# config-filename <file_name>

Filename—Indicates filename in the alphanumeric format. Ensure that configuration file name does not exceed 40 characters.

4. Specify the configuration file download method.

(Instant AP)(managed-mode-profile)# download-method <ftp|ftps>

You can use either FTPFile Transfer Protocol. A standard network protocol used for transferring files between a client and server on a computer network. or FTPS for downloading configuration files.

5. Specify the name of the server or the IP address of the server from which the configuration file must be downloaded.

(Instant AP)(managed-mode-profile)# server <server_name>

6. Configure the day and time at which the Instant APs can poll the configuration files from the server.

(Instant AP) (managed-mode-profile)# sync-time day <dd> hour <hh> min <mm> window <window>

Based on the expected frequency of configuration changes and maintenance window, you can set the configuration synchronization timeline.

day <dd>—Indicates day, for example to configure Sunday as the day, specify 01. To configure the synchronization period as everyday, specifiy 00.

hour <hh>—Indicates hour within the range of 0–23.

min <mm>—Indicates minutes within the range of 0–59.

window <hh>—Defines a window for synchronization of the configuration file. The default value is 3 hours.

7. Configure the time interval in minutes between two retries, after which Instant APs can retry downloading the configuration file.

(Instant AP)(managed-mode-profile)# retry-poll-period <seconds>

NOTE: Specify the retry interval in seconds within the range of 5–60 seconds. The default retry interval is 5 seconds.

8. Apply the configuration changes.

(Instant AP)(managed-mode-profile)# end

(Instant AP)# commit apply

If you want to apply the configuration immediately and do not want to wait until next configuration retrieval attempt, execute the following command:

(Instant AP)# managed-mode-sync-server

Example

To configure managed mode profile:

(Instant AP)(config)# managed-mode-profile

Verifying the Configuration

To verify if the automatic configuration functions, perform the following checks:

1. Verify the status of configuration by running the following commands at the command prompt:

(Instant AP)# show managed-mode config

(Instant AP)# show managed-mode status

 

2. Verify the status of download by running the following command at the command prompt:

(Instant AP)# show managed-mode logs

If the configuration settings retrieved in the configuration file are incomplete, Instant APs reboot with the earlier configuration.