侧边栏壁纸
博主头像
落叶人生博主等级

走进秋风,寻找秋天的落叶

  • 累计撰写 130562 篇文章
  • 累计创建 28 个标签
  • 累计收到 9 条评论
标签搜索

目 录CONTENT

文章目录

CCNP(BCMSN)实验:交换机密码恢复(Cisco 3550交换机)

2023-04-05 星期三 / 0 评论 / 0 点赞 / 72 阅读 / 3673 字

实验过程:第一步:接通电源,长按mode键,等led灯不闪时,会出现下列字符he system has been interrupted prior to initializing theflash

.


实验过程:

第一步:接通电源,长按mode键,等led灯不闪时,会出现下列字符
he system has been interrupted prior to initializing the
flash filesystem. The following commands will initialize
the flash filesystem, and finish loading the operating
system software:

flash_init
boot

第二步:加载flash
switch: flash_init
Initializing Flash...
flashfs[0]: 8 files, 1 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 15998976
flashfs[0]: Bytes used: 7145984
flashfs[0]: Bytes available: 8852992
flashfs[0]: flashfs fsck took 16 seconds.
...done Initializing Flash.
Boot Sector Filesystem (bs:) installed, fsid: 3

第三步: 查看有没有config.text文件
switch: dir flash:
unable to stat ash:/: permission denied
switch: dir flash:
Directory of flash:/

2 -rwx 7134080 <date> 3550.bin
3 -rwx 916 <date> vlan.dat
4 -rwx 3244 <date> n
5 -rwx 2209 <date> statr
6 -rwx 0 <date> system_env_vars
7 -rwx 0 <date> env_vars
8 -rwx 24 <date> private-config.text
10 -rwx 2188 <date> config.text

8852992 bytes available (7145984 bytes used)
第四步:修改config.text名称。

switch: rename flash:config.text flash:config.qq
switch: dir flash:
Directory of flash:/

2 -rwx 7134080 <date> 3550.bin
3 -rwx 916 <date> vlan.dat
4 -rwx 3244 <date> n
5 -rwx 2209 <date> statr
6 -rwx 0 <date> system_env_vars
7 -rwx 0 <date> env_vars
8 -rwx 24 <date> private-config.text
10 -rwx 2188 <date> config.qq

8852992 bytes available (7145984 bytes used)

第五步:重新引导

switch: boot
Loading "flash:/3550.bin"...####################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################
[Connection to sw2 closed by foreign host]
lab>
00:02:09: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/24, changed state to up
Switch#rename flash:config.qq flash:config.text
Destination filename [config.text]?
Switch#
第六步:把原来的名字改回来并加裁

switch: rename flash:config. qq flash:config. text
Switch#copy flash:config.text system:running-config
Destination filename [running-config]?
Failed to generate persistent self-signed certificate.
Secure server will use temporary self-signed certificate.

2188 bytes copied in 0.208 secs (10519 bytes/sec)
第七步:清除密码,配置相关并保存

.

广告 广告

评论区