B Multi 3e 5700 CG Chapter 01001011
B Multi 3e 5700 CG Chapter 01001011
B Multi 3e 5700 CG Chapter 01001011
Discovery
• Finding Feature Information, on page 1
• Prerequisites for Configuring the Controller for Access Point Discovery, on page 1
• Restrictions for Configuring the Controller for Access Point Discovery, on page 2
• Information About Configuring the Controller for Access Point Discovery, on page 2
• How to Configure Access Point Discovery, on page 4
• Configuration Examples for Configuring the Controller for Access Point Discovery, on page 6
Caution You should connect APs directly to the Cisco Catalyst 3850 switch ports to use its wireless functionality.
• Ensure that the Control and Provisioning of Wireless Access Points (CAPWAP) UDP ports 5246 and
5247 (similar to the Lightweight Access Point Protocol (LWAPP) UDP ports 12222 and 12223) are
enabled and are not blocked by an intermediate device that could prevent an access point from joining
the controller.
• If access control lists (ACLs) are in the control path between the controller and its access points, you
must open new protocol ports to prevent access points from being stranded.
• If an access point is in the UP state and its IP address changes, the access point tears down the existing
CAPWAP tunnel and rejoins the controller.
• Access points must be discovered by a controller before they can become an active part of the network.
The lightweight access points support the following controller discovery processes:
• Layer 3 CAPWAP discovery—You can enable this feature on different subnets from the access
point. This feature uses IP addresses and UDP packets rather the MAC addresses used by Layer 2
discovery.
• Locally stored controller IP address discovery—If the access point was previously associated to a
controller, the IP addresses of the primary, secondary, and tertiary controllers are stored in the access
point’s nonvolatile memory. This process of storing controller IP addresses on an access point for
later deployment is called priming the access point.
• DHCP server discovery—This feature uses DHCP option 43 to provide controller IP addresses to
the access points. Cisco switches support a DHCP server option that is typically used for this
capability.
• DNS discovery—The access point can discover controllers through your domain name server (DNS).
You must configure your DNS to return controller IP addresses in response to
CISCO-CAPWAP-CONTROLLER.localdomain, where localdomain is the access point domain
name. When an access point receives an IP address and DNS information from a DHCP server, it
contacts the DNS to resolve CISCO-CAPWAP-CONTROLLER.localdomain. When the DNS sends
a list of controller IP addresses, the access point sends discovery requests to the controllers.
• The access point is still connected to the same controller, and you changed the global syslog server IP
address configuration on the controller by using the ap syslog host Syslog_Server_IP_Address
command. In this case, the controller pushes the new global syslog server IP address to the access point.
• The access point is still connected to the same controller, and you configured a specific syslog server IP
address for the access point on the controller by using the ap name Cisco_AP syslog host
Syslog_Host_IP_Address command. In this case, the controller pushes the new specific syslog server IP
address to the access point.
• The access point gets disconnected from the controller, and you configured the syslog server IP address
from the access point CLI by using the capwap ap log-server syslog_server_IP_address command.
This command works only if the access point is not connected to any controller.
• The access point gets disconnected from the controller and joins another controller. In this case, the new
controller pushes its global syslog server IP address to the access point.
Whenever a new syslog server IP address overrides the existing syslog server IP address, the old address is
erased from persistent storage, and the new address is stored in its place. The access point also starts sending
all syslog messages to the new IP address, if the access point can reach the syslog server IP address.
DETAILED STEPS
Step 2 show ap name Cisco_AP config general Displays the syslog server settings for a specific access
point.
Example:
Controller# show ap name AP03 config general
Note The procedure to perform this task using the controller GUI is not currently available.
SUMMARY STEPS
1. enable
2. show ap join stats summary
3. show ap mac-address mac_address join stats summary
4. show ap mac-address mac_address join stats detailed
5. clear ap join statistics
DETAILED STEPS
Step 2 show ap join stats summary Displays the MAC addresses of all the access points that
are joined to the controller or that have tried to join.
Example:
Controller# show ap join stats summary
Step 3 show ap mac-address mac_address join stats Displays all the statistics for the AP including the last join
summary error detail.
Example:
Controller# show ap mac-address
000.2000.0400 join stats summary
Step 4 show ap mac-address mac_address join stats Displays all join-related statistics collected for a specific
detailed access point.
Example:
Controller# show ap mac-address
000.2000.0400 join stats detailed
Step 5 clear ap join statistics Clears the join statistics for all access points.
Example: Note To clear the join statistics that correspond to
Controller# clear ap join statistics specific access points, enter the clear ap
mac-address mac_address join statistics
command.
Related Topics
Displaying the MAC Addresses of all Access Points: Example, on page 6
DHCP Option 43 for Lightweight Cisco Aironet Access Points Configuration Example, on page 7
This example shows how to display the last join error details for a specific access point:
Controller# show ap mac-address 000.2000.0400 join stats summary
Is the AP currently connected to controller................ Yes
Time at which the AP joined this
controller last time................................. Aug 21 12:50:36.061
Type of error
that occurred last.................. AP got or has been disconnected
Reason for error
that occurred last........... The AP has been reset by the controller
Time at which the last join error occurred......... Aug 21 12:50:34.374
This example shows how to display all join-related statistics collected for a specific access point:
Controller# show ap mac-address 000.2000.0400 join stats detailed
Discovery phase statistics
- Discovery requests received........................ 2
- Successful discovery responses sent................ 2
- Unsuccessful discovery request processing.......... 0
- Reason for last unsuccessful discovery attempt..... Not applicable
- Time at last successful discovery attempt.......... Aug 21 12:50:23.335
- Time at last unsuccessful discovery attempt........ Not applicable