zoukankan      html  css  js  c++  java
  • Cisco2960 交换机密码破解方法

    1. 启用超级终端并出现连接界面
    2. 拔掉交换机的电源
    3. 按下交换机上的 Mode按钮, 与此同时重新插上交换机的电源线
    4. 当交换机左边的sys 灯会慢慢的闪动, ( 细心的话会发现部分灯红色的闪过,按住mode按钮直到&sys 灯不闪动( 常亮状态). 否则提前松开的按钮的话会直接进入正常的启动,必须跳回步骤2 重来
    5. 可以松开Mode按钮之后系统将显示一些指示信息
    The system has been interrupted prior to initializing the flash
    initialize the flash file system, and finish loading software:
    -- 初始化flash 文件系统load_helper
    --- 加载帮助文件
    --- 启动设备进入正常的模式
    步骤
    Switch: flash_init
    Switch: dir flash:
    --- 查看 Flash 的文件名字可以用来确认文件名为config.text
    ---Switch: rename flash:config.text flash:oldconfig.text
    --- 把配置文件重命名当然你可以不改为oldconfig.text , 只要文件名和原来的不相同就可以
    Switch: boot
    --- 手动启动交换机
    由于配置文件改过了,所以交换机找不到默认的config.text 而出现配置的对话向导,选择n 然后回车然后我们就会绕过原来的 password 而进入到
    switch# en
    -- 可以进入特权模式
    Switch# rename flash:oldconfig.text flash:config.text
    /--- 恢复交换机配置文件
    Switch# copy flash:config.text system:running-config
    --- 保存配置到DRAM里-
    Switch# config t;这时就可以设置新的password 为 cisco
    Switch(config)#enable password cisco
    Switch(config)#enable secret CISCO
    Switch(config)# line con 0
    Switch(config)# password ciscoSwitch# copy run start
    --------------------------------------或用下面方法暂时清空密码
    待以后再做设置Switch(config)# no enable password
    --- 干掉特权模式
    Switch(config)# exit
    Switch# copy run start-config

    http://blog.51cto.com/zhuqianwei/1545273

  • 相关阅读:
    开发工具 内存,性能检测工具
    数据结构 二分法查找
    C语言 goto语句
    C语言 结构体中的零长度数组
    C语言 结构体(联合体)对齐规则
    C++ STL堆操作
    C语言 sscanf用法详解
    Sword 内核队列二
    Sword 内核队列一
    Sword libcurl回调函数相关知识
  • 原文地址:https://www.cnblogs.com/ddif/p/9406156.html
Copyright © 2011-2022 走看看