使用“加载 config partial from-xpath”命令加载部分配置会阻止选择性推送至所有设备组
4173
Created On 05/02/24 06:38 AM - Last Modified 07/28/25 08:07 AM
Symptom
- Load partial config via CLI command 从 xpath加载部分配置and specify the device group name without commit. For example, load address objects list from backup config file (config_file.xml) to a specific DG name called "Test-DG",
load config partial from-xpath /config/devices/entry/vsys/entry/address to-xpath /config/devices/entry/device-group/entry[@name='Test-DG']/address mode merge from config_file.xml - 所有设备组的选择性推送均被阻止,并出现错误“由于已执行加载,选择性推送被阻止,请执行完全推送。”。
Environment
- 全景
- 多设备组
- 选择性推送
Cause
- 使用加载 config partial from-xpath命令加载部分配置时,即使 xpath 中提到了设备组,也需要完全提交。这是因为 PAN OS 在确定因配置加载而要阻止哪个设备组时不会处理或扫描 xpath 中的设备组。
- 当使用加载 config partial device-group命令加载部分配置时,它将仅阻止该设备组的选择性推送,类似于通过 UI 加载部分配置时。
Resolution
加载部分配置后执行完全提交或使用加载配置部分设备组 将部分配置加载到特定设备组时的命令。