Chinaunix首页 | 论坛 | 博客
  • 博客访问: 923387
  • 博文数量: 119
  • 博客积分: 6248
  • 博客等级: 准将
  • 技术积分: 1419
  • 用 户 组: 普通用户
  • 注册时间: 2008-08-08 14:14
文章分类

全部博文(119)

文章存档

2014年(1)

2012年(1)

2011年(2)

2010年(22)

2009年(81)

2008年(12)

分类: 系统运维

2009-03-24 19:26:33

1、拔下交换机的电源线
 
2、按住交换机的MODE按钮上,然后插上电源线
 
3、看到控制台界面时,松开MODE键
 
4、在swich:后执行flash_init命令
   switch:flash_init
 
5、查看flash中的文件
   switch:dir flash
 
 
6、把config.text文件名改成config.old文件名
   switch:rename flash:config.text flash:config.old
  
7、执行boot命令,启动交换机
   switch:boot
 
8、进入特权模式查看flash里的文件
   switch#dir flash
 
9、把文件config.old改为config.text
   switch#rename flash:config.old flash:config.text
 
10、把config.text复制为系统的running-config
    switch#copy flash:config.text running-config
 
11、进入配置模式重新设置密码并存盘,密码恢复完成
阅读(1158) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~