Error:
An unexpected error occurred. Please click Reload to try again.
Error:
An unexpected error occurred. Please click Reload to try again.
How to change the IP address of Log Collector - Knowledge Base - Palo Alto Networks

How to change the IP address of Log Collector

9311
Created On 04/10/23 03:52 AM - Last Modified 05/10/23 04:24 AM


Objective


LC-IP-change3.png

Environment


  • Panorama in Panorama-mode or Management-only-mode
  • Panorama in Log-collector mode
  • PAN-OS version 10.0 and above


Procedure


  1. Go to Panorama > Manage Collectors > click <COLLECTOR NAME>
properChangeIP1.png
  1. Go to Collector > Interfaces > Management
properChangeIP2.png
  1. Change the IP addressing parameters accordingly
properChangeIP3.png
  1. To save and Commit, click OK > OK, then Commit to Panorama and Push to Devices
  2. To Commit, Click on Commit > Commit to Panorama > Commit
  3. To send the config from Panorama to the Log Collector, Click on Commit > Push to Devices > Edit Selections > Collector Group > check the appropriate CG > OK > Push
  4. As a result of the changes implemented earlier, we've identified an expected error related to an "Out of Sync" issue. The cause of this issue is that the Log Collector is still utilizing the previous IP address (10.46.33.127) to connect to Panorama instead of the updated one (10.46.33.7).
properChangeIP4.png
  1. SSH to the Log Collector using the new IP address (10.46.33.7). You'll notice below that it still maintains the old TCP connection using its former IP address (10.46.33.127)
admin@Log_Collector> show netstat numeric yes | match 10.46.48.23
tcp        0  31382 10.46.33.127:45355      10.46.48.23:3978        ESTABLISHED
 
  1. To make the Log Collector use its new management IP address, enter the following command. Please note that running this command will disconnect your SSH session.
admin@Log_Collector> debug software restart process management-server
 
  1. After executing the previous command, log back into the Log Collector to confirm that it has established the desired connection with Panorama.
admin@Log_Collector> show netstat numeric yes | match 10.46.48.23
tcp        0      0 10.46.33.7:42281        10.46.48.23:3978        ESTABLISHED
 
  1. If the output is the same as the one shown below, it confirms that we have successfully achieved our goal.
properChangeIP5.png
 


Actions
  • Print
  • Copy Link

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

Choose Language