Catalyst3560密码破解

1、关机;
2、将设备MODE键按住,然后开机,进入switch:
switch: flash_init
Initializing Flash...
flashfs[0]: 7 files, 2 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 15998976
flashfs[0]: Bytes used: 12770304
flashfs[0]: Bytes available: 3228672
flashfs[0]: flashfs fsck took 9 seconds.
...done Initializing Flash.

switch: load_helper
Unknown cmd: load_helper

switch:
3、switch: rename flash:config.text flash:config.old
将配置文件重命名为config.old。
switch: dir flash:/
Directory of flash://

    2  -rwx  12749781  <date>               c3560-ipservicesk9-mz.122-55.SE8.bin
    3  -rwx  4076      <date>               config.old
    4  -rwx  5198      <date>               switch-confg
    5  -rwx  916       <date>               vlan.dat
    6  -rwx  3096      <date>               multiple-fs
    9  drwx  0         <date>               online_diag
   10  -rwx  24        <date>               private-config.text
3233280 bytes available (12765696 bytes used)
4、switch: boot
然后交换机开始启动,进入后没有密码。
switch: boot
Loading "flash:/c3560-ipservicesk9-mz.122-55.SE8.bin"...@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
File "flash:/c3560-ipservicesk9-mz.122-55.SE8.bin" uncompressed and installed, entry point: 0x1000000
executing...

              Restricted Rights Legend

Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.
…………
Enable secret warning
----------------------------------
In order to access the device manager, an enable secret is required
If you enter the initial configuration dialog, you will be prompted for the enable secret
If you choose not to enter the intial configuration dialog, or if you exit setup without setting the enable secret,
please set an enable secret using the following CLI in configuration mode-
enable secret 0 <cleartext password>
----------------------------------
Would you like to enter the initial configuration dialog? [yes/no]: no
5、将配置文件恢复。
Switch>en
Switch#rename flash:config.old flash:config.text
Destination filename [config.text]?
Switch#copy flash:config.text system:running-config
Destination filename [running-config]?
% Generating 1024 bit RSA keys, keys will be non-exportable...
*Mar  1 00:03:19.296: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan10, changed state to down[OK]

*Mar  1 00:03:22.962: %SSH-5-ENABLED: SSH 1.99 has been enabled
Switch#configure
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#username admin password admin
Switch(config)#enable password admin

6、Switch#write memory
7、Switch#reload

转载于:https://www.cnblogs.com/MomentsLee/p/9922693.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
以3650为例:(适用于大部分接入层网络设备,TFTP最好使用tftp32,可以支持大文件) 1、查看3650IOS信息 WH-KJY-HJ-B16-3650-01#sh flash Directory of flash:/ 2 -rwx 1036 Feb 7 2012 13:39:20 +08:00 vlan.dat 3 -rwx 5 Oct 25 2012 16:11:52 +08:00 private-config.text 5 -rwx 7691 Oct 25 2012 16:11:52 +08:00 config.text 6 drwx 192 Mar 1 1993 08:07:03 +08:00 c3650-ipservices-mz.122-35.SE5 15998976 bytes total (5480960 bytes free) 2、由于flash空间不够无法导入新版本的IOS,所以只能删除旧的IOS版本 WH-KJY-HJ-B16-3650-01#cd flash:/c3650-ipservices-mz.122-35.SE5 //进入旧的目录下删除 WH-KJY-HJ-B16-3650-01#dir Directory of flash:/c3650-ipservices-mz.122-35.SE5/ 7 -rwx 8054867 Mar 1 1993 08:05:34 +08:00 c3650-ipservices-mz.122-35.SE5.bin 8 drwx 4224 Mar 1 1993 08:05:57 +08:00 html 509 -rwx 616 Mar 1 1993 08:07:03 +08:00 info 15998976 bytes total (5480960 bytes free) #delete flash:/c3650-ipservices-mz.122-35.SE5/c3650-ipservices-mz.122-35.SE5.bin //删除旧IOS版本(注意在操作这步前,将之前的IOS备份一份保存,以便出现问题可以回退) Delete filename [/c3650-ipservices-mz.122-35.SE5/c3650-ipservices-mz.122-35.SE5.bin]? Delete flash:/c3650-ipservices-mz.122-35.SE5/c3650-ipservices-mz.122-35.SE5.bin? [confirm] 删除完成后查看flash信息: WH-KJY-HJ-B16-3650-01#sh flash Directory of flash:/c3650-ipservices-mz.122-35.SE5/ 8 drwx 4224 Mar 1 1993 08:05:57 +08:00 html 509 -rwx 616 Mar 1 1993 08:07:03 +08:00 info 15998976 bytes total (13536256 bytes free) 3、导入新的IOS #copy tftp: c3650-ipservicesk9-mz.122-40.SE.bin flash: c3650-ipservicesk9-mz.122-40.SE.bin 4、查看新的IOS导入后flash信息 WH-KJY-HJ-B16-3650-01#sh flash Directory of flash:/ 2 -rwx 1036 Feb 7 2012 13:39:20 +08:00 vlan.dat 3 -rwx 5 Oct 25 2012 16:11:52 +08:00 private-config.text 4 -rwx 9975530 Mar 5 2013 17:59:01 +08:00 c3650-ipservicesk9-mz.122-40.SE.bin 5 -rwx 7691 Oct 25 2012 16:11:52 +08:00 config.text 6 drwx 128 Mar 5 2013 17:53:23 +08:00

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值