Sichern Sie Konfiguration und Gerätestatus von der CLI

Sichern Sie Konfiguration und Gerätestatus von der CLI

145008
Created On 09/25/18 17:46 PM - Last Modified 09/29/23 10:21 AM


Symptom


In diesem Artikel werden die Befehle erläutert, die für die CLI Konfiguration und die Gerätestatussicherung verwendet werden.

Environment


  • Palo Alto Firewall oder Panorama .
  • Jede PAN-OS .


Resolution


Es ist möglich, eine Konfigurationsdatei oder einen Gerätestatus mit den unten aufgeführten Befehlen zu exportieren/importieren. Man kann auch eine Sicherungskonfiguration erstellen.

Befehle zum Speichern der Konfigurationssicherung:

admin@FW>configure
Entering configuration mode

admin@FW# save config to MyBackup.xml
Config saved to MyBackup.xml
 

TFTPExport der Konfiguration:

admin@PA-220> tftp export configuration from MyBackup.xml to <tftphost>

SCP Export der Konfiguration:
admin@PA-220> scp export configuration from MyBackup.xml to user@<scphost>:/path

TFTP Import der Konfiguration:
admin@PA-220> tftp import configuration from <tftphost> file <remotepath>

SCP Import der Konfiguration:
admin@PA-220> scp import configuration from user@<scphost:/path
 

TFTP Export des Gerätestatus:

admin@PA-220> tftp export device-state to <tftphost>

SCP Export des Gerätestatus:
admin@PA-220> scp export device-state to username@<scphost>:/path

TFTP Import des Gerätestatus:
admin@PA-220> tftp import device-state from <tftphost> file <remotepath>

SCP Import des Gerätestatus:
admin@PA-220> scp import device-state from username@<scphost:>path
 





 

 

 



Additional Information


CLI Befehle zum Exportieren/Importieren von Konfigurations- und Protokolldateien

Actions
  • Print
  • Copy Link

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

Choose Language