码迷,mamicode.com
首页 > 其他好文 > 详细

ASR9K忘记密码

时间:2018-10-14 14:05:49      阅读:401      评论:0      收藏:0      [点我收藏+]

标签:rev   end   receive   form   val   confirm   min   cycle   ORC   

Introduction

如果ASR9K是用本地用户名密码认证的,可以使用普通路由的重置密码的方法进入系统添加新用户。即修改寄存器值。

ASR9K

[0x82c05e7b3] Record Reboot History, reboot cause = 0x4000001, descr = Cause: User initiated forced reload all                                       Process: reload                                                                 Traceback: 70ed0001 f50bdrebooting 
句麮燞r薕鏗〞脱暤Bootstrap, Version 2.04(20140227:092320) [ASR9K ROMMON], 
Copyright (c) 1994-2014 by Cisco Systems, Inc.

Compiled Thu 27-Feb-14 14:53 by nidutta

Starting Initialization of FMAN0
***PPC PROCESSOR REV=2 load FMAN ucode***
Loading ucode for FMAN0, size: 6992, ver: 101.08.00
Starting Initialization of FMAN1
***PPC PROCESSOR REV=2 load FMAN ucode***
Loading ucode for FMAN1, size: 6992, ver: 101.08.00
Serdes Protocol: 0x10

CPU Reset Reason = 0x0001
Initializing GIGE SW...
PPC P40X0 (partnum 0x8023), Revision 02.00, (Core Version 02.00)

  Sys Clock:  100 Mhz
 Core Clock: 1500 Mhz
 Plat Clock:  800 Mhz
  LBC Clock:   25 Mhz
  MEM Clock: 1300 Mhz

System Bootstrap, Version 2.04(20140227:092320) [ASR9K ROMMON], 
Copyright (c) 1994-2014 by Cisco Systems, Inc.

Compiled Thu 27-Feb-14 14:53 by nidutta

Board Type:     0x100401
CPU Board => Rev: 0x3
=========
  FPGA ver: 01.0f
      CBC: 16.72

DTI programmed with latest image

TIMEX programmed with latest image
MLAN init done: ready to connect to the network
BCM5482PhyInit () : Port 0 --> SFP Not present
BCM5482PhyInit () : Port 1 --> SFP Not present

set_chassis_type: chassis_type=0xef0400 found=TRUE
ASR9001E (P40X0 PPC) RSP platform with 8192 Mb of main memory

program load complete, entry point: 0x100000, size: 0x2ac20
Set baud rate to: 9600
                      program load complete, entry point: 0x100000, size: 0x2ac20
Set baud rate to: 9600
                      MBI Candidate = disk0:asr9k-os-mbi-6.1.3/0x100000/mbiasr9k-rp.vm

    CARD_SLOT_NUMBER: 0
        CPU_INSTANCE: 1
MBI Validation starts ...

Disabling both Mgt LAN ports
Enabling Cluster Port 0 and disabling Port 1
BCM5482 cluster port-1 reset done !!
Port 0. SFP Not Ready (0:0). Init failed

dtsec_init_hw: configuring DTSEC (port 8) for: 1GB, Full Duplex
Interface link changed state to UP.
Interface link state up.

MBI validation sending request.
HIT CTRL-C to abort
.. [CTRL-C] 
 MBI Validation aborted

 Boot Status 15
Serial ID: FOC1745N39G
rommon B1 > 
rommon B1 > 

> rommon B2 > confreg 0x2142

You must reset or power cycle for new config to take effect
rommon B3 > sync
rommon B4 > boot

 Boot Status 16
program load complete, entry point: 0x100000, size: 0x2ac20
Set baud rate to: 9600
                      program load complete, entry point: 0x100000, size: 0x2ac20
Set baud rate to: 9600
                      MBI Candidate = disk0:asr9k-os-mbi-6.1.3/0x100000/mbiasr9k-rp.vm

    CARD_SLOT_NUMBER: 0
        CPU_INSTANCE: 1
MBI Validation starts ...

Disabling both Mgt LAN ports
Enabling Cluster Port 0 and disabling Port 1
BCM5482 cluster port-1 reset done !!
Port 0. SFP Not Ready (0:0). Init failed

dtsec_init_hw: configuring DTSEC (port 8) for: 1GB, Full Duplex
Interface link changed state to UP.
Interface link state up.

MBI validation sending request.
HIT CTRL-C to abort
..........
No MBI confirmation received from dSC

    CARD_SLOT_NUMBER: 0
        CPU_INSTANCE: 1
MBI Validation starts ...
Enabling Cluster Port 1 and disabling Port 0
BCM5482 cluster port-0 reset done !!
Port 1. SFP Not Ready (0:0). Init failed

dtsec_init_hw: configuring DTSEC (port 8) for: 1GB, Full Duplex
Interface link changed state to UP.
Interface link state up.

MBI validation sending request.
HIT CTRL-C to abort
.........
No MBI confirmation received from dSC

Try to load image as per local BOOT variable

 Boot Status 16
program load complete, entry point: 0x100000, size: 0x2ac20
Set baud rate to: 9600

MBI size from header = 21908852,Bootflash resident MBI filesize = 21908852
....................................................................................
program load complete, entry point: 0x204184, size: 0x14e3e74

 Boot Status 17
Config = SMP, Running = SMP
Board type: 0x00100401
Card Capability = 0x00000000
################################################################################################################
BSP: Board type : ASR9K-RSP-I
tracelogger: starting tracing in background ring mode
tracelogger running with args: -startring -F 1 -F 2 
              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.

           cisco Systems, Inc.
           170 West Tasman Drive
           San Jose, California 95134-1706

