Running "debug object registered-ip test unregister ip X.X.X.X" command unregister the IP TAG from the Panorama/Firewall which is acting as redistribution agent but doesn't unregister it from the redistributed devices

Running "debug object registered-ip test unregister ip X.X.X.X" command unregister the IP TAG from the Panorama/Firewall which is acting as redistribution agent but doesn't unregister it from the redistributed devices

624
Created On 02/10/25 21:26 PM - Last Modified 04/17/25 21:22 PM


Symptom


After unregistering the IP TAG from the Panorama/Firewall running command debug object registered-ip test unregister ip X.X.X.X, it still shows the IP TAG in redistributed device.



Environment


  • Palo Alto Firewalls or Panorama
  • Supported PAN-OS
  • IP TAG redistribution


Cause


debug object registered-ip test unregister ip X.X.X.X  command will only delete the IP TAG in a local device which is acting as a redistribution agent, not in the redistributed devices



Resolution


  1. debug object registered-ip test unregister ip X.X.X.X  command doesn't work in the case of IP TAG redistribution.
  2. To unregister the IP TAG in the case of IP TAG redistribution, use Panorama API Browser and run XML API script
    • Launch the API Browser
      • https://<Panorama>/api 
    • Once the XML API window opens, click User ID

screenshot for xml api

    • Under XML  use the <uid-message><type>update</type><payload><unregister><entry ip="X.X.X.X"><tag><member>Tag Name</member></tag></entry></unregister></payload></uid-message>  script to unregister the IP TAG

screenshot for xml api script

    • This will unregister the IP TAG from the Panorama and also from all redistributed firewalls at the same time
    • The same steps can be implemented in the firewall if the Firewall is acting as a redistribution agent


Additional Information


This document only shows the running XML API unregister script using the API browser but same unregister XML API script can be pushed using other API tools.



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA14u000000sdNMCAY&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail