How do I enter multiple hosts to the destination field on the CLI

L1 Bithead

How do I enter multiple hosts to the destination field on the CLI

HI

When I look at the security policy configuration on the CLI, I see that policies that were configured using the GUI appear in the following syntax:

destination [ HOST1 HOST2];

But when trying to configure a new policy like so I get invalid syntax::

[edit]

firewall#  edit rulebase security

[edit rulebase security]

firewall# edit rules TESTRULE

[edit rulebase security rules TESTRULE]

firewall# set destination [HOST1 HOST2]

So can someone tell me, what's the trick?

Thanks

bat
L5 Sessionator

Re: How do I enter multiple hosts to the destination field on the CLI

Just do

set destination HOST1

set destination HOST2

L1 Bithead

Re: How do I enter multiple hosts to the destination field on the CLI

ugh!  I was afraid of that.....

Is there no other way?

Highlighted
bat
L5 Sessionator

Re: How do I enter multiple hosts to the destination field on the CLI

I tried this and worked, I think you missed the space after '['

[edit rulebase security rules TESTRULE]

firewall# set destination [ HOST1 HOST2 ]


***Please do mark helpful/correct answers

L1 Bithead

Re: How do I enter multiple hosts to the destination field on the CLI

THAT'S IT!!!!!

The space made all the difference!

Thanks for the help.

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!

The Live Community thanks you for your participation!