site Search:


 
    All Forums Hot Topics Gallery






how-to block ads


 
Search Topic:
Uniqs:
1408
Share Topic
Posting?
Post a:
Post a:
AuthorAll Replies


Brano
I hate Vogons
Premium,MVM
join:2002-06-25
Burlington, ON
kudos:3
Reviews:
·Bell Fibe

USG Bootbase commands

Checking USG User Guide and CLI Guide, the bootbase commands are nowhere documented so let me post them just for reference.

USG 200> athe                                                                                                                                                                                                                                                                  
======= Debug Command Listing =======                                                                                                                                                                                                                                          
AT            just answer OK                                                                                                                                                                                                                                                   
ATHE          print help                                                                                                                                                                                                                                                       
ATDUx,y       dump memory contents from address x for length y                                                                                                                                                                                                                 
ATWBx,y       write address x with  8-bit value y                                                                                                                                                                                                                              
ATWWx,y       write address x with 16-bit value y                                                                                                                                                                                                                              
ATWLx,y       write address x with 32-bit value y                                                                                                                                                                                                                              
ATRBx         display the  8-bit value of address x                                                                                                                                                                                                                            
ATRWx         display the 16-bit value of address x                                                                                                                                                                                                                            
ATRLx         display the 32-bit value of address x                                                                                                                                                                                                                            
ATRFx,y       read FLASH address x to y with 16-bit z interactions                                                                                                                                                                                                              
ATSR          system reboot                                                                                                                                                                                                                                                    
ATRTw,x,y(,z) RAM test level w, from address x to y (z iterations)                                                                                                                                                                                                             
ATUPx,y       upload to RAM address x for length y from PC via XMODEM                                                                                                                                                                                                          
ATDOx,y       download from address x for length y to PC via XMODEM                                                                                                                                                                                                            
ATRD(x)       show disk root drive or set to x                                                                                                                                                                                                                                 
ATDP          probe disks and show status                                                                                                                                                                                                                            
ATDRn,s,m,l   copy disk n sector s to addr m length l                                                                                                                                                                                                                        
ATDWm,n,s,l   copy from addr m to disk n sector s length l                                                                                                                                                                                                                   
ATUK          upload kernel image to disk                                                                                                                                                                                                                                      
ATUR          Use ATUK to upload kernel                                                                                                                                                                                                                                     
ATBAx         change baudrate 1:38.4k 2:19.2k 3:9.6k 4:57.6k 5:115.2k                                                                                                                                                                                                          
ATGO          boot router                                                                                                                                                                                                                                                      
ATKZ(x)       show init switch or set to x                                                                                                                                                                                                                                     
ATLF{f|v}     do low level format on flash ROM ; f=format ; v=verify                                                                                                                                                                                                      
ATSH          dump manufacturer related data in ROM                                                                                                                                                                                                                            
ATSC(x)       show startup configuration or set to x                                                                                                                                                                                                                           
ATAC(x)       Apply startup configuration                                                                                                                                                                                                                                      
ATGT(x)       Go hardware test module                                                                                                                                                                                                                                          
ATUX          xmodem upload and program Boot module                                                                                                                                                                                                                            
ATERx,y       erase flash rom from block x to y                                                                                                                                                                                                                                
ATWFx,y,z     copy data from addr x to flash addr y, length z                                                                                                                                                                                                                  
ATEHx,y       Set HRCWL(x), HRCWH(y)                                                                                                                                                                                                                                             
ATPLx, y      x[0:CARD2LED|1:CARD1LED|2:AUXLED|3:SYSLED],y[0:off|1:on|2:blink:3]                                                                                                                                                                                               
ATPH          show HTP Pin status                                                                                                                                                                                                                                            
ATPR          show Reset button status                                                                                                                                                                                                                                             
ATDT          Disk Test                                                                                                                                                                                                                                                              
 
 

Few examples
USG 200> atsh                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                               
BootModule Version      :V1.08 | 12/04/2007 15:36:17                                                                                                                                                                                                                           
Vendor  Name            :ZyXEL Communications Corp.                                                                                                                                                                                                                            
Product Model           :USG 200                                                                                                                                                                                                                                               
System  Type            :10                                                                                                                                                                                                                                                    
MAC Address             :0019cbxxxxxx                                                                                                                                                                                                                                          
Default Country Code    :ff                                                                                                                                                                                                                                                    
Boot Module Debug Flag  :1                                                                                                                                                                                                                                                     
Hardware Version        :ZyXEL USG 200 MPC8343e                                                                                                                                                                                                                                
Serial  Number          :S0xxxxxxxxxxxx                                                                                                                                                                                                                                         
SNMP MIB level  & OID   :060102030405060708091011121314151617181920                                                                                                                                                                                                            
Main Feature Bit        :0                                                                                                                                                                                                                                                     
Other Feature Bits      :                                                                                                                                                                                                                                                      
00 16 00 00 00 00 00 00-00 00 00 00 00 04 00 00                                                                                                                                                                                                                                
07 00 13 49 ba ee 89 00-00 00 00 00 00 00              
 

USG 200> atdp                                                                                                                                                                                                                                                                  
1 disk present                                                                                                                                                                                                                                                                 
disk0, 16 heads, 32 sectors/track, 984 cylinders, 503808 sectors 251904KB                                                                                                                                                                                                      
Scan Disk Physical Blocks...                                                                                                                                                                                                                                                   
Good: 637, Later_bad: 0, Early_bad: 0, Unknown: 1411          
 

USG 200> atuk                                                                                                                                                                                                                                                                  
This command is for restoring the "recovery image" (xxx.ri).                                                                                                                                                                                                                   
Use This command only when                                                                                                                                                                                                                                                     
1) the console displays "Invalid Recovery Image" or                                                                                                                                                                                                                            
2) the console freezes at "Press any key to enter debug mode within 3 seconds"                                                                                                                                                                                                 
   for more than one minute.                                                                                                                                                                                                                                                   
                                                                                                                                                                                                                                                                               
Note:                                                                                                                                                                                                                                                                          
Please exit this command immediately if you do not need to restore the                                                                                                                                                                                                         
"recovery image".                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                               
Do you want to start the recovery process (Y/N)? (default N)          
 

ba142

join:2007-06-10

How to input this bootbase commands? Do I need to reboot the router and using the console cable?



Brano
I hate Vogons
Premium,MVM
join:2002-06-25
Burlington, ON
kudos:3

2 edits

Yes.

Don't fool with these too much, I've posted just FYI.

You could potentially render the unit useless (I haven't tried the destructive (write) commands though)



bbarrera
Premium,MVM
join:2000-10-23
Sacramento, CA
kudos:1

For the benefit of others, many of those commands are over 10 years old and documented by ZyXEL in other places.


Sunday, 03-Jun 00:18:55 Terms of Use & Privacy | feedback | contact | Hosting by nac.net - DSL,Hosting & Co-lo
over 12.5 years online © 1999-2012 dslreports.com.
Most commented news this week
Hot Topics