SRX Services Gateway
Reply
Contributor
Posts: 14
Registered: ‎10-13-2010
0

Erase Flash in the SRX

Dear all,

 

How can I erase the SRX flash memory. I go to the boot load and input erase but fail and detail is as follows

 

 

U-Boot 1.1.6-JNPR-1.7 (Build time: May  4 2010 - 06:59:58)

SRX_210_HIGHMEM board revision major:1, minor:40, serial #: AABW6358
OCTEON CN5020-SCP pass 1.1, Core clock: 400 MHz, DDR clock: 200 MHz (400 Mhz data rate)
DRAM:  1024 MB
Starting Memory POST...
Checking datalines... OK
Checking address lines... OK
Checking 512K memory for U-Boot...
2 Storage Device(s) found
Clearing DRAM........ done
BIST check passed.
Starting PCI
PCI Status: PCI 32-bit
PCI BAR 0: 0xf8000000, PCI BAR 1: Memory 0x00000000  PCI 0x00000000
Boot Media: nand-flash usb
Net:   octeth0
POST Passed
Press SPACE to abort autoboot in 1 seconds
=> erase
Usage:
erase   - erase FLASH memory

=> erase FLASH memory
Bad address format
=>

Distinguished Expert
Distinguished Expert
Posts: 861
Registered: ‎10-09-2008
0

Re: Erase Flash in the SRX

Hi

 

What exactly are you trying to acheive? Make a brick of an SRX box? Smiley Happy

 

To erase everything and get back to factory state, you can use operation command

 

request system zeroize 

 

 

 

Best Regards,
Petr (PK)

Juniper Ambassador, Juniper Networks Certified Instructor,
JNCIE-SEC #98, JNCIE-ENT #393, JNCIE-SP #2253
[Juniper Authorized Education & Support in Russia]
Highlighted
Contributor
Posts: 14
Registered: ‎10-13-2010
0

Re: Erase Flash in the SRX

Hi PK,

 

Thanks for your suggestion. What I do is want to erase everything in the flash including configuration , logs and software image just like cisco erase flash.

 

Regards,

annpat

Trusted Contributor
Posts: 330
Registered: ‎01-08-2010
0

Re: Erase Flash in the SRX

The sofware image / OS will still be there but the command will "Erase all data, including configuration and log files".

Contributor
Posts: 88
Registered: ‎08-01-2008
0

Re: Erase Flash in the SRX

request system zeroize should do the trick.

---
JNCIE-SEC #69, JNCIE-ENT #492, JNCSP-SEC, JNCIS-SA, JNCIS-AC
Copyright© 1999-2015 Juniper Networks, Inc. All rights reserved.