Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Matthew_LaComb
Explorer
Jump to solution

CLI - adding multiple services

I'm trying to move an older gateway 75.10 to an established R80.10 instance.  I've stood up a virtual eval just to test my CLI commands, and I'm having trouble understanding what the CLI wants when I want to add multiple services to a rule.

The CLI reference says "string" or "List: string" as options... what exactly do I put on the command line for "List: string"???

Here's what I have for a one liner:

add-access-rule layer "Policy1 Network" position 1 action "Drop" Source "Any" Destination "Any" vpn "Any" service "bootp"

What I want is to add 3 total services to that line... can someone show me what exactly that looks like???

0 Kudos
1 Solution

Accepted Solutions
Joshua_Hatter
Employee
Employee

service.1 https service.2 http service.3 ssh

View solution in original post

5 Replies
Joshua_Hatter
Employee
Employee

service.1 https service.2 http service.3 ssh

Matthew_LaComb
Explorer

Thank you so much!

0 Kudos
Zatimus
Explorer

 If i wanna add 20 service objects i would have to create 20 columns within the csv file. Is there any other way? 

Thank you

0 Kudos
_Val_
Admin
Admin

rows, not columns 

0 Kudos
Zatimus
Explorer

Yeah, it requires some tweaking on excel and its good to go.. can be a little messy if there are many objects to work with.

Thank you.. 

 

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events