Configuring Backup Switchs and Failover Priority for Access Points
Finding Feature Information
Your software release may not support all the features documented in this module. For the latest feature information and caveats, see the release notes for your platform and software release.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.
Prerequisites for Configuring Backup Switchs and Failover Priority for Access Points
You can configure primary and secondary backup switchs (which are used if primary, secondary, or tertiary switchs are not specified or are not responsive) for all access points that are connected to the switch as well as various timers, including heartbeat timers and discovery request timers. To reduce the switch failure detection time, you can configure the fast heartbeat interval (between the switch and the access point) with a smaller timeout value. When the fast heartbeat timer expires (at every heartbeat interval), the access point determines if any data packets have been received from the switch within the last interval. If no packets have been received, the access point sends a fast echo request to the switch.
The access point maintains a list of backup switchs and periodically sends primary discovery requests to each entry on the list. When the access point receives a new discovery response from a switch, the backup switch list is updated. Any switch that fails to respond to two consecutive primary discovery requests is removed from the list. If the access point’s local switch fails, it chooses an available switch from the backup switch list in this order: primary, secondary, tertiary, primary backup, and secondary backup. The access point waits for a discovery response from the first available switch in the backup list and joins the switch if it receives a response within the time configured for the primary discovery request timer. If the time limit is reached, the access point assumes that the switch cannot be joined and waits for a discovery response from the next available switch in the list.
When an access point's primary switch comes back online, the access point disassociates from the backup switch and reconnects to its primary switch. The access point falls back only to its primary switch and not to any available secondary switch for which it is configured. For example, if an access point is configured with primary, secondary, and tertiary switchs, it fails over to the tertiary switch when the primary and secondary switchs become unresponsive. If the secondary switch comes back online while the primary switch is down, the access point does not fall back to the secondary switch and stays connected to the tertiary switch. The access point waits until the primary switch comes back online to fall back from the tertiary switch to the primary switch. If the tertiary switch fails and the primary switch is still down, the access point then falls back to the available secondary switch.
You can configure your wireless network so that the backup switch recognizes a join request from a higher-priority access point and if necessary disassociates a lower-priority access point as a means to provide an available port.
You must enable failover priority on your network and assign priorities to the individual access points before you can configure this feature.
Restrictions for Configuring Backup Switchs and Failover Priority for Access Points
You can configure the fast heartbeat timer only for access points in local mode.
Failover priority is not in effect during the regular operation of your wireless network. It takes effect only if there are more association requests after a switch failure than there are available backup switch ports.
By default, all access points are set to priority level 1, which is the lowest priority level. Therefore, you must assign a priority level only to those access points that warrant a higher priority.
Information About Configuring Backup Switchs
A single switch at a centralized location can act as a backup for access points when they lose connectivity with the primary switch in the local region. Centralized and regional switchs do not need to be in the same mobility group. You can specify a primary, secondary, and tertiary switch for specific access points in your network. Using the switch CLI, you can specify the IP addresses of the backup switchs, which allows the access points to fail over to switchs outside of the mobility group.
Each controller has a defined number of communication ports for access points. When multiple controllers with unused access point ports are deployed on the same network and one controller fails, the dropped access points automatically poll for unused controller ports and associate with them.
Optimizing RFID Tracking on Access Points
To optimize the monitoring and location calculation of RFID tags, you can enable tracking optimization on up to four channels within the 2.4-GHz band of an 802.11b/g access point radio. This feature allows you to scan only the channels on which tags are usually programmed to operate (such as channels 1, 6, and 11).
Retrieving the Unique Device Identifier on Switchs and Access Points
The Unique Device Identifier (UDI) standard uniquely identifies products across all Cisco hardware product families, enabling customers to identify and track Cisco products throughout their business and network operations and to automate their asset management systems. The standard is consistent across all electronic, physical, and standard business communications. The UDI consists of five data elements:
The orderable product identifier (PID)
The version of the product identifier (VID)
The serial number (SN)
The entity name
The product description
The UDI is burned into the EEPROM of controllers and lightweight access points at the factory. It can be retrieved through either the GUI or the CLI.
How to Configure Backup Switchs for Access Points
Configuring Backup Switchs for Access Points (CLI)
Switch# ap name AP02 controller primary
pricon 10.0.0.1
Configures a primary switch for a specific access point.
Note
The controller_ip_address argument in Step 2 and Step 4 is optional. If the backup switch is outside the mobility group to which the access point is connected (the primary switch), you must provide the IP address of the primary, secondary, or tertiary switch, respectively. In each command, the controller_name and controller_ip_address must belong to the same primary, secondary, or tertiary switch. Otherwise, the access point cannot join the backup switch.
Switch(config)# ap capwap backup secondary
advbackupseccon 10.0.0.4
Configures a secondary backup switch for all access points.
Note
To delete a secondary backup switch, enter the noapcapwapbackupsecondarysecondary_backup_controller_namesecondary_backup_controller_ip_address command.
Switch(config)# ap capwap timers
fast-heartbeat-timeout local 5
Enables the fast heartbeat timer for local access points.
Note
The timeout_Interval is from 1 to 10 seconds (inclusive). Specifying a small heartbeat interval reduces the amount of time that it takes to detect a switch failure. The default value is disabled.
Note
To disable the fast heartbeat timer for local access points, enter the noapcapwaptimersfast-heartbeat-timeout{localtimeout_interval} command.
Step 9
apcapwaptimersheartbeat-timeout[interval].
Example:
Switch(config)# ap capwap timers
heartbeat-timeout 15
Configures the access point heartbeat timer.
Note
The timeout interval is from 1 to 30 seconds (inclusive). This value should be at least three times larger than the fast heartbeat timer. The default value is 30 seconds.
Note
To disable the access point heartbeat timer, enter the noapcapwaptimersheartbeat-timeout[interval] command.
Caution
Do not enable the fast heartbeat timer with the high latency link. If you have to enable the fast heartbeat timer, the timer value must be greater than the latency.
Switch(config)# ap capwap timers
primary-discovery-timeout 90
Configures the access point primary discovery request timer.
Note
The timeout interval is from 30 to 3600 seconds. The default is 120 seconds.
Note
To disable the access point primary discovery request timer, enter the noapcapwaptimersprimary-discovery-timeout[interval] command.
Step 11
apcapwaptimersdiscovery-timeout[interval].
Example:
Switch(config)# ap capwap timers
discovery-timeout 9
Configures the access point discovery timer.
Note
The timeout interval is from 1 to 10 seconds (inclusive). The default is 10 seconds.
Note
To disable the access point discovery timer, enter the noapcapwaptimersdiscovery-timeout[interval] command.
Step 12
end
Example:
Switch(config)# end
Returns to privileged EXEC mode. Alternatively, you can also press Ctrl-z to exit global configuration mode.
Step 13
showapnameCisco_APconfiggeneral
Example:
Switch# show ap name AP02 config general
Displays access point configuration information.
Step 14
showwirelessclienttimers
Example:
Switch# show wireless client timers
Displays the wireless client timer information.
Configuring Backup Switchs for Access Points (GUI)
Step 1
Choose Monitor > AP Summary > Global AP Configuration.
The Global Configuration page appears.
Step 2
From the Local Mode AP Fast Heartbeat Timer State drop-down list, choose Enable to enable the fast heartbeat timer for access points in local mode or choose Disable to disable this timer. The default value is Disable.
Note
If you choose Enable from the Local Mode AP Fast Heartbeat Timer State drop-down list, enter a value in the Local Mode AP Fast Heartbeat Timeout text box to configure the fast heartbeat timer for access points in local mode. Specifying a small heartbeat interval reduces the amount of time it takes to detect a switch failure.
The range for the AP Fast Heartbeat Timeout value is from 1 to 10 (inclusive) for switchs and the default is 1 second.
Step 3
In the AP Primary Discovery Timeout text box, enter a value from 30 to 3600 seconds (inclusive) to configure the access point primary discovery request timer. The default is 120 seconds.
Step 4
Configure primary, secondary, and tertiary backup switchs for a specific access point as follows:
Choose Configuration > AP Summary.
The ALL APs page appears with a list of access points that are associated to the switch.
Click the name of the access point for which you want to configure primary, secondary, and tertiary backup switchs.
The AP > Edit page appears.
Click the High Availability tab.
In the Primary Controller text box, enter the name and IP address of the primary switch for this access point.
Note
Entering an IP address for the backup switch is optional in this step and the next two steps. If the backup switch is outside the mobility group to which the access point is connected (the primary switch), you must provide the IP address of the primary, secondary, or tertiary switch, respectively. The switch name and IP address must belong to the same primary, secondary, or tertiary switch. Otherwise, the access point cannot join the backup switch.
In the Secondary Controller text box, enter the name and IP address of the secondary switch for the access point.
In the Tertiary Controller text box, enter the name and IP address of the tertiary switch for the access point.
Click Apply to commit your changes.
How to Configure Failover Priority for Access Points
Configuring Failover Priority for Access Points (CLI)
SUMMARY STEPS
1.enable
2.configureterminal
3.apcapwappriority
4.end
5.apnameCisco_AP{prioritypriority_value}
DETAILED STEPS
Command or Action
Purpose
Step 1
enable
Example:
Switch# enable
Enters privileged EXEC mode.
Step 2
configureterminal
Example:
Switch# configure terminal
Enters global configuration mode.
Step 3
apcapwappriority
Example:
Switch(config)# ap capwap priority
Enables the access point failover priority.
Note
To disable access point failover priority, enter the noapcapwappriority command.
Step 4
end
Example:
Switch(config)# end
Returns to privileged EXEC mode. Alternatively, you can also press Ctrl-z to exit global configuration mode.
Step 5
apnameCisco_AP{prioritypriority_value}
Example:
Switch# ap name AP02 priority 140
Specifies the priority of an access point.
Note
You can enter a value from 1 to 4 for the priority value parameter.
Configuring Failover Priority for Access Points (GUI)
Step 1
Choose Configuration > AP Summary.
The ALL APs page appears.
Step 2
Click the name of the access point for which you want to configure failover priority.
The AP > Edit page appears.
Step 3
Click the High Availability tab.
The High Availability options appear.
Step 4
From the AP Failover Priority drop-down list, choose one of the following options to specify the priority of the access point:
Low—Assigns the access point to the level 1 priority, which is the lowest priority level. This is the default value.
Medium—Assigns the access point to the level 2 priority.
High—Assigns the access point to the level 3 priority.
Critical—Assigns the access point to the level 4 priority, which is the highest priority level.
Step 5
Click Apply to commit your changes.
Monitoring Failover Priority Settings (CLI)
Note
The procedure to perform this task using the switch GUI is not currently available.
SUMMARY STEPS
1.enable
2.showapcapwapsummary
DETAILED STEPS
Command or Action
Purpose
Step 1
enable
Example:
Switch# enable
Enters privileged EXEC mode.
Step 2
showapcapwapsummary
Example:
Switch# show ap capwap summary
Displays access point capwap summary. Using this command, you can confirm whether the access point failover priority is enabled on your network.
Configuration Examples for Configuring Backup Switchs and Failover Priority for Access Points
Displaying Access Point Configuration Information: Examples
This example shows how to display access point configuration information:
Switch# show ap name AP01 config general
Cisco AP Identifier : 0
Cisco AP Name : AP01
Country Code : US - United States
Regulatory Domain Allowed by Country : 802.11bg:-A
802.11a:-A
AP Country Code : US - United States
AP Regulatory Domain : Unconfigured
Switch Port Number : Te1/0/1
MAC Address : 0000.2000.03f0
IP Address Configuration : Static IP assigned
IP Address : 9.9.9.16
...... ........
...... ........
Primary Cisco Switch Name : 1-4404
Primary Cisco Switch IP Address : 2.2.2.2
Secondary Cisco Switch Name : 1-4404
Secondary Cisco Switch IP Address : 2.2.2.2
Tertiary Cisco Switch Name : 2-4404
Tertiary Cisco Switch IP Address : 1.1.1.4
Displaying Wireless Client Timer Information
This example shows how to display wireless client timer information:
Switch# show wireless client timers
Authentication Response Timeout (seconds) : 10
Rogue Entry Timeout (seconds) : 1300
AP Heart Beat Timeout (seconds) : 30
AP Discovery Timeout (seconds) : 10
AP Local mode Fast Heartbeat (seconds) : 10 (enable)
AP flexconnect mode Fast Heartbeat (seconds) : disable
AP Primary Discovery Timeout (seconds) : 120
Displaying Access Point CAPWAP Summary: Example
This example shows how to display access point CAPWAP summary. Using this command, you can confirm whether or not the access point failover priority is enabled on your network.
Switch# show ap capwap summary
AP Fallback : Enabled
AP Join Priority : Disabled
AP Master : Disabled
Primary backup Controller Name :
Primary backup Controller IP : 0.0.0.0
Secondary backup Controller Name :
Secondary backup Controller IP : 0.0.0.0