cisco1812Jルーターの工場出荷設定への戻し方
cisco1812Jルーターの初期設定をする為に最初に向上出荷状態に戻したい。
ルーターといえばbuffaroな私はciscoのルーターなんて初めてですので、
何がなんだかわからない。とりあえず、中古で3200円で見つけましたので
おおー安い。会社の毎年の資格の目標も今年はciscoにしたいかなーなんて思っておりましたので、
購入したのですが、届いてびっくり。
なんと、設定にはcisco様専用のシリアルケーブルが必要!!amazonのプライムで注文して一日停止。
cisco様専用シリアルケーブルお写真
CISCO様専用コンソール接続ケーブル
(片側がRJ45、もう片側がいわゆるシリアル(DB9)になっております)
届いてパソコンにつなげようとしたら今度はパソコン側にシリアルの指す所が無い。
しかし、マイコンピューターのデバイスマネージャーにはCOM1で認識されております。
もしやと思いパソコンを開けてみると、マザーボードにはしっかりと9本ピンのソケットが準備されておりましたが、
パソコンの筺体にはDB9の端子が無かったのです。
がーーん、で追加でUSB→シリアル変換のケーブルを購入してやっと接続できました。いつかはCOM1使ってやるぞ。
(ここの部品を調達するよりもUSB変換のほうが安いので・・・)
前置きが長くなりましたがここからが本題です。

 

手順
①CISCO1812Jの電源が切れていることを確認する。
②接続
 パソコン→USBシリアル変換ケーブル→CISCO1812J
③テラタームを起動してシリアルポート設定で以下を確認
 COMポートに「USBシリアル変換ケーブル」が認識されているポートを指定
 データ:8ビット
 パリティー:none
 ストップ:1bit
 フロー制御:none
④CISCO1812Jの電源を入れる。
⑤テラタームの画面に以下のような感じで文字が出始める。
System Bootstrap, Version 12.3(8r)YH8, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2006 by cisco Systems, Inc.
C1800 platform with 131072 Kbytes of main memory with parity disabled
⑥ここで「ALT+B」を押す。
 何度も押しているとなんかたらタームが死んだような動作になったりしたので、
 控えめに。電源投入後4数えてALT+Bが良いみたい。
⑦コマンド投入
 monitor: command "boot" aborted due to user interrupt rommon 1 >
 と出るとコマンドが入れられるので「confreg 0x2142」を投入
  0x2142 はNVRAMから設定を読んでくれない。←工場出荷状態
  0x2102 はNVRAMから設定を読んでくれる。←後でこっちで起動する
  なので、初回2142で起動して色々設定した後にwriteしておいて、
  もう一度ALT+Bをやって2102にしておくと良いみたい。
 You must reset or power cycle for new config to take effect rommon 2 >
 と出るので「reset」を投入
⑧ずらずらーっと流れて
 Would you like to enter the initial configuration dialog?
 と出るので「no」を投入。
⑨「Press RETURN to get started!」と出てからまたずらずらーっと流れて
*May  5 20:57:07.731: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet2, changed state to down
で止まる。
でちょっと固まってみてたけど進まないみたいなので、さっき
「Press RETURN to get started!」と言っていたのを思い出しenterキーを押すと先に進める。
⑩Router> と出て一安心。
⑪「enable」を投入
⑫「erase startup-config」を投入
⑬「write」も投入。念のためだ。
⑭「reload」を投入
で再起動 ここでは上のCTRL+Bの場面は「0x2102 」で起動。
⑮「「enable」を投入
⑯「show config」を投入するとほぼ最小限のconfigになっている。

今回のログ


System Bootstrap, Version 12.3(8r)YH8, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2006 by cisco Systems, Inc.
C1800 platform with 131072 Kbytes of main memory with parity disabled

Upgrade ROMMON initialized

monitor: command "boot" aborted due to user interrupt
rommon 1 > confreg 0x2142


You must reset or power cycle for new config to take effect
rommon 2 > reset

System Bootstrap, Version 12.3(8r)YH8, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2006 by cisco Systems, Inc.
C1800 platform with 131072 Kbytes of main memory with parity disabled

Upgrade ROMMON initialized
program load complete, entry point: 0x80012000, size: 0xc0c0

Initializing ATA monitor library.......
program load complete, entry point: 0x80012000, size: 0xc0c0

Initializing ATA monitor library.......

program load complete, entry point: 0x80012000, size: 0xe96e64
Self decompressing the image : ################################################################################################################################################################################################################################################################################################### [OK]

              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 Software, C181X Software (C181X-ADVIPSERVICESK9-M), Version 12.4(4)T2, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2006 by Cisco Systems, Inc.
Compiled Wed 22-Feb-06 15:21 by ccai
Image text-base: 0x80012124, data-base: 0x81C73CDC


