神州数码Enable密码丢失的解决方法

Enable 密码丢失的解决方法
一、       实验目的
1、  了解交换机enable密码丢失后重新进入交换机的方法;
2、  了解交换机Bootrom下的配置命令。
二、       应用环境
今天是网络实验室课,我来到实验室,上一批的同学刚刚做完实验,已经离开。我打开自己桌上的交换机,发现竟然有enable密码,原来是前面的同学忘记消除了。密码肯定是猜不出来的,也不能找到上面做实验的同学。怎么办?
通过交换机的bootrom方式,可以消除这个密码。
三、       实验设备
1、  DCS-3926S 交换机1
2、  PC 1
3、  Console 线1
四、       实验 拓扑
神州数码Enable密码丢失的解决方法_第1张图片
五、       实验要求
1、  给交换机设置一个 enable 密码;
2、  通过 bootrom 将这个密码清除;
3、  了解 bootrom 下面的一些基本命令的作用。
六、       实验步骤
第一步:给交换机设置enable密码(详见实验二)
switch>enable            
switch#config terminal                        !进入全局配置模式,见第四步
switch(Config)#enable password level admin
Current password:                             !原密码为空,直接回车
New password:*****                            !输入密码
Confirm new password:*****
switch(Config)#exit                           
switch#write
switch#
这时候从一般用户模式进入特权用户模式时交换机会向你询问enable密码。
 
第二步:进入bootrom
在交换机启动的过程中,按住 “ctrl b” 键,直到交换机进入 BootROM 监控模式。
 
第三步:查询bootrom下的命令
使用“?”查询,显示结果如下:
[Boot]: ?
 
 ?                          - print this list
 h                          - print this list
 setconfig                  - set bootrom configurations
 showconfig                 - show bootrom configurations
 saveconfig                 - save bootrom configurations
 clearconfig                - set default bootrom configurations
 load filename              - load system image(binary format)
 writeimg                   - write system image to flash memory
 reboot                     - reboot system
 nopassword                 - erase password in NOS configuration
 noconfig                   - erase NOS configuration
 dmem adrs[,n]              - display memory
 showmac                    - show MAC address of Ethernet port
 
第四步:使用“nopassword”命令
 [Boot]: nopassword
[Boot]: showmac
MAC: 00-03 -0F -01-7D-B0
S/N: N042400354
H/W: 1.01
 
[Boot]:
 
第五步:退出bootrom方式
[Boot]: reboot
 
重新启动后,原enable密码就已经配清除。
 
七、       注意事项和排错
1、  进入bootrom方式要在交换机启动一开始,按“ctrl-b”的速度一定要快。
2、  Bootrom 方式下必须输全命令,没有简写,不支持Tab
八、       共同思考
1、  telnet方式调试交换机的时候,能进入交换机的bootrom方式么?
九、       课后练习
1、  试一试 bootrom 的其他命令的作用
十、       相关配置命令详解
 

本文出自 “神州数码” 博客,谢绝转载!

你可能感兴趣的:(职场,休闲,神州数码交换机配置)