<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: AP Discovery Process in Wireless</title>
    <link>https://community.cisco.com/t5/wireless/ap-discovery-process/m-p/4856025#M257171</link>
    <description>&lt;P&gt;Interesting references....but I'm just purely interested in the Discovery process, not that much in Join process.&lt;/P&gt;&lt;P&gt;As of my knowledge the AP should only be able to discover a single WLC via DNS discovery process, which is being showed in below log:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;*05/16/2023 12:42:46.0820] IP DNS query for CISCO-CAPWAP-CONTROLLER.mydomain.net
[*05/16/2023 12:42:46.2240] DNS resolved CISCO-CAPWAP-CONTROLLER.mydomain.net
[*05/16/2023 12:42:46.2240] DNS discover IP addr: IP-of-PrimaryWLC&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But then somehow the AP sent a discovery request to IP of other WLC:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[*05/16/2023 12:42:46.2260] Discovery Request sent to IP-of-SecondaryWLC, discovery type STATIC_CONFIG(1)
[*05/16/2023 12:42:46.2270] Discovery Request sent to IP-of-TestWLC, discovery type STATIC_CONFIG(1)
[*05/16/2023 12:42:46.2310] Discovery Request sent to IP-of-PrimaryWLC, discovery type STATIC_CONFIG(1)
[*05/16/2023 12:42:46.2320] Discovery Request sent to 255.255.255.255, discovery type UNKNOWN(0)&lt;/LI-CODE&gt;&lt;P&gt;It is saying "STATIC_CONFIG", but my colleague is promising me, he hasn't configured anything on the AP....just took it out of the box and connect to a network.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;So the question is, how the AP knew the IP address of the Secondary WLC and Test WLC?&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Jun 2023 07:36:13 GMT</pubDate>
    <dc:creator>PiotrBurczyk80035</dc:creator>
    <dc:date>2023-06-16T07:36:13Z</dc:date>
    <item>
      <title>AP Discovery Process</title>
      <link>https://community.cisco.com/t5/wireless/ap-discovery-process/m-p/4856011#M257167</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a AP discovery case, which boggles my mind, as I wasn't able to find any explanation of it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have a Infra with 2 SSO pairs of 9800 WLC's serving APs from multiple sites.&lt;/P&gt;&lt;P&gt;Next to that, I have a test WLC.&lt;/P&gt;&lt;P&gt;There's a mobility configured between those 3 WLC's (2xProd SSO pairs and Test WLC).&lt;/P&gt;&lt;P&gt;We're also having those 3 WLC's&amp;nbsp; added to DNA-C for Assurance and Automation (Non-Fabric).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By default, we're placing APs in AP-mgmt VLAN with DHCP and option43 configured, so APs are finding a way to their &lt;EM&gt;'mama'&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;On top of that, we've configured DNS records in our local domain to point&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;CISCO-CAPWAP-CONTROLLER.localdomain &lt;/EM&gt;&lt;/STRONG&gt;to one of our central WLC's.&lt;/P&gt;&lt;P&gt;All WLC's are in Data Centers, far away from APs, so no L2/L3 discovery applies.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One of my colleague have connected brand new AP to a random VLAN with DHCP, but not configured with option43.&lt;/P&gt;&lt;P&gt;I'd expect AP to discover only the the Primary WLC, which IP is being resolved by DNS record&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;CISCO-CAPWAP-CONTROLLER.localdomain.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;That happened, but right after that, the AP send a discover request over to the&amp;nbsp;2 other WLC's (Secondary Prod WLC and Test WLC). And it also decided to join one of the 2 other WLC's.&lt;/P&gt;&lt;P&gt;This is console log:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[*05/16/2023 12:42:34.0400] Discarding msg CAPWAP_WTP_EVENT_REQUEST(type 9) in CAPWAP state: Noop(0).
