cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
12323
Views
31
Helpful
11
Replies

9800 WLC - CLI command for AP Primary controller assignment?

brettlarkins
Level 1
Level 1

Been working more and more with the 9800 WLC's recently and starting to get more comfortable with them...

 

Does anyone know what the equivalent CLI command is in the 9800 WLC for "config ap primary-base WLC03 Cisco_AP_1 192.168.142.12"  That was used in the Aireos WLC to assign a primary and secondary WLC to AP's?

 

 

1 Accepted Solution

Accepted Solutions

Here it is

 

c9800#ap name <AP_NAME> controller ?
primary Configure primary controller
secondary Configure secondary controller
tertiary Configure tertiary controller

 

c9800#ap name <AP_NAME> controller primary WLC1 ?
A.B.C.D Primary Controller IPv4 address
X:X:X:X::X Primary Controller IPv6 address
<cr> <cr>

 

HTH

Rasika

*** Pls rate all useful responses ***

View solution in original post

11 Replies 11

Here it is

 

c9800#ap name <AP_NAME> controller ?
primary Configure primary controller
secondary Configure secondary controller
tertiary Configure tertiary controller

 

c9800#ap name <AP_NAME> controller primary WLC1 ?
A.B.C.D Primary Controller IPv4 address
X:X:X:X::X Primary Controller IPv6 address
<cr> <cr>

 

HTH

Rasika

*** Pls rate all useful responses ***

Worked perfectly... Thank you, Rasika!

Hi @brettlarkins @Rasika Nayanajith,

 

Would you expect this also to work if let's say I have a 5508 and 9800 WLC, then I want to revert back to the old controller (5508) joining for this specific AP? I asked this because, I have this setup where I want to test it out using those commands and send it to the AP. First migrate the APs from old controller to the new controller and then what if I want to revert back to the old controller, would I expect this just fine? I'm using static IP addressing for the APs.

Thanks it worked very well

It Is there a way to do it massively by GUI or CLI? in the 9800 wlc

 

 

You have to get AP names and workout CLI command script in .txt file and then apply it in one go.

HTH
Rasika

Hi, is there a CLI command to remove the secondary controller name and IP ? 

thanks!

You can use below CLI command to remove secondary configs
9800-WLC#ap name <AP_NAME> no controller secondary <WLC_NAME> <WLC_MGT_IP>

HTH
Rasika
*** Pls rate all useful responses ***

Bruno Dinis
Level 1
Level 1

Guys, thanks for the help

is there any command to know the current Primary and Secondary Controllers?

I want a show command and not a config command.

Thanks!

 

            >....is there any command to know the current Primary and Secondary Controllers?  
                               9800# show ap name <APname> config general

  M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

Since this is AP specific configuration, you have to issue it for each AP name individually (as Marce1000 responded). However if you have many APs on WLC, you can get filtered output using below.

WLC2#sh ap config general | in AP Name|Primary|Secondary
Cisco AP Name : AP5-C9166
Primary Cisco Controller Name : WLC2
Primary Cisco Controller IP Address : 192.168.130.20
Secondary Cisco Controller Name : WLC1
Secondary Cisco Controller IP Address : 192.168.130.10

HTH
Rasika
*** Pls rate all useful responses ***

Review Cisco Networking for a $25 gift card