Add network to address group via CLI?

Showing results for 
Show  only  | Search instead for 
Did you mean: 
Please sign in to see details of an important advisory in our Customer Advisories area.

Add network to address group via CLI?

L0 Member

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


Server error :  static '' is not a valid reference


What is the valid syntax?


Cyber Elite
Cyber Elite


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. 

  • 1 replies
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!