Tuesday, March 15, 2016

How to Changing the File Name Through BootROM

Applicability
This example applies to all versions and Huawei AR routers.
Networking Requirements
The console port of RouterA connects to the PC. The file name needs to be changed through BootROM.
Figure 1 Changing the file name through BootROM
6-27 huawei 1
Procedure
  1. Connect a PC to the device with a serial cable and log in to the device through the console port.
  2. Restart the device. When the message “Press Ctrl+B to break auto startup …” is displayed, press Ctrl+B and enter the password to display the BootROM main menu
BIOS Creation Date : Nov 10 2011, 14:41:12                                     
DDR DRAM init : OK                                                             
Start Memory Test ? (‘t’ or ‘T’ is test):skip                                   
Copying Data : Done                                                            
Uncompressing : Done                                                           
USB2 Host Stack Initialized.                                                    
USB Hub Driver Initialized                                                     
USBD  Wind River Systems, Inc. 562 Initialized                                 
Octeon Host Controller Initialize……Done.                                    
                                                                               
                                                                               
Press Ctrl+B to break auto startup … 2
Note
The default password in V200R003C01 and earlier versions is huawei, and the default password in V200R005C00 and later versions is Admin@huawei.
3. Select choice 5 to enter the File Manager menu.
        Main Menu                                                              
                                                                                
    1. Default Startup                                                         
    2. Serial Menu                                                             
    3. Network Menu                                                             
    4. Startup Select                                                          
    5. File Manager                                                            
    6. Reboot                                                                   
                                                                               
Enter your choice(1-6):5
4. Select a storage media based on the file system.
File Menu                                                               
                                                                               
    1. Flash file system                                                       
    2. SDCard file system                                                      
    0. Return                                                                  
                                                                               
Enter your choice(0-2):2
5. View all the files on the storage media.
SDCard file system MENU                                                 
                                                                               
    1. List file in SDCard[1]                                                  
    2. Delete file in SDCard[1]                                                 
    3. Rename file in SDCard[1]                                                
    4. Format SDCard[1]                                                        
    5. Check SDCard[1]                                                          
    0. Return                                                                  
                                                                               
Enter your choice(0-5):1
Files of the device:                                                            
                                                                               
-rwxrwxrwx  76022784  Aug 23 2011 10:46:54   software.cc   
-rwxrwxrwx  77290240  Aug 23 2011 10:46:54   software1.cc   
-rwxrwxrwx      5641  Jun 12 2012 19:28:46   vrpcfg.cfg                   
3 files found!                                                                
153318665 Byte total, 2271353591 Byte free.
6. Change the file name.
        SDCard file system MENU                                                 
                                                                               
    1. List file in SDCard[1]                                                  
    2. Delete file in SDCard[1]                                                 
    3. Rename file in SDCard[1]                                                
    4. Format SDCard[1]                                                        
    5. Check SDCard[1]                                                          
    0. Return                                                                  
                                                                               
Enter your choice(0-5):3
Please input the file name: software.cc                          
Please input the new name: software_new.cc                                   
Rename file[sd1:/software.cc] to [sd1:/software_new.cc], Yes or No(Y/N): y
Rename OK!

7. View files on the storage media again.

SDCard file system MENU                                                 
                                                                               
    1. List file in SDCard[1]                                                  
    2. Delete file in SDCard[1]                                                 
    3. Rename file in SDCard[1]                                                
    4. Format SDCard[1]                                                        
    5. Check SDCard[1]                                                          
    0. Return                                                                  
                                                                               
Enter your choice(0-5):1
Files of the device:                                                            
                                                                               
-rwxrwxrwx  76022784  Aug 23 2011 10:46:54   softwarenew.cc   
-rwxrwxrwx  77290240  Aug 23 2011 10:46:54   software1.cc   
-rwxrwxrwx      5641  Jun 12 2012 19:28:46   vrpcfg.cfg                   
3 files found!                                                                
153318665 Byte total, 2271353591 Byte free.
The file is renamed successfully.
8. Specify the file with the new file name as the system software package file.
SDCard file system MENU                                                
                                                                               
    1. List file in SDCard[1]                                                   
    2. Delete file in SDCard[1]                                                
    3. Rename file in SDCard[1]                                                
    4. Format SDCard[1]                                                        
    5. Check SDCard[1]                                                         
    0. Return                                                                  
                                                                               
Enter your choice(0-5):0
        File Menu                                                              
                                                                               
    1. Flash file system                                                       
    2. SDCard file system                                                      
    0. Return                                                                  
                                                                               
Enter your choice(0-2):0                                                       
        Main Menu                                                              
                                                                               
    1. Default Startup                                                          
    2. Serial Menu                                                             
    3. Network Menu                                                            
    4. Startup Select                                                           
    5. File Manager                                                            
    6. Reboot                                                                  
                                                                                
Enter your choice(1-6):4
        Startup Select                                                         
                                                                               
    1. Display Startup                                                          
    2. Set Boot File                                                           
    3. Set Config File                                                         
    0. return                                                                   
                                                                               
Enter your choice(0-3):2                                                       
        Select Boot File                                                        
                                                                               
    1. Flash                                                                   
    2. SDCard[1]                                                               
    0. Return                                                                  
                                                                               
Enter your choice(0-2):2
NOTE: Boot file must be .cc or .CC                                              
                                                                               
Current boot file: sd1:/software1.cc                       
Press ENTER directly for no change.                                            
Or, please input the new file name: sd1:/softwarenew.cc                                 
Save the boot file name: sd1:/softwarenew.cc ? Yes or No(Y/N)y                          
Save load state word…OK!
Configuration Notes
  • Do not randomly enter the BootROM menu to perform operations. If necessary, contact Huawei technical support personnel.
  • When performing operations, ensure that users on the serial port are kept online.
  • After modifying the system software package file name, specify the system software package file with the new file name as the system software package file for next startup. If the system software package file with the new file name is not specified as the system software package file for next startup, the system may fail to start.
  • After modifying the configuration file name, specify the configuration file with the new file name as the configuration file for next startup. If the configuration file with the new file name is not specified as the configuration file for next startup, the system configuration may be lost.
Telephone: 852-30623083
           Supports@Thunder-link.com            

No comments:

Post a Comment