- 2008-07-31 (木)
- ネットワークねた
Ciscoルータでログインパスワードを忘れてしまった場合や、ヤフオクなどで購入したルータにパスワードが設定されていて、ログイン出来ない、なんて時はパスワードリカバリをすることになるわけですが、そのパスワードリカバリを無効にする隠しコマンドがあるようです。
No Service Password-Recovery - Cisco Systems
コマンドは以下な感じ。
R1(config)# no service password-recovery
WARNING:
Executing this command will disable password recovery mechanism.
Do not execute this command without another plan forpassword recovery.
Are you sure you want to continue? [yes/no]: y
R1(config)#
実機で試してみたところ、「no service password-recovery」コマンドを投入してReloadしてみると、Breakキーをいくら連打しても、Rommonへ落ちてくれませんでした。
Router#conf t
Router(config)#no service password-recovery
WARNING:
Executing this command will disable password recovery mechanism.
Do not execute this command without another plan for
password recovery.Are you sure you want to continue? [yes/no]: y
Router(config)#^Z
Router#
Router#
Router#wr
Building configuration...
[OK]
Router#sh
Router#show run
Router#show running-config
Building configuration...Current configuration : 553 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
no service password-recovery
!
hostname Router
!
boot-start-marker
boot-end-marker
!
enable password cisco
!
no aaa new-model
memory-size iomem 10
ip cef
!
!
!
!
Router#
Proceed with reload? [confirm]System Bootstrap, Version 11.3(2)XA4, RELEASE SOFTWARE (fc1)
Copyright (c) 1999 by cisco Systems, Inc.
TAC:Home:SW:IOS:Specials for info
C2600 platform with 65536 Kbytes of main memory
PASSWORD RECOVERY FUNCTIONALITY IS DISABLED
PC = 0xfff14df8, Vector = 0x500, SP = 0x80004374
program load complete, entry point: 0x80008000, size: 0xcfbc98
Self decompressing the image : #################PC = 0x80009ec0, Vector = 0x500, SP = 0x83fff830
########################
- Newer: 紙copiのオンライン版がリリース!
- Older: Ciscoルータで、パスワードリカバリを無効にするコマンド
Comment:0
Trackback:0
- TrackBack URL for this entry
- http://www.itbook.info/cgi-bin/mt/mt-tb.cgi/724
- Listed below are links to weblogs that reference
- Ciscoルータで、パスワードリカバリを無効にするコマンド from ネットワークエンジニアを目指して:ブログ