This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

If you require further assistance please contact us by sending email to
export@cisco.com.

Cisco 1812-J (MPC8500) processor (revision 0x400) with 118784K/12288K bytes of memory.
Processor board ID FHK110418Y9, with hardware revision 0000

10 FastEthernet interfaces
1 ISDN Basic Rate interface
31360K bytes of ATA CompactFlash (Read/Write)


         --- System Configuration Dialog ---

Would you like to enter the initial configuration dialog? [yes/no]: no


Press RETURN to get started!


*May  6 01:09:09.927: %VPN_HW-6-INFO_LOC: Crypto engine: onboard 0  State changed to: Initialized
*May  6 01:09:09.931: %VPN_HW-6-INFO_LOC: Crypto engine: onboard 0  State changed to: Enabled sslinit fn

*May  6 01:09:17.343: %LINK-3-UPDOWN: Interface FastEthernet0, changed state to up
*May  6 01:09:17.343: %LINK-3-UPDOWN: Interface FastEthernet1, changed state to up
*May  6 01:09:18.343: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0, changed state to up
*May  6 01:09:18.343: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1, changed state to down
*May  6 01:09:19.399: USB init complete.
*May  6 01:09:31.551: %LINK-5-CHANGED: Interface BRI0, changed state to administratively down
*May  6 01:09:31.723: %SYS-5-RESTART: System restarted --
Cisco IOS Software, C181X Software (C181X-ADVIPSERVICESK9-M), Version 12.4(4)T2, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2006 by Cisco Systems, Inc.
Compi
Router>led Wed 22-Feb-06 15:21 by ccai
*May  6 01:09:31.723: %SNMP-5-COLDSTART: SNMP agent on host Router is undergoing a cold start
*May  6 01:09:31.747: %CRYPTO-6-ISAKMP_ON_OFF: ISAKMP is OFF
*May  6 01:09:32.071: %LINK-5-CHANGED: Interface FastEthernet0, changed state to administratively down
*May  6 01:09:32.551: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0, changed state to down
*May  6 01:09:32.751: %LINK-5-CHANGED: Interface FastEthernet1, changed state to administratively down
*May  6 01:09:33.071: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0, changed state to down
*May  6 01:09:33.487: %LINK-3-UPDOWN: Interface FastEthernet9, changed state to up
*May  6 01:09:33.487: %LINK-3-UPDOWN: Interface FastEthernet8, changed state to up
*May  6 01:09:33.487: %LINK-3-UPDOWN: Interface FastEthernet7, changed state to up
*May  6 01:09:33.491: %LINK-3-UPDOWN: Interface FastEthernet6, changed state to up
*May  6 01:09:33.491: %LINK-3-UPDOWN: Interface FastEthernet5, changed state to up
*May  6 01:09:33.491: %LINK-3-UPDOWN: Interface FastEthernet4, changed state to up
*May  6 01:09:33.491: %LINK-3-UPDOWN: Interface FastEthernet3, changed state to up
*May  6 01:09:33.495: %LINK-3-UPDOWN: Interface FastEthernet2, changed state to up
*May  6 01:09:34.487: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet9, changed state to down
*May  6 01:09:34.487: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet8, changed state to down
*May  6 01:09:34.487: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet7, changed state to down
*May  6 01:09:34.491: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet6, changed state to down
*May  6 01:09:34.491: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet5, changed state to down
*May  6 01:09:34.491: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet4, changed state to down
*May  6 01:09:34.491: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet3, changed state to down
*May  6 01:09:34.495: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet2, changed state to down
Router>enable
Router#erase startup-config
Erasing the nvram filesystem will remove all configuration files! Continue? [confirm]
[OK]
Erase of nvram: complete
Router#
*May  6 01:10:13.631: %SYS-7-NV_BLOCK_INIT: Initialized the geometry of nvram
Router#write
Building configuration...
[OK]
Router#reload
Proceed with reload? [confirm]

*May  6 01:10:48.167: %SYS-5-RELOAD: Reload requested by console. Reload Reason: Reload Command.
System Bootstrap, Version 12.3(8r)YH8, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2006 by cisco Systems, Inc.
C1800 platform with 131072 Kbytes of main memory with parity disabled

Upgrade ROMMON initialized

monitor: command "boot" aborted due to user interrupt
rommon 1 > confreg 0x2102


You must reset or power cycle for new config to take effect
rommon 2 > reset

System Bootstrap, Version 12.3(8r)YH8, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2006 by cisco Systems, Inc.
C1800 platform with 131072 Kbytes of main memory with parity disabled

Upgrade ROMMON initialized
program load complete, entry point: 0x80012000, size: 0xc0c0

Initializing ATA monitor library.......
program load complete, entry point: 0x80012000, size: 0xc0c0

Initializing ATA monitor library.......

