cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3858
Views
0
Helpful
1
Replies

(CAPWAP AP) Can I set IP Adress, Controller Address , ... via command line

recep.sefer
Level 1
Level 1

I dont have DHCP server

I wan to configure CAPWAP AP manually?

how?

1 Reply 1

tfraij
Cisco Employee
Cisco Employee

Hello,

yes you can.

1) issue command

debug lwapp console cli

2) clear lwapp private-config.

then use commands

lwapp ap ip address ip-addr subnet-mask

lwapp ap controller ip address ip-addr

lwapp ap hostname ap-hostname

lwapp ap ip default-gateway ip-addr

- if it gives you command disabled , please try the following:

show contents of flash

------------------------------------

show flash:

Directory of flash:/

     2  -rwx         201   Mar 1 2002 00:01:37 +00:00  env_vars

     3  -rwx       40521  Oct 23 2008 19:37:05 +00:00  event.log

    15  drwx         128   Mar 1 2002 00:03:08 +00:00  c1250-rcvk9w8-mx

     6  drwx         512   Nov 7 2008 20:36:53 +00:00

c1250-k9w7-mx.124-10b.JA

     4  -rwx        5144   Nov 5 2008 23:59:47 +00:00

private-multiple-fs

     4  -rwx        5144   Nov 5 2008 23:59:47 +00:00  private-config

we want to delete any image downloaded from the WLC and any files

starting with "private"

-----------------------------------------

delete /force /recursive flash:/c1250-k9w7-mx.124-10b.JA

delete /force flash:/private-config

delete /force flash:/private-multiple-fs

delete /force flash:/event.log

The only files left should be environment variables, and LWAPP recovery

image

------------------------------------------

show flash:

  2  -rwx         201   Mar 1 2002 00:01:37 +00:00  env_vars

  15  drwx         128   Mar 1 2002 00:03:08 +00:00  c1250-rcvk9w8-mx

Delete contents in nvram:

------------------------------------------

wr erase

Reboot AP and do not save configuration

------------------------------------------

reload

then use the previously mentioned commands.

Kind regards

Talal

===========

please rate answers that you find useful , and mark as answered - when it is :-) - so others can find it easily

Review Cisco Networking for a $25 gift card