We help IT Professionals succeed at work.

Pix 525 restore backup NOT FLASH image

SFWIB
SFWIB asked
on
710 Views
Last Modified: 2012-05-11
Hi:

I'm trying to restore to the same box a backup of the config done using the write net command.  When I try using the

copy tftp://192.168.1.66/runConfigBackup

it tells me NOT ENOUGH ARGUMENTS.

I have also tried the copy tftp running-config command but it returns the syntax of the command

copy tftp[:[[//location][/pathname]]] flash[:[image | pdm]]

I am not trying to restore a flash image just restore the backup of the config.

Any help showing the correct command syntax would be appreciated.

Thank you.
Comment
Watch Question

Ernie BeekSenior infrastructure engineer
CERTIFIED EXPERT
Top Expert 2012

Commented:
If you backed it up with write net, restore it with config net
CERTIFIED EXPERT

Commented:
You forgot to tell where to copy the config to. You are missing the argument running-config:

copy tftp://192.168.1.66/runConfigBackup running-config

CERTIFIED EXPERT

Commented:
And don't forget to do a

wr mem

afterwards!
CERTIFIED EXPERT

Commented:
Sorry, forget my post. Didn't read all of your question obviously.

This does not work?

#copy tftp running-config
Address or name of remote host []? 192.168.1.66
Source filename []? runConfigBackup
Destination filename [running-config]?

Author

Commented:
thank you both.  

erniebeek:  the configure net works but it merges both.

The Kirschi:  it returns the syntax of the command.

I have played with both but I can't make it happen.

The reason why I want to replace the run-config and then write to mem is because I was reading ALL DENY statements should be above the permits and that is not currently the case.
Ernie BeekSenior infrastructure engineer
CERTIFIED EXPERT
Top Expert 2012

Commented:
Try: copy tftp: run

Mind the :

If it's still acting up, could you show us what it returns?

Author

Commented:
I tried #copy tftp running-config but it still gives me the command syntax

Author

Commented:
tried the copy tftp: run and this is what it returns

Usage:  copy capture:<capture-name> tftp://<location>/<pathname> [pcap]
        copy http[s]://[<user>:<password>@]<location>[:<port>]/<pathname>
                flash[:[image | pdm]]
        copy tftp[:[[//location][/pathname]]] flash[:[image | pdm]]
Senior infrastructure engineer
CERTIFIED EXPERT
Top Expert 2012
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
I found this in networking-forum.com but I still get the command syntax

Post subject: Re: PIX 525 restoring a configPosted: Thu Dec 09, 2010 11:54 am

Junior Member



Joined: Wed Nov 17, 2010 4:50 pm
Posts: 86
Certs: CCNA      
This will copy the backup file to the running-config.

pix#copy tftp running-config
Address or name of remote host []? 10.0.0.1
Source filename []? backup_cfg_for_pix
Destination filename [running-config]?
Accessing tftp://10.66.64.10/backup_cfg_for_pix...
Loading backup_cfg_for_pix from 10.0.0.1 (via Ethernet0): !
[OK - 1030 bytes]

1030 bytes copied in 9.612 secs (107 bytes/sec)
pix#
Ernie BeekSenior infrastructure engineer
CERTIFIED EXPERT
Top Expert 2012

Commented:
Look up :)

Author

Commented:
it is 6.3... does that mean I'm stuck unless I do an erase???

Author

Commented:
thank you both again.

Thanks erniebeek.  I thought my brain was getting thicker by the moment!
Ernie BeekSenior infrastructure engineer
CERTIFIED EXPERT
Top Expert 2012

Commented:
Am afraid so :-~
Ernie BeekSenior infrastructure engineer
CERTIFIED EXPERT
Top Expert 2012

Commented:
Oops didn't saw that.
Of course I don't mean your brain is getting thicker ;)
Just the command isn't working here.

Author

Commented:
very fast responses, clear and to the point.  Thanks erniebeek and The kirsch.
Ernie BeekSenior infrastructure engineer
CERTIFIED EXPERT
Top Expert 2012

Commented:
Glad we could help (in a way). Sorry it wasn't the answer you were hoping for.

And thx for the points :)
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.