您好,欢迎来到中国企业库   [请登陆]  [免费注册]
小程序  
APP  
微信公众号  
手机版  
 [ 免责声明 ]     [ 举报 ]
企业库免费B2B网站
搜产品 搜企业
客服电话:400-000-8722
企业库首页>资讯
行业

Catalyst系列交换机密码恢复技术

作者:企业资讯策划团队 来源:rwfb 发布时间:2010-05-01 浏览:437

Catalyst系列交换机密码恢复技术

2010-04-27 21:15:53 阅读8 评论0 字号:

This document describes the password recovery procedure for the Cisco Catalyst Layer 2 fixed configuration switches 2900XL/3500XL, 2940, 2950/2955, 2960, and 2970 Series, as well as the Cisco Catalyst Layer 3 fixed configuration switches 3550, 3560, and 3750 Series.//这个文档描绘了为思科二层固定交换机2900XL/3500XL, 2940, 2950/2955, 2960, and 2970系列和三层固定 交换机3550, 3560, and 3750系列所作的密码恢复技术

//先决条件

There are no specific prerequisites for this document.//此文件没有具体的先决条件

Follow the password recovery procedure below.//根据下面的密码恢复步骤

  1. Attach a terminal or PC with terminal emulation (for example, Hyper Terminal) to the console port of the switch.//附加终端或终端仿真(如电脑,超级终端)到控制台交换机端口。

    Use the following terminal settings:// 使用下面的终置                                                                            Bits per second (baud): 9600

      //每秒(波特位):9600

    • Data bits: 8

      //数据位:8

    • Parity: None

      //奇偶校验:无

    • Stop bits: 1

      //停止位:1

    • Flow Control: Xon/Xoff  // 流量控制:XOn/XOFF   
    •                                                                                                                                         Note: For additional information on cabling and connecting a terminal to the console port, refer to .

      //注:有关电缆和一个终端连接到控制台端口的其他信息,请参阅终端连接到控制台端口的Catalyst交换机                                                                                                                                                         2.Unplug the power cable. //拔掉电源线

    • Power the switch and bring it to the switch: prompt://电源开关,把它的开关:提示:For 2900XL, 3500XL, 2940, 2950, 2960, 2970, 3550, 3560, and 3750 series switches, do this:

  1. Hold down the mode button located on the left side of the front panel, while you reconnect the power cable to the switch.

    //按住模式按钮就位于前面板的左侧,当你重新连接电源线连接至交换机

    Catalyst Switch Series

    LED Behavior and Mode Button Release Action

    //发光二极管行为模式按钮释放行动

    2900XL, 3500XL, 3550

    Release the Mode button when the LED above Port1x goes out.

    //释放时,上述Port1x模式按钮的LED熄灭

    2940, 2950

    Release the Mode button after approximately 5 seconds when the Status (STAT) LED goes out. When you release the Mode button, the SYST LED blinks amber.

    //释放模式按钮约5秒钟后,当状态(统计)发光二极管熄灭。当您松开模式按钮,LED闪烁琥珀色的制度进行。

    2960, 2970

    Release the Mode button when the SYST LED blinks amber and then turns solid green. When you release the Mode button, the SYST LED blinks green.

    //释放模式按钮时制度进行LED闪烁琥珀色,然后打开纯绿色。当您松开模式按钮,制度进行LED闪烁绿色。

    3560, 3750

    Release the Mode button after approximately 15 seconds when the SYST LED turns solid green. When you release the Mode button, the SYST LED blinks green.

    //释放模式按钮时制度进行纯绿色LED点亮后约15秒。当您松开模式按钮,制度进行LED闪烁绿色。

    Note: LED position may vary slightly depending on the model.

    //注:主导的地位可能会有所不同略有不同的模式

  2. Catalyst 3524XL

    pswdrec_2900xl_1.gif

    Catalyst 2950-24

    pswdrec_2900xl_2.gif

    For 2955 series switches only: 只对于2955系列交换机

  3. The Catalyst 2955 series switches do not use an external mode button for password recovery. Instead the switch boot loader uses the break-key detection to stop the automatic boot sequence for the password recovery purposes. The break sequence is determined by the terminal application and operating system used. Hyperterm running on Windows 2000 uses Ctrl + Break. On a workstation running UNIX, Ctrl-C is the break key. For more information, refer to .

    //该2955系列交换机不使用密码的恢复外部模式按钮。相反,开关启动加载器使用的突破的关键检测以停止的密码恢复目的的自动启动顺序。该序列被打破终端应用程式和作业系统决定使用。 HYPERTERM的Windows 2000上运行使用Ctrl +Break。在运行UNIX工作站,按Ctrl - C是突破的关键。欲了解更多信息,参考标准Break键序列组合的密码恢复过程中。

  4. The example below uses Hyperterm to break into switch: mode on a 2955.

    //下面的例子使用HYPERTERM的打入开关:在2955模式                                                               C2955 Boot Loader (C2955-HBOOT-M) Version 12.1(0.0.514), CISCO DEVELOPMENT TEST
    VERSION
    Compiled Fri 13-Dec-02 17:38 by madison
    WS-C2955T-12 starting...
    Base ethernet MAC Address: 00:0b:be:b6:ee:00
    Xmodem file system is available.
    Initializing Flash...
    flashfs[0]: 19 files, 2 directories
    flashfs[0]: 0 orphaned files, 0 orphaned directories
    flashfs[0]: Total bytes: 7741440
    flashfs[0]: Bytes used: 4510720
    flashfs[0]: Bytes available: 3230720
    flashfs[0]: flashfs fsck took 7 seconds.
    ...done initializing flash.
    Boot Sector Filesystem (bs:) installed, fsid: 3
    Parameter Block Filesystem (pb:) installed, fsid: 4

    //C2955启动加载器(C2955 - HBOOT - M的)版本12.1(0.0.514),思科开发试验

    版本

    编译星期五13 - 12 - 02 17:38由麦迪逊

    的WS - C2955T - 12开始...

    相应的以太网MAC地址:0时00分乙:是:B6的:ee值:00

    XModem文件系统可用。

    初始化闪光...

    flashfs [0]:19张影像,2目录

    flashfs [0]:0孤立的文件,0孤儿目录

    flashfs [0]:总字节数:7741440

    flashfs [0]:字节使用:451.072万

    flashfs [0]:可用字节:三百二十三万○七百二十〇

    flashfs [0]:flashfs的fsck了7秒。

    ...做初始化闪光。

    引导扇区文件系统(BS:分)安装,fsid:3

    参数块文件系统(铅:)安装,fsid:4

    *** The system will autoboot in 15 seconds ***
    Send break character to prevent autobooting.

    //***该系统将在15秒内自动引导***

    发送间隔字符,以防止autobooting




    !--- Wait until you see this message before

    //等待,直到你看到此消息之前
    !--- you issue the break sequence.

    //您发出中断序列
    !--- Ctrl+Break is entered using Hyperterm.

    //按Ctrl + Break是输入使用HYPERTERM的


    The system has been interrupted prior to initializing the flash file system to finish
    loading the operating system software:

    //该系统已被中断前的闪存文件系统初始化完成

    载入操作系统软件:
    flash_init
    load_helper
    boot
    switch:

    //flash_init

    load_helper

    boot

    switch:                                                                                                                                               Issue the flash_init command.//发出flash_init命令。                                                                                                                                                               switch: flash_init
    Initializing Flash...
    flashfs[0]: 143 files, 4 directories
    flashfs[0]: 0 orphaned files, 0 orphaned directories
    flashfs[0]: Total bytes: 3612672
    flashfs[0]: Bytes used: 2729472
    flashfs[0]: Bytes available: 883200
    flashfs[0]: flashfs fsck took 86 seconds
    ....done Initializing Flash.
    Boot Sector Filesystem (bs:) installed, fsid: 3
    Parameter Block Filesystem (pb:) installed, fsid: 4
    switch:

    //switch:flash_init

    初始化flash...

    flashfs [0]:143文件,4目录

    flashfs [0]:0孤立的文件,0孤儿目录

    flashfs [0]:总字节数:3612672

    flashfs [0]:字节使用:2729472

    flashfs [0]:可用字节:883200

    flashfs [0]:flashfs的fsck了八十六秒

    ....做初始化闪光。

    引导扇区文件系统(BS:分)安装,fsid:3

    参数块文件系统(铅:)安装,fsid:4

    switch:

    !--- This output is from a 2900XL switch. Output from

    //这个输出是从2900XL交换机。输出
    !--- other switches will vary slightly.

    //其他开关会略有不同。

  5. Issue the load_helper command.

    switch: load_helper switch:

    //发出load_helper命令。

    switch:load_helper

    switch:Issue the dir flash: command.

  6. Note: Make sure to type a colon ":" after the dir flash.

    The switch file system is displayed:

    switch: dir flash: Directory of flash:/ 2 -rwx 1803357 <date> c3500xl-c3h2s-mz.120-5.WC7.bin

    //注意:请务必输入一个冒号“:”之后的flash目录。

    该交换机的文件系统显示:

    switch:flash目录:

    闪存目录:/

    c3500xl-c3h2s-mz.120-5.WC7.bin" style="BACKGROUND-COLOR: #fff" jc="2 - rwx 1803357 <日期c3500xl - c3h2s - mz.120 - 5.WC7.bin" ic="2 -rwx 1803357 c3500xl-c3h2s-mz.120-5.WC7.bin" closure_uid_hkw6ll="145">2 - rwx 1803357 <日期c3500xl - c3h2s - mz.120 - 5.WC7.bin

    !--- This is the current version of software.

    //这是软件的{zx1}版本。

    4 -rwx 1131 <date> config.text !--- This is the configuration file.

    //这是配置文件。

    5 -rwx 109 <date> info 6 -rwx 389 <date> env_vars 7 drwx 640 <date> html 18 -rwx 109 <date> info.ver 403968 bytes available (3208704 bytes used) switch: !--- This output is from a 3500XL switch. Output from

    //这个输出是从3500XL交换机。输出 !--- other switches will vary slightly.

    //其他开关会略有不同

  7. Type rename flash:config.text flash:config.old to rename the configuration file.

    //键入重命名flash:config.text的flash:config.old重命名配置文件                                                           switch: rename flash:config.text flash:config.old
    switch:

    !--- The config.text file contains the password

    //该config.text的文件包含的密码
    !--- definition.

    //定义



  8. Issue the boot command to boot the system. //发出启动命令来启动系统。                                          switch: boot
    Loading "flash:c3500xl-c3h2s-mz.120-5.WC7.bin"...###############################
    ################################################################################
    ######################################################################
    File "flash:c3500xl-c3h2s-mz.120-5.WC7.bin" uncompressed and installed, entry po
    int: 0x3000
    executing...

    //switch:开机

    载入中“flash:c3500xl - c3h2s - mz.120 - 5.WC7.bin "...############################# ##

    ################################################## ##############################

    ################################################## ####################

    文件“闪光:c3500xl - c3h2s - mz.120 - 5.WC7.bin”压缩和安装,进入诠释:0x3000

    执行...

    !--- Output suppressed.

    //输出抑制
    !--- This output is from a 3500XL switch. Output from other switches

    //这个输出是从3500XL交换机。其他开关的输出
    !--- will vary slightly.

    //会略有不同



  9. Enter "n" at the prompt to abort the initial configuration dialog.

    //输入“N的提示”中止初始配框                                                                                                             --- System Configuration Dialog ---
    At any point you may enter a question mark '?' for help.
    Use ctrl-c to abort configuration dialog at any prompt.
    Default settings are in square brackets '[]'.
    Continue with configuration dialog? [yes/no]: n

    //---系统配置对话---

    在任何时候,你可以输入一个问号'?'寻求帮助。

    使用Ctrl - C来中止任何提示配置对话框。

    默认设置在'[]'.方括号

    继续配置对话框? [是/否]:不适用

    !--- Type "n" for no.

    Press RETURN to get started.

    !--- Press Return or Enter.

    Switch>

    !--- The Switch> prompt is displayed.



     

  10. At the switch prompt, type en to enter enable mode.

    //在交换机提示符下,键入enter进入启用模式                                                                              Switch>en  
    Switch#

  11. Type rename flash:config.old flash:config.text to rename the configuration file with its original name. //键入重命名flash:config.old闪光:config.text的重新命名其原始名称的配置文件 

  12. Switch#rename flash:config.old flash:config.text Destination filename [config.text] 

    //switch#重命名闪光:config.old闪存:config.text的

    目标文件名[config.text] !--- Press Return or Enter. Switch#

  13. Copy the configuration file into memory.

    //复制到内存中的配置文件。                                                                                                   Switch#copy flash:config.text system:running-config
    Destination filename [running-config]?

    //switch#复制flash:config.text的系统:运行配置

    目标文件名[运行配置]?

    !--- Press Return or Enter.

    1131 bytes copied in 0.760 secs
    Sw1#

    The configuration file is now reloaded.

    //现在该是重新加载配置文件

  14. Overwrite the current passwords that you do not know. Choose a strong password with at least one capital letter, one number, and one special character.

    //覆盖当前的密码,你不知道。选择一个强密码,至少有一个大写字母,一个数字,一个特殊字符。Note: Overwrite the passwords which are necessary. You need not overwrite all of the mentioned passwords.

    //注:覆盖的密码是必要的。你不必覆盖上述所有的密码。                                                                     Sw1# conf t


    !--- To overwrite existing secret password

    //要覆盖现有的秘密密码
    Sw1(config)#enable secret <new_secret_password>



    !--- To overwrite existing enable password

    //要覆盖现有的启用密码
    Sw1(config)#enable password <new_enable_password>



    !--- To overwrite existing vty password

    //要覆盖现有vty的密码
    Sw1(config)#line vty 0 15
    Sw1(config-line)#password <new_vty_password>

    Sw1(config-line)#login


    !--- To overwrite existing console password

    //要覆盖现有console的密码

    Sw1(config-line)#line con 0
    Sw1(config-line)#password <new_console_password>

  15. Write the running configuration to the configuration file with the write memory command.

    //编写运行配置到与读写存储器命令的配置文件。                                                                                 Sw1#write memory
    Building configuration...
    [OK]
    Sw1#

<#--{zx1}日志--> <#--推荐日志--> <#--引用记录--> <#--相关日志--> <#--推荐日志--> <#--推荐阅读--> <#--相关文章 2010.04.29="" by="" yangfan--=""> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构-->

郑重声明:资讯 【Catalyst系列交换机密码恢复技术】由 企业资讯策划团队 发布,版权归原作者及其所在单位,其原创性以及文中陈述文字和内容未经(企业库www.qiyeku.com)证实,请读者仅作参考,并请自行核实相关内容。若本文有侵犯到您的版权, 请你提供相关证明及申请并与我们联系(qiyeku # qq.com)或【在线投诉】,我们审核后将会尽快处理。
会员咨询QQ群:902340051 入群验证:企业库会员咨询.
免费注册只需30秒,立刻尊享
免费开通旗舰型网络商铺
免费发布无限量供求信息
每天查看30万求购信息