重启交换机在看到提示Press Ctrl+C to enter ctrl meun时按下ctrl和c,这样就进入了ctrl模式
在菜单中可以看到几个条目,这里选择4回车,输入the old filename:config.text, 回车输入the new filename:config.bak
ctrl+q回到ctrl模式
输入load交换机
(如果原来的配置文件还有用的话按下面执行,如果不要配置了到这就ok了)

点击(此处)折叠或打开

  1. Ruijie#copy flash:config.bak flash:config.text
  2. Ruijie#
  3. Ruijie#
  4. Ruijie#del config.bak
  5. Ruijie#dir
  6.  
  7.     Mode Link Size MTime Name
  8. -------- ---- --------- ------------------- ------------------
  9.    <DIR> 1 0 1970-01-01 00:00:00 dev/
  10.    <DIR> 1 0 2010-07-28 10:43:02 ram/
  11.    <DIR> 2 0 2010-07-28 10:43:20 tmp/
  12.    <DIR> 0 0 1970-01-01 00:00:00 proc/
  13.             1 8 2010-07-28 10:40:30 priority.dat
  14.             1 8464928 2009-09-22 23:56:31 rgos.bin
  15.             1 1911 2010-07-28 10:46:27 config.text
  16.             1 336 2009-11-01 03:40:51 dsa_private.bin
  17. --------------------------------------------------------------
  18. 4 Files (Total size 8467183 Bytes), 4 Directories.
  19. Total 33488896 bytes (31MB) in this device, 22466560 bytes (21MB) available.
  20.  
  21. Ruijie#
  22. Ruijie#copy startup-config running-config

09-12 01:54