program load complete, entry point: 0x80012000, size: 0xe96e64
Self decompressing the image : ################################################################################################################################################################################################################################################################################################### [OK]

              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 Software, C181X Software (C181X-ADVIPSERVICESK9-M), Version 12.4(4)T2, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2006 by Cisco Systems, Inc.
Compiled Wed 22-Feb-06 15:21 by ccai
Image text-base: 0x80012124, data-base: 0x81C73CDC


This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

If you require further assistance please contact us by sending email to
export@cisco.com.

Cisco 1812-J (MPC8500) processor (revision 0x400) with 118784K/12288K bytes of memory.
Processor board ID FHK110418Y9, with hardware revision 0000

10 FastEthernet interfaces
1 ISDN Basic Rate interface
31360K bytes of ATA CompactFlash (Read/Write)

 

Press RETURN to get started!


*May  6 01:12:07.923: %VPN_HW-6-INFO_LOC: Crypto engine: onboard 0  State changed to: Initialized
*May  6 01:12:07.931: %VPN_HW-6-INFO_LOC: Crypto engine: onboard 0  State changed to: Enabled sslinit fn

*May  6 01:12:15.343: %LINK-3-UPDOWN: Interface FastEthernet0, changed state to up
*May  6 01:12:15.343: %LINK-3-UPDOWN: Interface FastEthernet1, changed state to up
*May  6 01:12:16.343: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0, changed state to up
*May  6 01:12:16.343: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1, changed state to down
*May  6 01:12:17.395: USB init complete.
*May  6 01:12:21.011: %LINK-5-CHANGED: Interface FastEthernet0, changed state to administratively down
*May  6 01:12:21.767: %SYS-5-CONFIG_I: Configured from memory by console
*May  6 01:12:21.883: %LINK-5-CHANGED: Interface BRI0, changed state to administratively down
*May  6 01:12:22.055: %SYS-5-RESTART: System restarted --
Cisco IOS Software, C181X Softwar
Router>e (C181X-ADVIPSERVICESK9-M), Version 12.4(4)T2, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2006 by Cisco Systems, Inc.
Compiled Wed 22-Feb-06 15:21 by ccai
*May  6 01:12:22.055: %SNMP-5-COLDSTART: SNMP agent on host Router is undergoing a cold start
*May  6 01:12:22.067: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0, changed state to down
*May  6 01:12:22.071: %SYS-6-BOOTTIME: Time taken to reboot after reload =   93 seconds
*May  6 01:12:22.075: %CRYPTO-6-ISAKMP_ON_OFF: ISAKMP is OFF
*May  6 01:12:22.299: %LINK-5-CHANGED: Interface FastEthernet1, changed state to administratively down
*May  6 01:12:22.883: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0, changed state to down
*May  6 01:12:23.823: %LINK-3-UPDOWN: Interface FastEthernet9, changed state to up
*May  6 01:12:23.823: %LINK-3-UPDOWN: Interface FastEthernet8, changed state to up
*May  6 01:12:23.827: %LINK-3-UPDOWN: Interface FastEthernet7, changed state to up
*May  6 01:12:23.827: %LINK-3-UPDOWN: Interface FastEthernet6, changed state to up
*May  6 01:12:23.827: %LINK-3-UPDOWN: Interface FastEthernet5, changed state to up
*May  6 01:12:23.827: %LINK-3-UPDOWN: Interface FastEthernet4, changed state to up
*May  6 01:12:23.831: %LINK-3-UPDOWN: Interface FastEthernet3, changed state to up
*May  6 01:12:23.831: %LINK-3-UPDOWN: Interface FastEthernet2, changed state to up
*May  6 01:12:24.823: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet9, changed state to down
*May  6 01:12:24.823: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet8, changed state to down
*May  6 01:12:24.827: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet7, changed state to down
*May  6 01:12:24.827: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet6, changed state to down
*May  6 01:12:24.827: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet5, changed state to down
*May  6 01:12:24.827: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet4, changed state to down
*May  6 01:12:24.831: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet3, changed state to down
*May  6 01:12:24.831: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet2, changed state to down
Router>enable
Router#show config
Using 951 out of 196600 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
!
resource policy
!
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
ip subnet-zero
!
!
ip cef
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface FastEthernet1
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface BRI0
 no ip address
 encapsulation hdlc
 shutdown
!
interface FastEthernet2
!
interface FastEthernet3
!
interface FastEthernet4
!
interface FastEthernet5
!
interface FastEthernet6
!
interface FastEthernet7
!
interface FastEthernet8
!
interface FastEthernet9
!
interface Vlan1
 no ip address
!
ip classless
!
!
no ip http server
no ip http secure-server
!
!
!
!
!
control-plane
!
!
line con 0
line aux 0
line vty 0 4
!
no scheduler allocate
end