分类: 系统运维
2011-07-20 11:25:43
POE Ethernet configuration on switchport is in VLAN 1 (the default) and VLAN 1 on that switch has a DCHP server configured. You’ll plug the AP in to this switchport and attach a console cable to the AP.
The AP comes with a default config, which we won’t use at all. We’ll first reset the AP to clear the config. To do this, you’ll hold down the reset button and plug the AP in to a POE port. Continue holding the reset button for 15 seconds to reset the AP.
You’ll get the following prompt when the AP starts up:
ap>
You can then enter the “en” command to enter enable mode. The default password is “Cisco.” From within enable mode, you can use the “dir flash:” command to list the files in flash. You’ll want to remove all of these. The IOS file may actually be a directory. Mine’s called “c1130-k9w7-mx.124-10b.JA.” To remove this, enter the following command:
delete /recursive flash:/c1130-k9w7-mx.124-10b.JA
You’ll have to press Enter quite a few times after that as it goes through and removes all of the files. Remove the rest of the files in flash and then restart the AP by issuing the “reload” command.
When the system comes up you will be in a raw command mode where you should enter the following commands:
ap: flash_init
ap: ether_init
ap: IP_ADDR=10.255.1.30
ap: NETMASK=255.255.255.0
ap: DEFAULT_ROUTER=10.255.1.
ap: tftp_init
ap: tar -xtract tftp://10.1.1.50/c1130-rcvk9w8-tar.124-10b.JA3.tar flash:
You will have to adjust the IP addresses and filename of the lightweight IOS file you downloaded from Cisco’s site in your command, but this was my network addressing scheme and the latest LWAP firmware for the 1131 at the time of this document.
When the files are done extracting (shouldn’t take too long), you need to issue the command:
ap: BOOT=flash:/c1130-rcvk9w8-mx/c1130-rcvk9w8-mx
This will change in your configuration, and is the path to the LWAP firmware that gets untar’ed on your AP. You can manually extract the TAR file on a PC to determine this path.
After that command, you can power cycle the AP and it should come back up, find your wireless LAN controller, and udpate itself. If it doesn’t, you should check your IP addressing scheme and make sure everything is correct. This same procedure can also be used to revert an LWAP 1131 AP to standalone AP mode.