Wie führt man ein PANOS Upgrade von CLI ?

Wie führt man ein PANOS Upgrade von CLI ?

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


Objective


Upgrade PAN-OS mit CLI Befehlen.

Environment


  • Palo Alto Firewall .
  • Jede PAN-OS .


Procedure


  1. Verwenden Sie Systeminformationen anzeigen, um die aktuelle Version zu überprüfen. Das folgende Beispiel ist die Version 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. Verwenden Sie die Anforderungssystem-Softwareprüfung, um zu überprüfen, welche PAN-OS auf der heruntergeladen firewall werden.
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. Verwenden Sie den Downloadbefehl für Anforderungssystemsoftware, um die erforderliche PAN-OS Version herunterzuladen. In diesem Beispiel wird Version 9.0.4 heruntergeladen.
admin@Lab-5250> request system software download version 9.0.4
Download job enqueued with jobid 33590
  1. Überprüfen Sie den Status des Downloads mithilfe der Auftragsnummer, die im obigen Schritt angezeigt wird. Sobald die Software heruntergeladen wurde erfolgreich geladen e.H. Die Nachricht wird angezeigt.
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. Mit Der Verwendung von Anforderungssystemsoftware-Infos wird die neue Version erneut als ja angezeigt. In diesem Fall wird die Version 9.0.4 heruntergeladen.
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. Die heruntergeladene Software kann nun mit dem Befehl "Anforderungssystemsoftware installieren" installiert werden. In diesem Beispiel wird die Version 9.0.4 installiert.
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. Überprüfen Sie, ob die Installation mit dem Befehl show jobs id abgeschlossen wurde. Die Auftragsnummer wird in der Ausgabe des vorherigen Befehls angezeigt. Die Installation kann einige Minuten dauern, bis sie abgeschlossen ist.
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. Verwenden Sie das Anforderungsneustartsystem, um neu zu starten, damit die neue Version in Kraft tritt.
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. Der firewall startet jetzt mit der neuen Version der Software.
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 Das Upgrade erfolgt normalerweise mit GUI . Das oben beschriebene Verfahren wird verwendet, wenn ein CLI Upgrade nicht möglich GUI ist. Bewährte Verfahren für PAN-OS das Upgrade enthalten detaillierte Informationen zur Upgrade-Checkliste, Abhängigkeiten und dem Verfahren sowohl zu den Firewalls als auch zu Panorama Firewalls.

Actions
  • Print
  • Copy Link

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

Choose Language