Catalyst3560X / 3750X - Cisco IOS Activation



 ◆ Cisco IOS アクティベーションとは

 Cisco IOSでは従来、フラッシュやDRAMメモリの容量がインストールしたいCisco IOSのメモリ要件を
 満たしていれば、自由にIOSを変更することができました。( 購入したライセンス契約を順守する前提 )
 従って、例えばCatalyst3560/3750シリーズにおいて ipbase から ipservice に変更するのは簡単でした。

 しかし、Catalyst3560X/3750XシリーズやISR1900/2900/3900シリーズでは、
アクティベーション
 概念が取り入れられました。このシリーズでは、デフォルトで、IOSのあらゆる機能性を網羅する1つの
 ユニーバサルCisco IOSイメージがインストールされています。そして購入したライセンスの内容により
 特定の機能が有効化されていく仕組みです。つまり、ユニーバサルCisco IOSでは、全機能がありますが
 
機能が封じ込められているのでアクティベーション(機能の有効化)していく必要があるということです。

 ※ この方式により「ライセンスを購入していないが勝手に高機能なIOSをインストールして使用する」ということは不可能です。


 ◆ Catalyst 3560X/3750X - ライセンスのアクティベーション方法 ( IP Base ⇒ IP Services )

 手順1 : IOSのバージョンを変更したい場合、アクティベーション前に実施するのが推奨です。
 手順2 : 現在のライセンス状態を確認
 ⇒ show verisonにより、現在のライセンスはipbaseであることが分かります。

 
Switch#show version
 〜 省略 〜
 License Level: ipbase
 License Type: Permanent
 Next reload license Level: ipbase
 〜 省略 〜


 ⇒ show licenseにより、一時ライセンスとしては ipservice が60日間有効であることが分かります。

 
Switch#show license
 Index 1 Feature: ipservices
 Period left: 8 weeks 4 days
 License Type: Evaluation
 License State: Active, Not in Use, EULA not accepted
 License Priority: None
 License Count: Non-Counted

 Index 2 Feature: ipbase
 Period left: Life time
 License Type: Permanent
 License State: Active, In Use
 License Priority: Medium
 License Count: Non-Counted

 Index 3 Feature: lanbase
 Period left: 0 minute 0 second


 手順3 : 購入したPAK (Product Authorization Key) の番号、デバイスのUDI情報を用意します。
 ⇒ PAKの番号は紙に書いている11行の数字。UDIの番号は
show license udiで確認します。

 手順4 : シスコのライセンシングポータル(https://www.cisco.com/go/license)にアクセスします。
 @ PAK情報を入力し、Submit。
 A Option SKU C3750X-24-S-E のQtyに「1」と入力して「All Done」。
 B show license udi で取得したPID (例:WS-C3750X-24T-S)、SN (XXXXXXXXX)を入力。
 C Registrant Information ( 登録者情報 )、End User Information ( お客様情報 )を入力。
 D 上記入力内容に間違いがない場合は「Continue」、次ページにて「Submit」をクリックする。
 E Registration Completeが表示されると同時に入力したメールアドレスにライセンスファイルが届く。

 手順5 : メールで送られてくるライセンスファイルをC3750Xのスイッチに copy tftp: flash: でコピー。

 Switch#copy tftp: flash:
 Address or name of remote host []? 192.168.1.1
 Source filename []? XXXXXXXXXX_XXXXXXXXXX.lic
 Destination filename [ XXXXXXXXXX_XXXXXXXXXX.lic]?
 Accessing tftp://192.168.1.1/XXXXXXXXXX_XXXXXXXXXX.lic...
 Loading /XXXXXXXXXX_XXXXXXXXXX.lic from 192.168.1.1 (via GigabitEthernet1/0/1):
  !
 [OK - 1160 bytes]

 1160 bytes copied in 8.036 secs (144 bytes/sec)



 手順6 : license install flash:コマンドにより、ライセンスのインストールを行います。

 Switch#license install flash:/XXXXXXXXXXXXX_XXXXXXXXXXXXXX.lic
 Installing licenses from "flash:/XXXXXXXXXXXXX_XXXXXXXXXXXXXX.lic
 Installing...Feature:ipservices...Successful:Supported
 1/1 licenses were successfully installed
 0/1 licenses were existing licenses
 0/1 licenses were failed to install

 *Mar 1 02:16:00.362: %IOS_LICENSE_IMAGE_APPLICATION-6-LICENSE_LEVEL: Module name =
 c3750x Next reboot level = ipservices and License = ipservices

 *Mar 1 02:16:00.865: %LICENSE-6-INSTALL: Feature ipservices 1.0 was installed in this device. 
 UDI=WS-C3750X-24T-S:XXXXXXXXXXX; StoreIndex=1:Primary License
 1160 bytes copied in 8.036 secs (144 bytes/sec)



 あとは再起動すればOKです。


 ◇ 念のため、ライセンス状態を確認してみましょう。
 ⇒ show verisonにより、再起動後には ipservices になることが分かります。

 
Switch#show version
 〜 省略 〜
 License Level: ipbase
 License Type: Permanent
 Next reload license Level: ipservices
 〜 省略 〜




 ⇒ show licenseにより、ipserviceがPermanent(永続的)状態に移行したことが確認できます。


 Switch#show license
 Index 1 Feature: ipservices
 Period left: Life time
 License Type: Permanent
 License State: Active, Not in Use
 License Priority: Medium
 License Count: Non-Counted

 Index 2 Feature: ipbase
 Period left: Life time
 License Type: Permanent
 License State: Active, In Use
 License Priority: Medium
 License Count: Non-Counted

 Index 3 Feature: lanbase
 Period left: 0 minute 0 second



 ◆ ライセンスファイルのバックアップ

 ライセンスファイルを保存しておきたい場合、
license saveコマンドで指定した場所に保存できます。
 例えばCiscoルータの場合は標準でUSBポートが備えており、対応しているUSBメモリに保存可能です。

 ◆ 実行例 : CiscoルータでUSBメモリ(usbflash0)に " sec.lic " という名前でライセンスファイルを保存。
 Cisco# license save usbflash0:sec.lic



Ciscoデバイスの管理

ネットワークエンジニアとして

Copyright (C) 2002-2024 ネットワークエンジニアとして All Rights Reserved.