Yesterday I was setting up a new PA-220. As always I cloned template and used load config partial command to clone device-group:
load config partial mode replace from-xpath /config/devices/entry[@name='localhost.localdomain']/device-group/entry[@name='SRC'] to-xpath /config/devices/entry[@name='localhost.localdomain']/device-group/entry[@name='DST'] from running-config.xml
When I tried to commit I got information that DG named SRC is duplicated. It seems command now ignore to-xpath DG name. That was confirmed when looking into config XML.
I ended up with extracting XML config, duplicating DG, changing name, importing and loading. I do not know why we have clone button in templates and not in device groups.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!
The Live Community thanks you for your participation!