[*05/16/2023 12:42:34.2680] AP IPv4 Address updated from 0.0.0.0 to 10.0.24.15
[*05/16/2023 12:42:46.0770] dtls_init: Use SUDI certificate
[*05/16/2023 12:42:46.0800]
[*05/16/2023 12:42:46.0800] CAPWAP State: Init
[*05/16/2023 12:42:46.0810]
[*05/16/2023 12:42:46.0810] CAPWAP State: Discovery
[*05/16/2023 12:42:46.0820] IP DNS query for CISCO-CAPWAP-CONTROLLER.mydomain.net
[*05/16/2023 12:42:46.2240] DNS resolved CISCO-CAPWAP-CONTROLLER.mydomain.net
[*05/16/2023 12:42:46.2240] DNS discover IP addr: IP-of-PrimaryWLC
[*05/16/2023 12:42:46.2260] Discovery Request sent to IP-of-SecondaryWLC, discovery type STATIC_CONFIG(1)
[*05/16/2023 12:42:46.2270] Discovery Request sent to IP-of-TestWLC, discovery type STATIC_CONFIG(1)
[*05/16/2023 12:42:46.2310] Discovery Request sent to IP-of-PrimaryWLC, discovery type STATIC_CONFIG(1)
[*05/16/2023 12:42:46.2320] Discovery Request sent to 255.255.255.255, discovery type UNKNOWN(0)
[*05/16/2023 12:42:46.2330]
[*05/16/2023 12:42:46.2330] CAPWAP State: Discovery
[*05/16/2023 12:42:46.3540] Start: RPC thread 2752856960 created.
[*05/16/2023 12:42:46.3540] Discovery Response from IP-of-SecondaryWLC
[*05/16/2023 12:42:46.3810] Discovery Response from IP-of-PrimaryWLC
[*05/16/2023 12:42:46.3810] Discovery Response from IP-of-TestWLC
[*06/15/2023 10:41:25.0000]
[*06/15/2023 10:41:25.0000] CAPWAP State: DTLS Setup
[*06/15/2023 10:41:25.7360] First connect to vWLC, accept vWLC by default
[*06/15/2023 10:41:25.7360]
[*06/15/2023 10:41:25.7530]
[*06/15/2023 10:41:25.7530] CAPWAP State: Join
[*06/15/2023 10:41:25.7560] Sending Join request to IP-of-SecondaryWLC through port 5249
[*06/15/2023 10:41:30.5090] Sending Join request to IP-of-SecondaryWLC through port 5249
[*06/15/2023 10:41:35.2640] Sending Join request to IP-of-SecondaryWLC through port 5249
[*06/15/2023 10:41:35.3840] Join Response from IP-of-SecondaryWLC
[*06/15/2023 10:41:35.3850] AC accepted join request with result code: 0
[*06/15/2023 10:41:35.3970] Received wlcType 0, timer 30&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My best guess would be, that it was a Primary WLC, that gave the AP the addresses of other 2 WLCs to discover.&lt;/P&gt;&lt;P&gt;But I couldn't find any document describing this and which option on WLC could influence this.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2023 07:13:27 GMT</pubDate>
      <guid>https://community.cisco.com/t5/wireless/ap-discovery-process/m-p/4856011#M257167</guid>
      <dc:creator>PiotrBurczyk80035</dc:creator>
      <dc:date>2023-06-16T07:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: AP Discovery Process</title>
      <link>https://community.cisco.com/t5/wireless/ap-discovery-process/m-p/4856015#M257168</link>
      <description>&lt;P&gt;There are hidden elements in IOS-XE which will affect the "decision":&amp;nbsp; Load and uptime.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the Primary WLC has a low uptime, APs will go to it.&amp;nbsp; Once the Primary WLC has a high uptime of &amp;gt;30 days, it is a free-for-all.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My recommendation is to configure only one controller in the DHCP Option 43.&lt;/P&gt;
