Why is "set address BLAH tag BLAH not working?!

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Why is "set address BLAH tag BLAH not working?!

L3 Networker

admin@PA-5250-LOANER# show address TULLY
set address TULLY ip-netmask 192.168.15.245
set address TULLY tag Safenet_Listener_Service
[edit]
admin@PA-5250-LOANER# set address POPLICOLA tag Portal_Services

Server error : tag 'Portal_Services' is not a valid reference
[edit]
admin@PA-5250-LOANER#

 

Is there a syntax issue here that I am not seeing?

3 REPLIES 3

Cyber Elite
Cyber Elite

Hello,

Do you have Portal_Services defined anywhere?

 

Regards,

L4 Transporter

Seems like you are doing it right as long as the tag exists (I am not sure you can dynamically create the tags like you can in the GUI)

 

Recently I added a few hundred objects by using the following (copy and paste into CLI)

 

set shared address 190.210.176.182 tag "BLOCKED IP" ip-netmask 190.210.176.182
set shared address 190.210.186.3 tag "BLOCKED IP" ip-netmask 190.210.186.3
set shared address 27.121.67.103 tag "BLOCKED IP" ip-netmask 27.121.67.103
set shared address 54.153.155.14 tag "BLOCKED IP" ip-netmask 54.153.155.14
set shared address 101.0.76.6 tag "BLOCKED IP" ip-netmask 101.0.76.6

 

This was on a Panorama (hence the "shared")

 

Here are other examples (no tag):

 

https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000ClHNCA0

 

If you do it without the tag does it work?

Are you in configure mode? I am assuming you are

 

 

disclaimer: The above IPs were identified as hosting EMOTET and are not secret sauce

 

It does work without the tag, but why cant I bulk import tags? seems silly. 

  • 2197 Views
  • 3 replies
  • 0 Likes
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!