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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

L1 Bithead

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

1 accepted solution

Accepted Solutions

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

View solution in original post

4 REPLIES 4

L5 Sessionator

Just do

set destination HOST1

set destination HOST2

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

Is there no other way?

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

THAT'S IT!!!!!

The space made all the difference!

Thanks for the help.

  • 1 accepted solution
  • 5369 Views
  • 4 replies
  • 0 Likes
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 LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!