&lt;P&gt;Alternatively, configure the Test WLC as the first option and the Secondary WLC as the secondary option.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2023 07:23:48 GMT</pubDate>
      <guid>https://community.cisco.com/t5/wireless/ap-discovery-process/m-p/4856015#M257168</guid>
      <dc:creator>Leo Laohoo</dc:creator>
      <dc:date>2023-06-16T07:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: AP Discovery Process</title>
      <link>https://community.cisco.com/t5/wireless/ap-discovery-process/m-p/4856017#M257169</link>
      <description>Here's a link to an old article I found helpful recently. &lt;A href="https://www.cisco.com/c/en/us/support/docs/wireless/5500-series-wireless-controllers/119286-lap-notjoin-wlc-tshoot.html#anc5" target="_blank"&gt;https://www.cisco.com/c/en/us/support/docs/wireless/5500-series-wireless-controllers/119286-lap-notjoin-wlc-tshoot.html#anc5&lt;/A&gt;&lt;BR /&gt;I also noticed that if the controllers are on different versions, the AP tends to prefer the WLC that is running the same version it has.&lt;BR /&gt;Also, in mobility groups, if one WLC is set as master, I noticed no matter what option 43 says, that controller might be preferred.&lt;BR /&gt;I hope this helps!&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Jun 2023 07:23:52 GMT</pubDate>
      <guid>https://community.cisco.com/t5/wireless/ap-discovery-process/m-p/4856017#M257169</guid>
      <dc:creator>docjb0221</dc:creator>
      <dc:date>2023-06-16T07:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: AP Discovery Process</title>
      <link>https://community.cisco.com/t5/wireless/ap-discovery-process/m-p/4856025#M257171</link>
      <description>&lt;P&gt;Interesting references....but I'm just purely interested in the Discovery process, not that much in Join process.&lt;/P&gt;&lt;P&gt;As of my knowledge the AP should only be able to discover a single WLC via DNS discovery process, which is being showed in below log:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;*05/16/2023 12:42:46.0820] IP DNS query for CISCO-CAPWAP-CONTROLLER.mydomain.net
[*05/16/2023 12:42:46.2240] DNS resolved CISCO-CAPWAP-CONTROLLER.mydomain.net
[*05/16/2023 12:42:46.2240] DNS discover IP addr: IP-of-PrimaryWLC&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But then somehow the AP sent a discovery request to IP of other WLC:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[*05/16/2023 12:42:46.2260] Discovery Request sent to IP-of-SecondaryWLC, discovery type STATIC_CONFIG(1)
[*05/16/2023 12:42:46.2270] Discovery Request sent to IP-of-TestWLC, discovery type STATIC_CONFIG(1)
[*05/16/2023 12:42:46.2310] Discovery Request sent to IP-of-PrimaryWLC, discovery type STATIC_CONFIG(1)
[*05/16/2023 12:42:46.2320] Discovery Request sent to 255.255.255.255, discovery type UNKNOWN(0)&lt;/LI-CODE&gt;&lt;P&gt;It is saying "STATIC_CONFIG", but my colleague is promising me, he hasn't configured anything on the AP....just took it out of the box and connect to a network.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;So the question is, how the AP knew the IP address of the Secondary WLC and Test WLC?&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2023 07:36:13 GMT</pubDate>
      <guid>https://community.cisco.com/t5/wireless/ap-discovery-process/m-p/4856025#M257171</guid>
      <dc:creator>PiotrBurczyk80035</dc:creator>
      <dc:date>2023-06-16T07:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: AP Discovery Process</title>
      <link>https://community.cisco.com/t5/wireless/ap-discovery-process/m-p/4856029#M257172</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/991193"&gt;@PiotrBurczyk80035&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;STRONG style="font-family: inherit; font-size: 16px;"&gt;So the question is, how the AP knew the IP address of the Secondary WLC and Test WLC?&lt;/STRONG&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;OL&gt;
