Chinaunix首页 | 论坛 | 博客
  • 博客访问: 679653
  • 博文数量: 740
  • 博客积分: 5000
  • 博客等级: 大校
  • 技术积分: 4910
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-17 15:16
文章分类

全部博文(740)

文章存档

2011年(1)

2008年(739)

我的朋友

分类:

2008-10-17 15:16:45


  Step-by-Step
  1.
  9600 baud rate
  No parity
  8 data bits
  1 stop bit
  No flow control
  
  2.Unplug the power cable.
  
  3.The system has been interrupted prior to initializing the flash file system.
  The following commands will initialize the flash file system, and finish loading
  the operating system software:
  
  flash_init
  load_helper
  boot
  
  4. Type flash_init.
  5.
  Type load_helper.
  
  6.Type dir flash:.
  !--- Make sure to type a colon ":" after the dir flash
  The switch file system is displayed:
  
  Directory of flash:
  2 -rwx 843947 Mar 01 1993 00:02:18 C2900XL-h-mz-112.8-SA
  4 drwx 3776 Mar 01 1993 01:23:24 html
  66 -rwx 130 Jan 01 1970 00:01:19 env_vars
  68 -rwx 1296 Mar 01 1993 06:55:51 config.text
  1728000 bytes total (456704 bytes free)
  
  7.Type rename flash:config.text flash:config.old to rename the configuration file.
  
  8. Type boot to boot the system.
  
  9. Enter N at the prompt to start the Setup program, Continue with the configuration dialog? [yes/no] : N
  
  10. At the switch prompt type en to turn on enable mode.
  
  11. Type rename flash:config.old flash:config.text to rename the configuration file with its original name.
  
  12.
  Copy the configuration file into memory:
  Switch# copy flash:config.text system:running-config
  Source filename [config.text]? (press Return)
  Destination filename [running-config]? (press Return)
  
  The configuration file is now reloaded.
  
  13.Change the password:
  switch#configure terminal
  switch(config)#no enable secret
  !-- This step is necessary if the switch had an enable secret password[/switch(config)#enable password [/B]
  
  switch#(config)#^Z
  !--Control/Z
  
  14.
  Write the running configuration to the configuration file:
  
  switch#write memory
  
  
【责编:admin】

--------------------next---------------------

阅读(273) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~