02-16-2021 06:00 AM - edited 02-16-2021 06:05 AM
I am trying to add a network to an address group via CLI on PAN OS 9.1.X
# set vsys vsys2 address-group XXXXXXXX static 108.61.41.0/24
Server error : static '108.61.41.0/24' is not a valid reference
What is the valid syntax?
02-16-2021 11:19 AM
So an address-group is just a list of address objects. You need to create an address object for that ip-netmask prior to including it in the address-group.
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 LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!