&lt;LI&gt;I am going to presume the AP does not know anything about the "presence" of the Secondary &amp;amp; Test WLC.&lt;/LI&gt;
&lt;LI&gt;Let's say that the controller has an uptime of &amp;gt;180 days.&amp;nbsp;&amp;nbsp;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;The AP sends out a broadcast and the AP is handed the information about the Primary WLC via DHCP Option 43.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In an ideal world, the AP will send a Join request to the WLC and the controller will respond.&amp;nbsp; And they lived happily ever after.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, realistically speaking, it will depend on how "fast" the WLC will respond to the Join request.&amp;nbsp; A WLC with an uptime of &amp;gt;60 will already start to "lag" in sending out the Join Response in a timely manner.&amp;nbsp; By the time the controller finally gets the chance to do so, the AP would receive the Join Response(s) from the other two "unknown" controllers.&lt;/P&gt;
&lt;P&gt;What I have described are what I have seen in AireOS and IOS-XE.&amp;nbsp; This is why we only have one controller configured for DHCP Option 43.&amp;nbsp; And we have done the following:&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Our first foray into wireless, we had DHCP Option 43 is a "landing" controller (AireOS0.&amp;nbsp; It is specifically for our auto-provisioning.&amp;nbsp; Once the APs were provisioned with the correct name, location and AP Group, the APs were manually "thrown" to their correct controllers.&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Later on, we removed our landing controller and, still, configured only one controller.&amp;nbsp; Again, once the APs were configured correctly, they were thrown to their correct controller or they stayed.&amp;nbsp;&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Fri, 16 Jun 2023 07:49:57 GMT</pubDate>
      <guid>https://community.cisco.com/t5/wireless/ap-discovery-process/m-p/4856029#M257172</guid>
      <dc:creator>Leo Laohoo</dc:creator>
      <dc:date>2023-06-16T07:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: AP Discovery Process</title>
      <link>https://community.cisco.com/t5/wireless/ap-discovery-process/m-p/4856033#M257173</link>
      <description>&lt;P&gt;The AP and WLC's are in different corners of the world.&lt;/P&gt;&lt;P&gt;There's no way for AP "broadcasts" to reach WLC's.&lt;/P&gt;&lt;P&gt;Option43 not configiured in this case. AP is not "hardcoded" with any Controller IPs.&lt;/P&gt;&lt;P&gt;So the only option to discover WLC's, In my understanding, is DNS discovery.&lt;/P&gt;&lt;P&gt;But DNS record is pointing to only Primary&amp;nbsp;WLC.&lt;/P&gt;&lt;P&gt;So, again - How does the AP found IP addresses of two other WLCs?&lt;/P&gt;&lt;P&gt;Could it be, that those WLC's are in the same Mobility Group, hence Primary WLC (or DNA-C) provided the IPs of the 2 other WLCs?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I may need to start some packet capture to figure this out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2023 07:55:04 GMT</pubDate>
      <guid>https://community.cisco.com/t5/wireless/ap-discovery-process/m-p/4856033#M257173</guid>
      <dc:creator>PiotrBurczyk80035</dc:creator>
      <dc:date>2023-06-16T07:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: AP Discovery Process</title>
      <link>https://community.cisco.com/t5/wireless/ap-discovery-process/m-p/4856040#M257175</link>
      <description>&lt;P&gt;That also happen to me where some brand new APs are joining to a WLC which is not in DHCP Option 43, nor in the same broadcast domain or DNS option.&lt;/P&gt;
&lt;P&gt;That is correct, AP is informed about the WLCs in the same mobility group.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2023 08:06:14 GMT</pubDate>
      <guid>https://community.cisco.com/t5/wireless/ap-discovery-process/m-p/4856040#M257175</guid>
      <dc:creator>JPavonM</dc:creator>
      <dc:date>2023-06-16T08:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: AP Discovery Process</title>
      <link>https://community.cisco.com/t5/wireless/ap-discovery-process/m-p/4856303#M257194</link>
      <description>&lt;P&gt;&lt;A href="https://datatracker.ietf.org/doc/html/rfc5415#page-42" target="_blank" rel="noopener"&gt;https://datatracker.ietf.org/doc/html/rfc5415#page-42&lt;/A&gt;&lt;/P&gt;
&lt;PRE class="newpage"&gt;   An AC MAY also communicate alternative ACs to the WTP within the
   Discovery Response message through the AC IPv4 List (see
   &lt;A href="https://datatracker.ietf.org/doc/html/rfc5415#section-4.6.2" target="_blank" rel="noopener"&gt;Section 4.6.2&lt;/A&gt;) and AC IPv6 List (see &lt;A href="https://datatracker.ietf.org/doc/html/rfc5415#section-4.6.2" target="_blank" rel="noopener"&gt;Section 4.6.2&lt;/A&gt;).  The addresses
   provided in these two message elements are intended to help the WTP
   discover additional ACs through means other than those listed above.&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;Also once it has joined:&lt;BR /&gt;&lt;A href="https://datatracker.ietf.org/doc/html/rfc5415#page-115" target="_blank" rel="noopener"&gt;https://datatracker.ietf.org/doc/html/rfc5415#page-115&lt;/A&gt;&lt;/P&gt;
&lt;PRE class="newpage"&gt;   One or both of the following message elements MUST be included in the
   Configuration Status Response message:

   o  AC IPv4 List, see &lt;A href="https://datatracker.ietf.org/doc/html/rfc5415#section-4.6.2" target="_blank" rel="noopener"&gt;Section 4.6.2&lt;/A&gt;

   o  AC IPv6 List, see &lt;A href="https://datatracker.ietf.org/doc/html/rfc5415#section-4.6.3" target="_blank" rel="noopener"&gt;Section 4.6.3&lt;/A&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;The APs also keep a list of every WLC they've discovered before, so even when you change the option 43/DNS/WLC, you still see them sending discovers to previous WLCs.&amp;nbsp; That only gets cleared when you factory default reset the AP.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2023 14:04:34 GMT</pubDate>
      <guid>https://community.cisco.com/t5/wireless/ap-discovery-process/m-p/4856303#M257194</guid>
      <dc:creator>Rich R</dc:creator>
      <dc:date>2023-06-16T14:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: AP Discovery Process</title>
      <link>https://community.cisco.com/t5/wireless/ap-discovery-process/m-p/4856323#M257196</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;We know that the AP tries to find as much as WLC possible. But, in your case, it seems the AP were not able to, by itself, discovery the others WLC, right?&amp;nbsp; Probably the information about the others two WLC came from the first one discovered as they are in a mobility group (Which one is the group leader by the way?) .&amp;nbsp; And, with 3 option,&amp;nbsp; the decision to join another one, probably was a result of a tie break (more license, higher IP address, etc).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Trying to find a doc saying the WLC announce peer groups on the discovery response.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2023 14:27:42 GMT</pubDate>
      <guid>https://community.cisco.com/t5/wireless/ap-discovery-process/m-p/4856323#M257196</guid>
      <dc:creator>Flavio Miranda</dc:creator>
      <dc:date>2023-06-16T14:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: AP Discovery Process</title>
      <link>https://community.cisco.com/t5/wireless/ap-discovery-process/m-p/4856502#M257214</link>
      <description>&lt;P&gt;It is normal Cisco WLC let AP knows all other WLCs in the mobility list.&lt;/P&gt;
&lt;P&gt;HTH&lt;BR /&gt;Rasika&lt;BR /&gt;*** Pls rate all useful responses ***&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2023 21:22:58 GMT</pubDate>
      <guid>https://community.cisco.com/t5/wireless/ap-discovery-process/m-p/4856502#M257214</guid>
      <dc:creator>Rasika Nayanajith</dc:creator>
      <dc:date>2023-06-16T21:22:58Z</dc:date>
    </item>
  </channel>
</rss>

