からアップグレードを実行する方法 PANOS CLI

からアップグレードを実行する方法 PANOS CLI

91652
Created On 12/11/19 03:20 AM - Last Modified 03/26/21 17:58 PM


Objective


PAN-OSコマンドを使用してアップグレード CLI します。

Environment


  • パロ アルト Firewall .
  • 任意 PAN-OS の .


Procedure


  1. 現在のバージョンを確認するには、 システム情報 の表示を使用します。 以下の例は 9.0.3 バージョンです。
admin@Lab-5250> show system info

hostname: Lab-5250
ip-address: x.x.x.x
public-ip-address: unknown
netmask: 255.255.254.0
default-gateway: x.x.x.1
ip-assignment: static
ipv6-address: unknown
ipv6-link-local-address: fe80::a66:1fff:fe01:17b7/64
ipv6-default-gateway:
mac-address: 08:66:1f:01:17:b7
time: Tue Dec 10 16:41:04 2019
uptime: 0 days, 0:53:14
family: 5200
model: PA-5250
serial: 013101004385
cloud-mode: non-cloud
sw-version: 9.0.3
  1. 要求システム ソフトウェア チェックを使用して、 PAN-OS にダウンロードされたを確認 firewall します。
admin@Lab-5250> request system software check

Version               Size          Released on Downloaded
-------------------------------------------------------------------------
9.0.5                871MB 2019/11/14  00:55:23         no
9.0.4                821MB 2019/09/26  11:28:03         no
9.0.3                816MB 2019/07/12  10:34:48        yes
9.0.3-h3             816MB 2019/08/20  21:09:09        yes
9.0.3-h2             816MB 2019/08/08  13:14:10         no
9.0.2                812MB 2019/05/09  07:55:14         no
9.0.2-h4             816MB 2019/06/27  11:47:18        yes
9.0.1                796MB 2019/03/28  08:40:39        yes
9.0.0               1375MB 2019/02/06  00:37:57        yes
8.1.11               926MB 2019/10/16  08:36:54        yes
8.1.10               926MB 2019/08/29  00:31:57        yes
8.1.9                925MB 2019/07/05  19:02:42         no
.....
<Output Omitted>
  1. 要求システム ソフトウェア ダウンロードコマンドを使用して、必要なバージョンをダウンロード PAN-OS します。 この例では、バージョン 9.0.4 がダウンロードされています。
admin@Lab-5250> request system software download version 9.0.4
Download job enqueued with jobid 33590
  1. 上記の手順で表示されたジョブ番号を使用して、ダウンロードの状態を確認します。 ソフトウェアがダウンロードされると、正常に読み込まれた メッセージが表示されます。
admin@Lab-5250> show jobs id 33590

Enqueued              Dequeued           ID                              Type                         Status Result Completed
------------------------------------------------------------------------------------------------------------------------------
2019/12/10 14:50:00   14:50:00        33590                            Downld                            FIN     OK 14:50:10
Warnings:
Details:Successfully downloaded
Preloading into software manager
Successfully loaded into software manager
  1. 要求システムソフトウェア情報を再度使用すると、ダウンロード中の新しいバージョンが yes として表示されます。 この場合、9.0.4バージョンがダウンロードされます。
admin@Lab-5250> request system software info

Version               Size          Released on Downloaded
-------------------------------------------------------------------------
9.0.5                871MB 2019/11/14  00:55:23         no
9.0.4                821MB 2019/09/26  11:28:03        yes
9.0.3                816MB 2019/07/12  10:34:48        yes
9.0.3-h3             816MB 2019/08/20  21:09:09        yes
9.0.3-h2             816MB 2019/08/08  13:14:10         no
9.0.2                812MB 2019/05/09  07:55:14         no
.....
<Output Omittted>
  1. ダウンロードしたソフトウェアは、 要求システムソフトウェアのインストール コマンドを使用してインストールできるようになりました。 この例では、9.0.4 バージョンがインストールされています。
admin@Lab-5250> request system software install version 9.0.4
Executing this command will install a new version of software. It will not take effect until system is restarted. Do you want to continue? (y or n)

Software install job enqueued with jobid 33591. Run 'show jobs id 33591' to monitor its status. Please reboot the device after the ins
tallation is done.
 
  1. show jobs idコマンドを使用してインストールが完了したことを確認します。 ジョブ番号は、前のコマンドの出力に表示されます。 インストールが完了するまで数分かかる場合があります。
admin@Lab-5250> show jobs id 33591

Enqueued              Dequeued           ID                              Type                         Status Result Completed
------------------------------------------------------------------------------------------------------------------------------
2019/12/10 14:53:05   14:53:05        33591                         SWInstall                            FIN     OK 14:54:20
Warnings:
Details:Software installation successfully completed. Please reboot to switch to the new version.
 
  1. 新しいバージョンが有効になるように、 再起動するには、要求再起動システム を使用します。
admin@Lab-5250> request restart system
Executing this command will disconnect the current session. Do you want to continue? (y or n)

Broadcast message from root (pts/0) (Tue Dec 10 19:02:22 2019):
The system is going down for reboot NOW!
  1. firewall今すぐソフトウェアの新しいバージョンで起動します。
admin@Lab-5250> show system info

hostname: Lab-5250
ip-address: 10.46.34.144
public-ip-address: unknown
netmask: 255.255.254.0
default-gateway: 10.46.34.1
ip-assignment: static
ipv6-address: unknown
ipv6-link-local-address: fe80::a66:1fff:fe01:17b7/64
ipv6-default-gateway:
mac-address: 08:66:1f:01:17:b7
time: Tue Dec 10 16:41:04 2019
uptime: 0 days, 0:53:14
family: 5200
model: PA-5250
serial: 013101004385
cloud-mode: non-cloud
sw-version: 9.0.4
......
<Output Omitted>




 


Additional Information


PAN-OS アップグレードは通常、 を使用して行われます GUI 。 上記の手順は CLI 、 GUI アップグレードが不可能な場合に使用されます。 PAN-OS アップグレードのベスト プラクティスには、アップグレード チェックリスト、依存関係、およびファイアウォールの両方の手順に関する詳細情報 Panorama が記載されています。

Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000PNnsCAG&lang=ja&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail

Choose Language