FAQ-S交换机怎么修改下次启动配置文件

发布时间:  2015-02-11 浏览次数:  126 下载次数:  0
问题描述
怎么修改交换机下次启动使用的配置文件
解决方案

Q:S交换机怎么指定下次启动的配置文件

A:在命令行使用如下命令进行配置;(设置下次的启动文件为test.zip)

<Huawei>display startup     //先查看启动配置文件,                                                      
MainBoard:                                                                     
  Configured startup system software:        flash:/s3300-28tp-ei-v100r006c03.cc
  Startup system software:                   flash:/s3300-28tp-ei-v100r006c03.cc
  Next startup system software:              flash:/s3300-28tp-ei-v100r006c03.cc
  Startup saved-configuration file:          flash:/vrpcfg.zip                 
  Next startup saved-configuration file:     flash:/vrpcfg.zip  

<Huawei>dir          //查看保存的配置文件                                                          
Directory of flash:/                                                           
                                                                               
  Idx  Attr     Size(Byte)  Date        Time(LMT)  FileName                    
    0  -rw-          6,808  Jan 01 2008 00:01:23   patchhistory                
    1  -rw-          1,187  Jan 01 2008 00:01:17   private-data.txt            
    2  -rw-      8,789,100  Jan 01 2008 01:07:54   s3300-28tp-ei-v100r006c03.cc
    3  -rw-             60  Jan 01 2008 00:12:35   $_patchstate_a              
    4  -rw-          1,535  Jan 01 2008 00:02:33   vrpcfg.zip                  
    5  drw-              -  Jan 01 2008 00:28:24   ftp                         
    6  -rw-        344,778  Jan 01 2008 00:09:37   s23_33_53-v100r003sph005.pat
    7  -rw-             36  Jan 01 2008 01:18:31   $_patchstate_reboot         
    8  drw-              -  Jan 01 2008 01:21:44   resetinfo                   
    9  -rw-      1,348,985  Jan 01 2008 00:22:37   s3300-28tp-ei-v100r006c03.web
.zip                                                                           
   10  -rw-            116  Jan 02 2008 06:47:32   test.zip 

<Huawei>startup saved-configuration test.zip     //设置下次启动的配置文件                              
Info: Succeeded in setting the configuration for booting system.               
                                                           
<Huawei>display startup                                                        
MainBoard:                                                                     
  Configured startup system software:        flash:/s3300-28tp-ei-v100r006c03.cc
  Startup system software:                   flash:/s3300-28tp-ei-v100r006c03.cc
  Next startup system software:              flash:/s3300-28tp-ei-v100r006c03.cc
  Startup saved-configuration file:          flash:/vrpcfg.zip                 
  Next startup saved-configuration file:     flash:/test.zip

END