AnsweredAssumed Answered

Python Script to run mgmt_cli .csv commands

Question asked by Tribhawan Singh on Jan 11, 2019
Latest reply on Jan 15, 2019 by Dameon Welch-Abernathy

Hello Team,


I am using .csv file to add different host,network,address-range, access rule into the checkpoint database.

But for this i need to login into management server and run those mgmt_cli < batch -- .csv file>  commands.

Is it possible to use Python (from a jump host from where MGMT server is accessible) Paramiko/Netmiko type modules to log into firewall and then go into expert mode and then execute those commands.

Basically what i  want to achieve is to run mgmt_cli commands through a python script so that users don't have to login to management server to add any object or rule.