cancel
Showing results for 
Search instead for 
Did you mean: 
Post a Question

How to add multiple network objects easily for a beginner

Hi Friends,

I want to add multiple network objects (more than 400). Is there a easy way of doing this.

I have read on checkmates about using csv file but not really sure about exact steps.

I tried postman but it only lets me add 1 host at a time.

We are running multi domain environment.

Sorry am new to scripting/automation so please bear with me.

Appreciate your response

3 Replies

Re: How to add multiple network objects easily for a beginner

Hi Ravi, 

If you are using R80 you could use the management cli, create a CSV file and then from powershell remotely create the objects. 

Please see:   seems to have the steps you'll need to complete the task. 

Let us know how you get on. Smiley Happy

Mark

0 Kudos

Re: How to add multiple network objects easily for a beginner

Thanks for your reply mate, forgot to mention we are using R80.10

I was thinking of using mgmt._cli.....

To use mgmt._cli do I just have to go in expert mode on the MDM, change to relevant MDS and run the command similar to below?

mgmt_cli add host --batch data.csv

0 Kudos

Re: How to add multiple network objects easily for a beginner

Not a problem at all. Smiley Happy 

Yeah that should be it. Once the command finishes it will also publish the changes to to the database as well.