Error:
An unexpected error occurred. Please click Reload to try again.
Error:
An unexpected error occurred. Please click Reload to try again.
备份配置和设备状态从 CLI - Knowledge Base - Palo Alto Networks

备份配置和设备状态从 CLI

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


Symptom


本文解释了 CLI 用于配置和设备状态备份的命令。

Environment


  • 帕洛阿尔托 Firewall 或 Panorama .
  • 任何 PAN-OS .


Resolution


可以使用下面列出的命令导出/导入配置文件或设备状态。 还可以创建备份配置。

保存配置备份的命令:

admin@FW>configure
Entering configuration mode

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

TFTP配置导出:

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

SCP 配置导出:
admin@PA-220> scp export configuration from MyBackup.xml to user@<scphost>:/path

TFTP 配置导入:
admin@PA-220> tftp import configuration from <tftphost> file <remotepath>

SCP 配置导入:
admin@PA-220> scp import configuration from user@<scphost:/path
 

TFTP 设备状态导出:

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

SCP 设备状态导出:
admin@PA-220> scp export device-state to username@<scphost>:/path

TFTP 设备导入状态:
admin@PA-220> tftp import device-state from <tftphost> file <remotepath>

SCP 设备导入状态:
admin@PA-220> scp import device-state from username@<scphost:>path
 




 

 

 



Additional Information


CLI 导出/导入配置和日志文件的命令

Actions
  • Print
  • Copy Link

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

Choose Language