Re: specifing a boot on the ASA using the ROMMON

From: Sadiq Yakasai <sadiqtanko_at_gmail.com>
Date: Mon, 4 Feb 2013 16:37:52 +0000

AFAIK, these 'dir' commands dont apply to an ASA. I have just never seen a
command (after actively looking for one for a few weeks/months) that shows
the content of a flash/disk of an ASA (at least I tried the 5585, which
does not have the removable disk/flash so maybe the other ones that do
(5500) might just work with it).

What I would normally do is to boot off TFTP and then do my little biz from
there.

Sadiq

On Mon, Feb 4, 2013 at 4:21 PM, Jay McMickle <jay.mcmickle_at_yahoo.com> wrote:

> I'm traveling so I can't verify-
> But, doesn't dir flash: (colon is required) show the contents? Maybe I'm
> mistaken?
>
> Regards,
> Jay McMickle- CCIE #35355 (RS)
> Sent from my iPhone 5
>
> On Feb 4, 2013, at 10:13 AM, Brandon J Carroll <
> brandon.j.carroll_at_gmail.com> wrote:
>
> I've never been able to view the disk from ROMMON, and unless there is a
> hidden command I still can't:
>
>
> rommon #3>
> rommon #3>
> rommon #3> dir
> Invalid or incorrect command. Use 'help' for help.
> rommon #3> dir disk0:\
> Invalid or incorrect command. Use 'help' for help.
> rommon #3> dir flash
> Invalid or incorrect command. Use 'help' for help.
> rommon #3> dir disk0:
> Invalid or incorrect command. Use 'help' for help.
> rommon #3>
>
> I just don't see anything available nor have I ever done this. These are
> the commands that I have available to me. The show command does not have
> an option for viewing the disk that I can see either.
>
> rommon #3> ?
>
> Variables: Use "sync" to store in NVRAM
> ADDRESS= <addr> local IP address
> CONFIG= <name> config file path/name
> GATEWAY= <addr> gateway IP address
> IMAGE= <name> image file path/name
> LINKTIMEOUT= <num> Link UP timeout (seconds)
> PKTTIMEOUT= <num> packet timeout (seconds)
> PORT= <name> ethernet interface port
> RETRY= <num> Packet Retry Count (Ping/TFTP)
> SERVER= <addr> server IP address
> VLAN= <num> enable/disable DOT1Q tagging on the selected port
>
> Commands:
> ? valid command list
> address <addr> local IP address
> boot <args> boot an image, valid args are:
> - "image file spec" and/or
> - "cfg=<config file spec>"
> clear clear interface statistics
> confreg <value> set hex configuration register
> dev display platform interface devices
> erase <arg> erase storage media
> file <name> application image file path/name
> gateway <addr> gateway IP address
> gdb <cmd> edit image gdb settings
> help valid command list
> history display command history
> interface <name> ethernet interface port
> no <feat> clear feature settings
> ping <addr> send ICMP echo
> reboot halt and reboot system
> reload halt and reboot system
> repeat <arg> repeat previous command, valid arguments:
> - no arg: repeat last command
> - number: index into command history table
> - string: most recent 1st arg match in command history table
> reset halt and reboot system
> server <addr> server IP address
> set display all variable settings
> show <cmd> display cmd-specific information
> sync save variable settings in NVRAM
> tftpdnld TFTP download
> timeout <num> packet timeout (seconds)
> trace toggle packet tracing
> unset <varname> unset a variable name
>
> rommon #4>
>
>
> Really though, the two primary reasons you would be here is to recover a
> corrupted image or to password recover. Is there a specific reason you are
> concerned with being able to do this?
>
>
> Brandon Carroll, CCIE#23837
> *INE Instructor*
> bcarroll_at_ine.com
> 500 108th Ave NE Suite 510
> Bellevue. Washington 98004
>
>
>
>
>
> On Feb 4, 2013, at 2:33 AM, Sadiq Yakasai <sadiqtanko_at_gmail.com> wrote:
>
> Guys,
>
> I am not sure you can view the content of the flash on the ASA from rommon,
> at least with those commands. I have searched for a way to do this for a
> couple of months now, and I would be very interested to know if you find
> anything that works.
>
> What I had to do was to boot from TFTP and then perform file operations
> only after the ASA boots up.
>
> To do the same, follow this link:
>
>
> http://www.cisco.com/en/US/partner/docs/security/asa/asa82/configuration/guide/admin_trouble.html#wp1076206
>
> HTH a bit.
>
> Sadiq
>
> On Sun, Feb 3, 2013 at 12:31 AM, Jay McMickle <jay.mcmickle_at_yahoo.com
> >wrote:
>
> Sorry, I didn't realize you were in rommon.
>
> You have the syntax right. Is it possible you do not have anything in
> flash it have bad flash?
>
> Have you tried to TFTP from rommon?
>
> Regards,
> Jay McMickle- CCIE #35355 (RS)
> Sent from my iPhone 5
>
> On Feb 2, 2013, at 5:54 PM, Jay McMickle <jay.mcmickle_at_yahoo.com> wrote:
>
> Show boot flash
>
> Regards,
> Jay McMickle- CCIE #35355 (RS)
> Sent from my iPhone 5
>
> On Feb 2, 2013, at 1:07 PM, "amin" <amin_at_axizo.com> wrote:
>
> HI experts,
>
>
>
> How I can see the flash: files and boot certain image in the ASA. I
>
> mean the
>
> equivalent to the router commands
>
>
>
> ROMOM> dir flash:
>
> ROMMON> boot image flash:xxx.bin
>
>
>
> Regards,
>
> Amin
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
>
>
>
>
>
>
>
>
> --
> CCIEx2 (R&S|Sec) #19963
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
>
>
>
>
>
>
>

-- 
CCIEx2 (R&S|Sec) #19963
Blogs and organic groups at http://www.ccie.net
Received on Mon Feb 04 2013 - 16:37:52 ART

This archive was generated by hypermail 2.2.0 : Fri Mar 01 2013 - 07:57:58 ART