Cisco IOS XR Software for the Cisco XR ASR9K, Version 6.1.3
Copyright (c) 2017 by Cisco Systems, Inc.
Oct 14 03:30:00.127: Install Setup: Booting with committed software
Initializing Punt-switch ... 
Initializing Punt-switch ... 
Set RP CPU Cluster port in DSA mode
Init STP group for Cluster ports forwarding state control done
Cluster: Boot Request Filter configured
Cluster: Control Link monitor proto filter configured
Successfully initialized punt-switch(26 ports).
SPP has connected to PAKMAN....
SPP registered CPU port 4 with DPAA
SPP Port Idx 0 MAC addr --> 00:70:72:00:00:08
RP/0/RSP0/CPU0:Oct 14 03:29:29.909 : imio[64]: %PLATFORM-IMIO-3-OPERATION_NOTIFY : imio_main: cold start   
RP/0/RSP0/CPU0:Oct 14 03:31:18.912 : pwr_mgmt[377]: %PLATFORM-PWR_MGMT-2-MODULE_FAILURE : Power-module 0/PS0/M1/SP failure condition raised : Module input voltage out of range 
RP/0/RSP0/CPU0:Oct 14 03:31:31.602 : shelfmgr[403]: %PLATFORM-SHELFMGR_HAL-3-POWER_SUPPLY_REDUNDANCY : Power Supplies are not N+1 protected. 
RP/0/RSP0/CPU0:Oct 14 03:31:31.629 : envmon[211]: %PLATFORM-ENVMON-2-ENV_CONDITION : Outstanding environmental condition exists in the chassis 

ios con0/RSP0/CPU0 is now available

Press RETURN to get started.

!!!!!!!!!!!!!!!!!!!! In password recovery mode. Reset root-system username, password. !!!!!!!!!!!!!!!!!!!!

         --- Administrative User Dialog ---

  Enter root-system username: xu
  Enter secret: 
  Enter secret again: config register will be reset to 0x2102
Use the ‘admin‘ mode ‘configure‘ command to modify this configuration.

SYSTEM CONFIGURATION IN PROCESS

The startup configuration for this device is presently loading.
This may take a few minutes. You will be notified upon completion.

Please do not attempt to reconfigure the device until this process is complete.

User Access Verification

Username: xu 
Password: 

RP/0/RSP0/CPU0:ios#

SYSTEM CONFIGURATION COMPLETED

LC/0/0/CPU0:Oct 14 03:38:42.310 : ifmgr[210]: %PKT_INFRA-LINK-3-UPDOWN : Interface TenGigE0/0/1/0, changed state to Down 
LC/0/0/CPU0:Oct 14 03:38:42.850 : ifmgr[210]: %PKT_INFRA-LINK-3-UPDOWN : Interface TenGigE0/0/2/0, changed state to Down 
LC/0/0/CPU0:Oct 14 03:38:42.850 : ifmgr[210]: %PKT_INFRA-LINK-3-UPDOWN : Interface TenGigE0/0/2/1, changed state to Down 
LC/0/0/CPU0:Oct 14 03:38:42.851 : ifmgr[210]: %PKT_INFRA-LINK-3-UPDOWN : Interface TenGigE0/0/2/2, changed state to Down 
LC/0/0/CPU0:Oct 14 03:38:42.979 : ifmgr[210]: %PKT_INFRA-LINK-3-UPDOWN : Interface TenGigE0/0/2/0, changed state to Up 
LC/0/0/CPU0:Oct 14 03:38:42.984 : ifmgr[210]: %PKT_INFRA-LINK-3-UPDOWN : Interface TenGigE0/0/2/1, changed state to Up 
LC/0/0/CPU0:Oct 14 03:38:42.986 : ifmgr[210]: %PKT_INFRA-LINK-3-UPDOWN : Interface TenGigE0/0/2/2, changed state to Up 
RP/0/RSP0/CPU0:Oct 14 03:38:43.646 : ifmgr[247]: %PKT_INFRA-LINK-3-UPDOWN : Interface MgmtEth0/RSP0/CPU0/0, changed state to Down 
LC/0/0/CPU0:Oct 14 03:38:44.984 : ifmgr[210]: %PKT_INFRA-LINK-3-UPDOWN : Interface GigabitEthernet0/0/0/0, changed state to Down 
LC/0/0/CPU0:Oct 14 03:38:44.984 : ifmgr[210]: %PKT_INFRA-LINK-3-UPDOWN : Interface GigabitEthernet0/0/0/1, changed state to Down 
RP/0/RSP0/CPU0:Oct 14 03:38:50.123 : ifmgr[247]: %PKT_INFRA-LINK-3-UPDOWN : Interface MgmtEth0/RSP0/CPU0/0, changed state to Up 
LC/0/0/CPU0:Oct 14 03:38:57.450 : pfm_node_lc[293]: %PLATFORM-SFP-2-LOW_RX_POWER_ALARM : Set|envmon_lc[151627]|0x1029001|GigE0/0/0/1  

RP/0/RSP0/CPU0:ASR9001-B#admin
Sun Oct 14 03:40:45.545 UTC
RP/0/RSP0/CPU0:ASR9001-B(admin)#conf  
Sun Oct 14 03:40:52.448 UTC
RP/0/RSP0/CPU0:ASR9001-B(admin-config)#exit          
RP/0/RSP0/CPU0:ASR9001-B(admin)#config-register 0x2102
Sun Oct 14 03:41:07.561 UTC
Successfully set config-register to 0x2102 on node 0/RSP0/CPU0
RP/0/RSP0/CPU0:ASR9001-B(admin)#     
RP/0/RSP0/CPU0:ASR9001-B#admin reload location all 

ASR9K忘记密码

标签:rev   end   receive   form   val   confirm   min   cycle   ORC   

原文地址:http://blog.51cto.com/superxing/2299705

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!