キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 
cancel
12880
閲覧回数
19
いいね!
1
コメント
ykanme
Cisco Employee
Cisco Employee

 

 

概要

本ドキュメントは、顧客出荷用に ASR-9001(-S) に残るログを可能な限り削除し、 IOS-XR 4.3.2 を Install 後、

FPD を最新の状態にアップグレードする手順を記載しています。

※例として IOS-XR 4.3.2 を使用していますが、他の Version を使用する場合でも手順は同様です。

※ASR-9001(-S) 以外の ASR9000 シリーズや CRS シリーズにおいても流用可能です。

 

必要機材

  • ASR-9001(-S)
  • ASR-9001-FAN (Qty 1)
  • A9K-750W-AC (Qty 2 (Minimum 1))
  • TFTP Server への接続 (MgmtEth0 を使用)
  • ASR-9001(-S) へのコンソール接続                          

     

    必要なファイル (CCO から DL できます)

    • asr9k-mini-px.vm-4.3.2
    • asr9k-fpd-px.pie-4.3.2

     

    1. ROMMON モードへの移行

    電源投入後に Ctrl+C が表示されたタイミングで Ctrl+C を入力し ROMMON モードに移行します

     

    ROMMON モードへの移行

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

       Boot Status 15

    Serial ID: FOCxxxxxxxx
     

     

    rommon B1 >

     

     

    2. ROMMON の環境変数設定

    作業環境に合わせて ROMMON の変数を設定します

     

    ROMMON の環境変数設定例

    rommon B1 > set << 初期状態を確認

    rommon B2 > unset BOOT

    rommon B3 > IP_ADDRESS=10.0.0.1                << 機器に設定する IP Address

    rommon B4 > IP_SUBNET_MASK=255.0.0.0      << 機器に設定する Subnet MASK

    rommon B5 > DEFAULT_GATEWAY=10.0.0.100  << 機器に設定する Gateway

    rommon B6 > TURBOBOOT=on,disk0,format    << , と文字列の後にスペースを入れないよう注意

    rommon B7 > confreg 0x102

    rommon B8 > sync

    rommon B9 > set << 設定した内容が反映されていることを確認

     

    3. TURBO BOOT

    既存の設定を無視するオプションをつけて IOS-XR をインストール ※TFTP Server は環境に合わせます

    ※ -o none は Administration Configuration を読込まないオプション
    ※ -a none は Secure Domain Router(SDR) Configuration を読込まないオプション

     

    TURBO BOOT 実行例

    rommon B10 > boot tftp://10.0.0.10/asr9k-mini-px.vm-4.3.2 -a none -o none

     

    4. 仮 ID と Password を設定してログイン

    仮 ID と Password を設定してログインします(後で削除します)

     

    ID/Password の設定例

    !!! NO root-system username is configured. Need to configure root-system username. !!!

      --- Administrative User Dialog ---

      Enter root-system username: cisco
      Enter secret: cisco
      Enter secret again: cisco

    Username: cisco
    Password: cisco

    RP/0/RSP0/CPU0:ios#

     

    5. ユーザ領域のフォーマット

    LCの起動を待つ間にユーザ領域を初期化する


    NVRAM のフォーマット

    NVRAM のフォーマット

    RP/0/RSP0/CPU0:ios#erase nvram:

    Erase operation will destroy IOS/ENA files in "nvram:" on node0_RSP0_CPU0.

    Continue?[confirm] [Enter Key]

    Warning: Secure files exist on "nvram:" on node0_RSP0_CPU0 will be destroyed.

    Continue?[confirm] [Enter Key]

    Erase of nvram: on node0_RSP0_CPU0 complete

     

    NVRAM(Raw AREA) のフォーマット

    NVRAM(Raw AREA) のフォーマット

    RP/0/RSP0/CPU0:ios#erase nvram-raw:

    Erase operation will destroy IOS/ENA files in "nvram-raw:".

    Continue?[confirm] [Enter Key]

    erasing nvram raw partition

     

    disk0a のフォーマット

    disk0a のフォーマット

    RP/0/RSP0/CPU0:ios#format disk0a:

     

    Format will destroy all data on "disk0a:". Continue? [confirm] [Enter Key]

     

    Device partition disk0a: is now formated and is available for use.

     

    Harddisk のフォーマット

    Harddisk のフォーマット

    RP/0/RSP0/CPU0:ios#format harddisk:

     

    Format will destroy all data on "harddisk:". Continue? [confirm] [Enter Key]

     

    Device partition harddisk: is now formated and is available for use.

     

    configflash のフォーマット

    configflash のフォーマット

    RP/0/RSP0/CPU0:ios#format configflash:

     

    Format operation may take a while. Continue? [confirm] [Enter Key]


    Format will destroy all data on "configflash:". Continue? [confirm] [Enter Key]

    Formatting sector 1

     

     

    6. LC のステータスを確認

    LC の State が IOS XR RUN になっていることを確認します

     

    LC のステータスを確認

    RP/0/RSP0/CPU0:ios#show platform

    Node           Type                    State           Config State

    -----------------------------------------------------------------------------

    0/RSP0/CPU0    ASR9001-RP(Active)      IOS XR RUN      PWR,NSHUT,MON

    0/0/CPU0       ASR9001-LC              IOS XR RUN      PWR,NSHUT,MON

     

    7. LC 上のユーザ領域をフォーマット

    LC 上のBootflash をフォーマットします

     

    LC 上の Bootflash をフォーマット

    RP/0/RSP0/CPU0:ios#format bootflash: location 0/0/cpu0

     

    Format operation may take a while. Continue? [confirm] [Enter Key]

     

    Format will destroy all data on "bootflash:". Continue? [confirm] [Enter Key]
    Formatting sector 1

    bootflash on node0_0_CPU0 formatted successfully.

     

    8. FPD の Version を確認

    FPD の Version を確認し、Upg/Dng に1項目でもYes がある場合はアップグレード(9)へ進む。
    全て No の場合は、FPD のアップグレードは不要なのでシステム再起動(11)へ進む。

     

    FPD の Version を確認

    RP/0/RSP0/CPU0:ios#admin show hw-module fpd location all

    ===================================== ==========================================

                                          Existing Field Programmable Devices

                                          ==========================================

                                           HW                      Current SW   Upg/

    Location     Card Type               Version Type Subtype Inst   Version    Dng?

    ============ ======================== ======= ==== ======= ==== =========== ====

    0/RSP0/CPU0  ASR9001-RP                 1.0   lc   fpga2   0       1.14     No

                                                  lc   cbc     0     22.114     No

                                                  lc   rommon  0       1.36     Yes

    --------------------------------------------------------------------------------

    0/FT0/SP     ASR-9001-FAN               1.0   ft   cbc     7     24.114     No

    --------------------------------------------------------------------------------

    0/0/CPU0     ASR9001-LC                 1.0   lc   cbc     0     23.114     No

                                                  lc   fpga2   0       1.17     Yes

                                                  lc   fpga4   0       2.07     No

                                                  lc   rommon  0       1.36     Yes

    --------------------------------------------------------------------------------

    NOTES:

    1. One or more FPD needs an upgrade or a downgrade. This can be accomplished

       using the "admin> upgrade hw-module fpd <fpd> location <loc>" CLI.

     

    9. FPDパッケージのインストール

    TFTP server へ接続する為のIP アドレスの設定と TFTP Server への疎通を確認

    IP アドレスの設定と TFTP Server への疎通確認

    RP/0/RSP0/CPU0:ios#conf t

    RP/0/RSP0/CPU0:ios(config)#interface MgmtEth 0/RSP0/CPU0/0

    RP/0/RSP0/CPU0:ios(config-if)#ipv4 add 10.0.0.1/8 << 作業環境に合わせる

    RP/0/RSP0/CPU0:ios(config-if)#no shut

    RP/0/RSP0/CPU0:ios(config-if)#commit

    RP/0/RSP0/CPU0:ios(config-if)#end

    RP/0/RSP0/CPU0:ios#

    RP/0/RSP0/CPU0:ios#ping 10.0.0.10   << TFTP Server の IPアドレス

    Type escape sequence to abort.

    Sending 5, 100-byte ICMP Echos to 10.0.0.10, timeout is 2 seconds:

    !!!!! << ! が表示され、疎通があることを確認

    Success rate is 100 percent (5/5), round-trip min/avg/max = 1/3/15 ms

    RP/0/RSP0/CPU0:ios#

     

    FPD パッケージのインストール

    FPD パッケージのインストール

    RP/0/RSP0/CPU0:ios#admin install add tftp://1.0.0.10/asr9k-fpd-px.pie-4.3.2 actvate sync

    <snip>

    Info:    

    Info:         disk0:asr9k-fpd-px-4.3.2

    Info:    

    Info:     The package can be activated across the entire router.

    Info:    

    The operation can still be aborted (ctrl-c for options)Part 1 of 2 (add software)

    : Completed successfully

    <snip>
    Part 2 of 2 (activate software): Completed successfully
    Install operation 1 completed successfully << 成功したことを確認
    RP/0/RSP0/CPU0:ios#

     

    FPD パッケージのインストール確認とコミット

    FPD パッケージのインストール確認とコミット

    RP/0/RSP0/CPU0:ios#show install active summary

    Default Profile:

    SDRs:

       Owner

    Active Packages:

       disk0:asr9k-mini-px-4.3.2

       disk0:asr9k-fpd-px-4.3.2    << パッケージが追加されていることを確認

     

    RP/0/RSP0/CPU0:ios#admin install commit

    <snip>

    \ 100% complete: The operation can no longer be aborted (ctrl-c for options)
    Install operation 2 completed successfully at 00:06:24 UTC Mon Dec 16 2013.

    RP/0/RSP0/CPU0:ios#

     

    10. FPD のアップグレード

    Version Up が必要な FPD を全てアップグレードする

     

    FPD のアップグレード

    RP/0/RSP0/CPU0:ios#admin upgrade hw-module fpd all location all
    ***** UPGRADE WARNING MESSAGE: *****

    <snip>
    NOTE: Chassis CLI will not be accessible while upgrade is in progress.

    Continue? [confirm] [Enter Key]

    This can take some time for a full chassis.

    Ensure that system is not power cycled during the upgrades.

    Please consult the documentation for more information.

    Continue ? [no]: yes

    <snip>

    Starting the upgrade/download of following FPD:

    =========== ==== ======= ======= =========== =========

                                       Current   Upg/Dng

    Location   Type Subtype  Upg/Dng   Version   Version

    =========== ==== ======= ======= =========== =========

    0/RSP0/CPU0 lc   rommon  upg         1.36       2.01  

    ------------------------------------------------------

    Starting the upgrade/download of following FPDs:

    =========== ==== ======= ======= =========== =========

                                       Current   Upg/Dng

    Location   Type Subtype  Upg/Dng   Version   Version

    =========== ==== ======= ======= =========== =========

    0/0/CPU0   lc   fpga2    upg         1.17       1.18  

    0/0/CPU0   lc   rommon   upg         1.36       2.01

    ------------------------------------------------------

    FPD upgrade in progress. Max timeout remaining 89 min.

    FPD upgrade in progress. Max timeout remaining 88 min.

    FPD upgrade in progress. Max timeout remaining 87 min.


    Successfully upgraded rommon for ASR9001-RP on location 0/RSP0/CPU0 from 1.36 to 2.01

    Successfully upgraded fpga2 for ASR9001-LC on location   0/0/CPU0 from 1.17 to 1.18

    Successfully upgraded rommon for ASR9001-LC on location  0/0/CPU0 from 1.36 to 2.01

     

    FPD upgrade has ended. << この段階で終了しているが、対象モジュールで全て成功ログが出力されたことを確認する

                                                        失敗していた場合はリトライする。※出力例では対象モジュールは3つ

    RP/0/RSP0/CPU0:ios#

     

    11. システム再起動

     

    システム再起動

    RP/0/RSP0/CPU0:ios#admin reload location all
    Preparing system for backup. This may take a few minutes especially for large configurations.

           Status report: node0_RSP0_CPU0: START TO BACKUP

           Status report: node0_RSP0_CPU0: BACKUP HAS COMPLETED SUCCESSFULLY

    [Done]

    Proceed with reload? [confirm] [Enter Key]

     

    12. システムにログイン

    手順4で設定した仮 ID と Password を使用してログインし、「SYSTEM CONFIGURATION COMPLETED」

    メッセージが表示されるまで待ちます

     

    LC 上の Bootflash をフォーマット

    User Access Verification

     

    Username: cisco

    Password: cisco

     

    RP/0/RSP0/CPU0:ios#

    SYSTEM CONFIGURATION COMPLETED << このメッセージの出力前後で他のログも出力されます

    RP/0/RSP0/CPU0:ios#

     

    13. Execモードの設定初期化

    Exec モードのコンフィグと履歴を初期化します

     

    Execモードの設定初期化

    RP/0/RSP0/CPU0:ios#conf t

    RP/0/RSP0/CPU0:ios(config)#commit replace

     

    This commit will replace or remove the entire running configuration. This

    operation can be service affecting.

    Do you wish to proceed? [no]: yes

    <snip>

    RP/0/RSP0/CPU0:ios(config)#end

    RP/0/RSP0/CPU0:ios#

    RP/0/RSP0/CPU0:ios#clear configuration commits diskspace 100000

    Deleting 1 rollback points '1000000001' to '1000000001'

    1 KB of disk space will be freed. Continue with deletion?[confirm] [Enter Key]

    RP/0/RSP0/CPU0:ios#

    RP/0/RSP0/CPU0:ios#delete disk0:config/lr/history/config_history

    Delete disk0:/config/lr/history/config_history[confirm] [Enter Key]

    RP/0/RSP0/CPU0:ios#

    RP/0/RSP0/CPU0:ios#clear configuration inconsistency

     

    Creating any missing directories in Configuration File system...OK

    Initializing Configuration Version Manager...OK

    Syncing commit database with running configuration...OK

    RP/0/RSP0/CPU0:ios#

     

    14. Adminモードの設定初期化

    Admin モードのコンフィグと履歴を初期化します

     

    Adminモードの設定初期化

    RP/0/RSP0/CPU0:ios#admin

    RP/0/RSP0/CPU0:ios (admin)#conf t

    RP/0/RSP0/CPU0:ios(admin-config)#commit replace

     

    This commit will replace or remove the entire admin running configuration. This

    operation can be service affecting.

    Do you wish to proceed? [no]: yes

    <snip>

    RP/0/RSP0/CPU0:ios(admin-config)#end

    RP/0/RSP0/CPU0:ios(admin)#

    RP/0/RSP0/CPU0:ios(admin)#clear configuration commits diskspace 100000

    Deleting 1 rollback points '2000000001' to '2000000001'

    1 KB of disk space will be freed. Continue with deletion?[confirm]

    RP/0/RSP0/CPU0:ios(admin)#

    RP/0/RSP0/CPU0:ios(admin)#delete disk0:config/ad/admin/history/config_history

    Delete disk0:/config/ad/admin/history/config_history[confirm] [Enter Key]

    RP/0/RSP0/CPU0:ios(admin)#

    RP/0/RSP0/CPU0:ios(admin)#clear configuration inconsistency

     

    Creating any missing directories in ADMIN Configuration File system...OK

    Initializing ADMIN Configuration Version Manager...OK

    Syncing ADMIN commit database with running configuration...OK

    RP/0/RSP0/CPU0:ios(admin)#

     

    15. 正常性の確認

    モジュールの状態確認

    モジュールのステートが全て [IOS XR RUN] もしくは [READY] であることを確認します

     

    モジュール状態の確認

    RP/0/RSP0/CPU0:ios(admin)#show platform

    Node           Type                     State           Config State

    -----------------------------------------------------------------------------

    0/RSP0/CPU0     ASR9001-RP(Active)      IOS XR RUN      PWR,NSHUT,MON

    0/FT0/SP       FAN TRAY                 READY          

    0/0/CPU0       ASR9001-LC               IOS XR RUN      PWR,NSHUT,MON

    0/PM0/SP       A9K-750W-AC              READY           PWR,NSHUT,MON

    0/PM1/SP       A9K-750W-AC              READY           PWR,NSHUT,MON

     

    メモリサイズの確認

    メモリが 8192M 認識されていることを確認します

     

    メモリサイズの確認

    RP/0/RSP0/CPU0:ios(admin)#show memory summary

    Physical Memory: 8192M total (6815M available)

    Application Memory : 8003M (6815M available)

    Image: 59M (bootram: 59M)

    Reserved: 128M, IOMem: 0, flashfsys: 0

    Total shared window: 33M

     

    パッケージの確認

    パッケージの Activate 状態を確認する

     

    パッケージの確認

    RP/0/RSP0/CPU0:ios(admin)#show install active summary

    Default Profile:

    SDRs:

       Owner

    Active Packages:

       disk0:asr9k-mini-px-4.3.2

       disk0:asr9k-fpd-px-4.3.2   << FPD のアップグレード手順を実行しなかった場合、この出力はありません

     

    FPD の確認

    Upg/Dng が全て No であり、FPDが最新の状態であることを確認します

     

    FPD の確認

    RP/0/RSP0/CPU0:ios(admin)#show hw-module fpd location all

     

    ===================================== ==========================================

                                         Existing Field Programmable Devices

                                         ===========================================

                                           HW                        Current SW Upg/

    Location     Card Type               Version  Type Subtype Inst   Version   Dng?

    ============ ======================== ======= ==== ======= ==== =========== ====

    0/RSP0/CPU0 ASR9001-RP                 1.0    lc   fpga2   0       1.14     No

                                                  lc   cbc     0      22.114    No

                                                  lc   rommon  0       2.01     No

    --------------------------------------------------------------------------------

    0/FT0/SP     ASR-9001-FAN              1.0    ft   cbc     7      24.114    No

    --------------------------------------------------------------------------------

    0/0/CPU0     ASR9001-LC                1.0    lc   cbc     0      23.114    No

                                                  lc   fpga2   0       1.18     No

                                                  lc   fpga4   0       2.07     No

                                                  lc   rommon  0       2.01     No

    --------------------------------------------------------------------------------

     

    Inventory 情報の確認

    Inventory 情報が正常に取得できることを確認します

     

    Inventory 情報の確認

    RP/0/RSP0/CPU0:ios(admin)#show inventory

    NAME: "module 0/RSP0/CPU0", DESCR: "ASR 9001, Route Switch Processor with 8GB memory"

    PID: ASR9001-RP, VID: V01 , SN: FOCxxxxxxxx

     

    NAME: "fantray 0/FT0/SP", DESCR: "ASR-9001 Fan Tray"

    PID: ASR-9001-FAN, VID: V01 , SN: FOCxxxxxxxx

    <snip>

     

    BOOT variable と Config Register の確認

    BOOT variable と Config Register の値が以下の内容であることを確認します

     

    BOOT variable と Config Register の確認

    RP/0/RSP0/CPU0:ios(admin)#show variables boot

    Node 0/RSP0/CPU0:

       BOOT variable = disk0:asr9k-os-mbi-4.3.2/0x100000/mbiasr9k-rp.vm,1; << 起動イメージを確認

       CONFREG variable = 0x102 << config-register の値を確認

     

    16. ROMMONの環境変数初期化

    正常性確認終了後、システムをリロードして再度 ROMMON モードに移行します

     

    ROMMON モードへの移行

    RP/0/RSP0/CPU0:ios#admin reload location all
    Preparing system for backup. This may take a few minutes especially for large configurations.

           Status report: node0_RSP0_CPU0: START TO BACKUP

           Status report: node0_RSP0_CPU0: BACKUP HAS COMPLETED SUCCESSFULLY

    [Done]

    Proceed with reload? [confirm] [Enter Key]

     

    <snip>

     

    MBI validation sending request.

    HIT CTRL-C to abort

    [CTRL-C]

    MBI Validation aborted

     

    Boot Status 15

    Serial ID: FOCxxxxxxxx

    rommon B1 >

     

    不要な ROMMON の環境変数を削除します
    ※設定が存在しない場合は unset 実行時に [unset: "XXXXXX" does not exist] と出ますが無視してください

     

    ROMMON モードへの移行

    rommon B1 > unset IP_ADDRESS

    rommon B2 > unset IP_SUBNET_MASK

    rommon B3 > unset DEFAULT_GATEWAY

    rommon B4 > unset TFTP_SERVER

    rommon B5 > unset TFTP_FILE

    rommon B6 > unset IOX_ADMIN_CONFIG_FILE

    rommon B7 > sync

    <snip>

    NVRAM Valid: confreg= OK nvmagic= OK chksum= OK   << 全て OK であることを確認

    rommon B8 > set

    PS1=rommon ! >

    ACTIVE_FCD=1

    TURBOBOOT=

    BSI=0

    BOOT=disk0:asr9k-os-mbi-4.3.2/0x100000/mbiasr9k-rp.vm,1; << 起動イメージを確認

    CLUSTER_NO_BOOT=

    BOOT_DEV_SEQ_CONF=

    BOOT_DEV_SEQ_OPER=

    ?=0

    rommon B9 >

     

    電源を落として終了します。

     

     

    コメント
    Taishi Kadota
    Cisco Employee
    Cisco Employee

    ROMMON から USB を使用して BOOT する場合 

    ASR9000 シリーズの RSP440 では 4.2.0 から以下のコマンドにて USB から boot 可能ですが、

    rommon> mediaboot usb:\release_mini

    ASR9001 では mediaboot コマンドではなく、以下のコマンドにて USB から boot 可能

    rommon> boot disk1:\release_mini.vm

    尚、 ASR9001 では USB からの boot は 5.1.1 から使用できます。

    Getting Started

    検索バーにキーワード、フレーズ、または質問を入力し、お探しのものを見つけましょう

    シスコ コミュニティをいち早く使いこなしていただけるよう役立つリンクをまとめました。みなさんのジャーニーがより良いものとなるようお手伝いします