Link to home
Start Free TrialLog in
Avatar of SFWIB
SFWIBFlag for United States of America

asked on

Pix 525 restore backup NOT FLASH image

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.
Avatar of Ernie Beek
Ernie Beek
Flag of Netherlands image

If you backed it up with write net, restore it with config net
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

And don't forget to do a

wr mem

afterwards!
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]?
Avatar of SFWIB

ASKER

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.
Try: copy tftp: run

Mind the :

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

ASKER

I tried #copy tftp running-config but it still gives me the command syntax
Avatar of SFWIB

ASKER

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]]
ASKER CERTIFIED SOLUTION
Avatar of Ernie Beek
Ernie Beek
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of SFWIB

ASKER

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#
Look up :)
Avatar of SFWIB

ASKER

it is 6.3... does that mean I'm stuck unless I do an erase???
Avatar of SFWIB

ASKER

thank you both again.

Thanks erniebeek.  I thought my brain was getting thicker by the moment!
Am afraid so :-~
Oops didn't saw that.
Of course I don't mean your brain is getting thicker ;)
Just the command isn't working here.
Avatar of SFWIB

ASKER

very fast responses, clear and to the point.  Thanks erniebeek and The kirsch.
Glad we could help (in a way). Sorry it wasn't the answer you were hoping for.

And thx for the points :)