Thursday, 27 October 2016

Rommon Mode conversion in Cisco AP from CAP to SAP.


This solution is for loading IOS in to AP in case of resetting device or converting CAP to SAP in Rommon Mode:



1. Start the Access Point by First pressing the mode button beside the console port and then plugging in the power… 


(OR)

- Open the CLI using a Telnet session or a connection to the access point console port.

- Reboot the access point by removing power and reapplying power.
- Let the access point boot until it begins to inflate the image. When you see these lines on the CLI, press Esc:
Loading "flash:/c1140-k9w7-tar.124-21a.JY.tar" 
...########################################################################### 
################################################################################ 
################################################################################ 
####################
2. When the ap: command prompt appears, enter the set command to assign   an IP address, subnet mask, and default gateway to the access point.

- Clear the flash inatially, to do that..

ap: format flash:
Note - You must use upper-case characters when you enter the IP-ADDR, NETMASK, and DEFAULT_ROUTER options with the set command.
Your entries might look like this example:
ap: set IP_ADDR 192.168.100.100
ap: set NETMASK 255.255.255.0
ap: set DEFAULT_ROUTER 192.168.100.1

3. Enter the tftp_init command to prepare the access point for TFTP.
ap: tftp_init
ap: ether_init
ap: flash_init

4. Enter the tar command to load and inflate the new image from your TFTP server. The command must include this information:
•the -xtract option, which inflates the image when it is loaded
•the IP address of your TFTP server
•the directory on the TFTP server that contains the image
•the name of the image
•the destination for the image (the access point Flash)
Your entry might look like this example:
5. Enter the set BOOT command to designate the new image as the image   that the access point uses when it reboots. The access point creates a   directory for the image that has the same name as the image, and you   must include the directory in the command. Your entry might look like this 
Example:
ap: set BOOT flash:/c1140-k9w7-tar.124-21a.JY.tar
OR
ap: set BOOT flash:/ c1140-k9w7-tar.124-21a.JY

6. Enter the set command to check your bootloader entries.
ap: set
BOOT=flash:/c1140-k9w7-tar.124-21a.JY
DEFAULT_ROUTER=192.168.100.1
IP_ADDR=192.168.100.100
NETMASK=255.255.255.0

7. Enter the boot command to reboot the access point. When the access point reboots, it loads the new image.
ap: boot

No comments:

Post a Comment