Chinaunix首页 | 论坛 | 博客
  • 博客访问: 105543
  • 博文数量: 7
  • 博客积分: 1410
  • 博客等级: 上尉
  • 技术积分: 200
  • 用 户 组: 普通用户
  • 注册时间: 2007-07-09 11:36
文章分类

全部博文(7)

文章存档

2010年(2)

2009年(3)

2008年(2)

我的朋友

分类: 系统运维

2008-12-18 08:45:43

第一种:全部清除法,所有的配置都不再存在

关机,按住mode 键,开机进入

switch:flash_init

switch:del flash:config.text

y   此处确认是否真的删除

switch:boot    重启后即可无密码进入

第二种:只是修改密码,其它配置内容还在:

关机,按住mode键,开机进入

switch:flash_init

switch:load_helper

switch:dir flash: 查一下flash:config.text文件是否存在,如果存在需要把该文件名更改了以便下次交换机重启时不加载这个配置文件,自然就没有密码启动了

switch:rename flash:config.text flash:config.pkr

switch:boot

>en

#config t

#rename flash:config.pkr flash:config.text  启动交换机后再把刚才改过的文件名改回来

#copy flash:config.text system:running-config   把配置文件调出来作为当前的运行文件进行密码的修改

#此时进行相关的密码修改工作

#copy run start   修改后保存配置文件

#boot

重启后即可用新密码进入

阅读(1279) | 评论(0) | 转发(0) |
0

上一篇:没有了

下一篇:windows 2000/2003 DHCP服务器迁移到windows 2008

给主人留下些什么吧!~~