How to Import and Export Address and Address Objects (CLI) (Creating objects from a file of IPs)

How to import export address and address objects

Power Shell Script (Run it straight from powershell prompt/file must be in the same directory):
foreach( $ip in Get-Content ips.txt ){
Write-Host “set address $ip ip-netmask $ip”
}

Advertisements

Palo Alto PCNSE7 Study Guide and CLI commands

https://www.paloaltonetworks.com/content/dam/pan/en_US/assets/pdf/datasheets/education/PCNSE7Guide.pdf

https://paloaltonetworks.csod.com/clientimg/paloaltonetworks/LOResource/16570_2016060605472497_428328097_PDF.pdf

https://www.paloaltonetworks.com/content/dam/pan/en_US/assets/pdf/framemaker/70/pan-os/cli-gsg/section_3.pdf

https://blog.webernetz.net/2013/11/21/cli-commands-for-troubleshooting-palo-alto-firewalls/

Palo Alto troubleshooting commands