You are on page 1of 5

Procedure to recover the switch from corrupted flash

and recover the switch from corrupted image files

Customer wanted to know the procedure to recover the 6400 from corrupted
flash and the procedure to recover the switch from corrupted images

1) Procedure to recover the switch from corrupted flash


Step #1 Stop the boot
Press any key to stop auto-boot...
6
Step #2 Set baud rate to reduce time to copy AOS to switch

Note: Once you enter the below command youll need to match this speed in
your terminal emulator
=>setenv baudrate 115200
Step # 3 Set boot flags to force switch to stop boot process at Miniboot
=>setenv bootflags 0x1000
Save boot and check environment
=>saveenv
=>printenv ensure bootflags = 0x1000
Step 4 # Load Miniboot You should see the Miniboot prompt after this
step. [Miniboot]->

=>run miniboot
Step 5 # Format Flash

[Miniboot]->diskInit /flash

Alcatel-Lucent Enterprise
Document rev. 1.0

1/5

Procedure to recover the switch from corrupted flash


and recover the switch from corrupted image files

Step 6 # Create new directories

[Miniboot]-> mkdir working


[Miniboot]-> mkdir certified
Step 7 #Transfer AOS (images) and Boot Params file through Zmodem
[Miniboot]->cd /flash/working use the pwd command to verify what
directory youre in.
[Miniboot]->sysStartZmodem to put the switch in receive mode
send file to switch. If using Hyperterm you can use the wild card *
to send all files at once
Once AOS is uploaded, Hit <RETURN> to exit... Zmodem
[Miniboot]->cd .. now you should be in the /flash directory - use the pwd
command to verify what directory youre in.
[Miniboot]->sysStartZmodem to put the switch in receive mode
send boot.params file. This file can be taken off from any other 6400 switch
Hit <RETURN> to exit... Zmodem
Step 8 # Set switch to boot from the working directory

[Miniboot]-> setNextRunningVersion 2
Step 9 # Reboot switch interrupt boot process by hitting any key at the
begging of the boot process

[Miniboot]-> Reboot

Alcatel-Lucent Enterprise
Document rev. 1.0

2/5

Procedure to recover the switch from corrupted flash


and recover the switch from corrupted image files

Step 10 #Change baudrate and flag to default

Note: Once you enter command youll need to match this speed in your
terminal emulator
=>setenv baudrate 9600
=>setenv bootflags 0x0
=>saveenv
Step 11# Continue boot process
=>Boot
Step 12 # Login to switch
login: admin
Password:switch

2) Procedure to recover the switch from corrupted images


Step #1 stop the boot
Press any key to stop auto-boot...
6
Step #2 Set baud rate to reduce time to copy AOS to switch

Note: Once you enter the below command youll need to match this
speed in your terminal emulator
=>setenv baudrate 115200
Step # 3 Set bootflags to force switch to stop boot process at Miniboot
=>setenv bootflags 0x1000

Alcatel-Lucent Enterprise
Document rev. 1.0

3/5

Procedure to recover the switch from corrupted flash


and recover the switch from corrupted image files

Save boot and check environment


=>saveenv
=>printenv ensure bootflags = 0x1000
Step 4 # Load Miniboot You should see the Miniboot prompt after this
step. [Miniboot]->
=>run miniboot
Step 5 #Transfer AOS (images) through Zmodem
[Miniboot]->cd /flash/working use the pwd command to verify what
directory youre in.
[Miniboot]->sysStartZmodem to put the switch in receive mode
send file to switch. If using Hyperterm you can use the wild card *
to send all files at once
once AOS is uploaded, Hit <RETURN> to exit... Zmodem
Step 6 # Set switch to boot from the working directory

[Miniboot]-> setNextRunningVersion 2
Step 7 # Reboot switch interrupt boot process by hitting any key at the
begging of the boot process
[Miniboot]-> Reboot
Step 8 #Change baudrate and flag to default

=>setenv baudrate 9600 - Once you enter command youll need to match
this speed in your terminal emulator
=>setenv bootflags 0x0
=>saveenv

Alcatel-Lucent Enterprise
Document rev. 1.0

4/5

Procedure to recover the switch from corrupted flash


and recover the switch from corrupted image files

Step 9 # Continue boot process


=>Boot
Step 10 # Login to switch
login: admin
Password:switch

Alcatel-Lucent Enterprise
Document rev. 1.0

5/5

You might also like