Configuring The Switch For Access Point Discovery
Configuring The Switch For Access Point Discovery
Configuring The Switch For Access Point Discovery
Discovery
• Finding Feature Information, page 1
• Prerequisites for Configuring the Switch for Access Point Discovery, page 1
• Restrictions for Configuring the Switch for Access Point Discovery, page 2
• Information About Configuring the Switch for Access Point Discovery, page 2
• How to Configure Access Point Discovery, page 4
• Configuration Examples for Configuring the Switch for Access Point Discovery, page 6
• Configuring AP Pass Through, page 7
Software Configuration Guide, Cisco IOS XE Denali 16.1.x (Catalyst 3850 Switches)
1
Configuring the Switch for Access Point Discovery
Restrictions for Configuring the Switch for Access Point Discovery
• 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 switch.
• Access points must be discovered by a switch before they can become an active part of the network.
The lightweight access points support the following switch 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 switch IP address discovery—If the access point was previously associated to a
switch, the IP addresses of the primary, secondary, and tertiary switchs are stored in the access
point’s nonvolatile memory. This process of storing switch 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 switch 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 switchs through your domain name server (DNS).
You must configure your DNS to return switch 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 switch IP addresses, the access point sends discovery requests to the switchs.
Software Configuration Guide, Cisco IOS XE Denali 16.1.x (Catalyst 3850 Switches)
2
Configuring the Switch for Access Point Discovery
Access Point Communication Protocols
Software Configuration Guide, Cisco IOS XE Denali 16.1.x (Catalyst 3850 Switches)
3
Configuring the Switch for Access Point Discovery
How to Configure Access Point Discovery
• The access point is still connected to the same switch, and you changed the global syslog server IP
address configuration on the switch by using the ap syslog host Syslog_Server_IP_Address command.
In this case, the switch pushes the new global syslog server IP address to the access point.
• The access point is still connected to the same switch, and you configured a specific syslog server IP
address for the access point on the switch by using the ap name Cisco_AP syslog host
Syslog_Host_IP_Address command. In this case, the switch pushes the new specific syslog server IP
address to the access point.
• The access point gets disconnected from the switch, 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 switch.
• The access point gets disconnected from the switch and joins another switch. In this case, the new switch
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.
Step 1 Choose Configuration > Wireless > Access Points > All APs.
The All APs page is displayed showing a list of access points that are associated with the switch and their current settings.
Step 3 Enter a keyword in the corresponding text boxes to specify the filter criteria based on which you want to search, and
click the Filter icon.
Software Configuration Guide, Cisco IOS XE Denali 16.1.x (Catalyst 3850 Switches)
4
Configuring the Switch for Access Point Discovery
Monitoring Access Point Join Information (CLI)
DETAILED STEPS
Step 2 show ap name Cisco_AP config general Displays the syslog server settings for a specific access
point.
Example:
Switch# show ap name AP03 config general
Note The procedure to perform this task using the switch 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
Example:
Switch# enable
Step 2 show ap join stats summary Displays the MAC addresses of all the access points that are
joined to the switch or that have tried to join.
Example:
Switch# show ap join stats summary
Software Configuration Guide, Cisco IOS XE Denali 16.1.x (Catalyst 3850 Switches)
5
Configuring the Switch for Access Point Discovery
Configuration Examples for Configuring the Switch for Access Point Discovery
Example:
Switch# show ap mac-address
000.2000.0400 join stats summary
Step 4 show ap mac-address mac_address join stats detailed Displays all join-related statistics collected for a specific
access point.
Example:
Switch# show ap mac-address
000.2000.0400 join stats detailed
Step 5 clear ap join statistics Clears the join statistics for all access points.
Note To clear the join statistics that correspond to specific
Example: access points, enter the clear ap mac-address
Switch# clear ap join statistics 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
Software Configuration Guide, Cisco IOS XE Denali 16.1.x (Catalyst 3850 Switches)
6
Configuring the Switch for Access Point Discovery
DHCP Option 43 for Lightweight Cisco Aironet Access Points Configuration Example
This example shows how to display all join-related statistics collected for a specific access point:
Switch# 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
Software Configuration Guide, Cisco IOS XE Denali 16.1.x (Catalyst 3850 Switches)
7
Configuring the Switch for Access Point Discovery
Configuring AP Pass Through
through allows the connected AP to join another wireless controller on the network by assigning different
vlan.
The advantages of AP pass through are:
• Allows partial deployment of Cisco New Generation Wireless Controllers where some APs are connected
to Cisco Catalyst 3850 Series Switches and Cisco Catalyst 3650 Series Switches but other APs continue
to join other controllers on the network.
• The APs that are not supported on the Cisco Catalyst 3850 Series Switches and Cisco Catalyst 3650
Series Switches are allowed to join other controllers on the network.
• The wireless LAN controller is used to provide access to both wired and wireless guests. AP Pass through
allows the AP to pass through Cisco Catalyst 3850 Series Switches and Cisco Catalyst 3650 Series
Switches to join any other controller when wired guest accessing is turned on.
DETAILED STEPS
Example:
Switch# configure terminal
Step 2 wireless management interface vlan vlan_id Configures the ports that are connected to the supported
access points with the wireless management VLAN
Example:
Switch(config)# wireless management interface
vlan10
Step 4 description Supported AP switchport access vlan_id Specifies the VLAN for which this access port will carry
traffic
Example:
Switch(config-if)# switchport access vlan10
Step 5 description Unsupported AP switchport access vlan_id Configures the ports that are connected to the unsupported
access points with a vlan other than the wireless
Example: management VLAN.
Switch(config-if)# switchport access vlan20
Software Configuration Guide, Cisco IOS XE Denali 16.1.x (Catalyst 3850 Switches)
8