action=setto add or create a new object at a specified location in the PAN-OS configuration. Use the
xpathparameter to specify the location of the object in the configuration. For example, if you are adding a new rule to the security rulebase, the xpath-value would be:
elementparameter to specify a value for the object you are adding or creating using XML.
Create a new rule called rule1 in security policy
where the xpath-value is:
and the element-value is:
Add an additional member to an address group or list
Include the 'list' node in the xpath using the
member[text()='name']syntax and include the members in the element parameter. For example, to add an additional static address object named
abcto an address group named
Create a new IP address on a specific interface
Specify the interface and IP address in the request:
Enable or disable a security rule
<disabled>no</disabled>to enable a rule.