Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Ap 1142 error hostname configuration

Hi i´m configuring a brandnew cisco Ap with this caracteristics:

LWAPP image version 7.4.1.37

c1140-rcvk9w8-mx/c1140-rcvk9w8-mx

Software (C1140-RCVK9W8-M), Version 15.2(2)JB2, RELEASE SOFTWARE (fc1)

cisco AIR-LAP1142N-A-K9

It´s giving me the next error when i try to put the hostname "error command is disable".

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

APc067.afca.477a#lwapp ap hostname HELLO

ERROR!!! Command is disabled.

APc067.afca.477a#

+++++++++++++++++++++++++++++++++++++++++++++++++++++++

APc067.afca.477a#sh capwap ip config

LWAPP Static IP Configuration

IP Address         10.160.254.172

IP netmask         255.255.255.0

Default Gateway    10.160.254.254

Primary Controller 10.160.254.242

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

APc067.afca.477a#dir

Directory of flash:/

    2  drwx           0   Mar 1 1993 00:10:04 +00:00  configs

    3  -rwx         396   Mar 1 1993 00:07:15 +00:00  env_vars

    4  -rwx           0   Mar 1 1993 00:07:15 +00:00  config.txt

    5  -rwx        6168   Mar 1 1993 00:07:15 +00:00  private-multiple-fs

    6  -rwx       34537   Mar 1 1993 00:07:17 +00:00  event.log

    7  drwx         128  Sep 15 2013 11:12:29 +00:00  c1140-rcvk9w8-mx

32126976 bytes total (25406976 bytes free)

APc067.afca.477a#

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

5 REPLIES
Hall of Fame Super Silver

Re: Ap 1142 error hostname configuration

Typically you see this when the AP has joined a WLC.  So you can either just let it join and make the changes from the WLC or you have to erase the nvram of the AP

Entered the username and password

debug capwap console cli
or

debug lwapp console cli

erase /all nvram:

[confirm]

undebug all

reload

[confirm]

You can try these commands and see if it works also:

clear capwap private-config

or

clear lwapp private-config

Thanks,

Scott

Help out other by using the rating system and marking answered questions as "Answered"

-Scott
*** Please rate helpful posts ***
VIP Purple

Ap 1142 error hostname configuration

HI fRANKLIN,

Here is why the command may be locked;

***The LAP was previously registered to a WLC, but the username/password was not changed from the default

Once your LAP successfully registers with the WLC, the static LWAPP configuration commands (discussed in the previous section) are locked out and are no longer accessible. In order to re-enable the commands, you must have set the username and password while the LAP was joined to the previous controller.

When the LAP is registered to a controller, use this controller CLI command to set the AP's username and password:

config ap username password

From this doc;

http://www.cisco.com/en/US/products/hw/wireless/ps430/products_tech_note09186a00808e2d27.shtml

Hope this helps!

VIP Purple

Ap 1142 error hostname configuration

VIP Purple

Re: Ap 1142 error hostname configuration

Hi

You should issue the hostname command after issueing "debug capwap console cli" command as shown below.

LAP2#capwap ap hostname HELLO

ERROR!!! Command is disabled.

LAP2#debug capwap console cli

This command is meant only for debugging/troubleshooting

Any configuration change may result in different

behavior from centralized configuration.

CAPWAP console CLI allow/disallow debugging is on

LAP2#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

LAP2(config)#hostname HELLO

HELLO(config)#

HELLO#wr

Building configuration...

[OK]

NVRAM Verification Failed

HELLO#reload

Proceed with reload? [confirm]

Writing out the event log to nvram.

*Jan 16 21:16:17.232: %DHCP-6-ADDRESS_ASSIGN: Interface GigabitEthernet0 assigned DHCP address 192.168.21.54, mask 255.255.255.0, hostname LAP2


This change won't last after a reload & will go back to previous name unless you set this throug WLC.

HTH

Rasika

**** Pls rate all useful responses ****

Ap 1142 error hostname configuration

In order to issue the static configuration commands on a LAP, youll  need to be running the CAPWAP Recovery Image on the AP.  In order to  accomplish this, well need to remove the full image already installed:


debug capwap con cli

delete /force /recursive flash:/c1140-k9w8-mx.124-18a.JA2

You can also free free to remove the configuration files as well:

delete /force flash:private-multiple-fs

delete /force flash:lwapp_reap.cfg

Be  sure to reload the LAP when complete.  Once reloaded, the AP will boot  the c1140-rcvk9w8-mx image, and then will allow for the static  configuration commands:

lwapp ap ip address
lwapp ap controller ip address
lwapp ap hostname
lwapp ap ip default-gateway

251
Views
0
Helpful
5
Replies