- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
03-04-2015 11:34 AM
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
03-04-2015 12:49 PM
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
03-04-2015 11:40 AM
Just do
set destination HOST1
set destination HOST2
03-04-2015 11:42 AM
ugh! I was afraid of that.....
Is there no other way?
03-04-2015 12:49 PM
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
03-04-2015 11:55 PM
THAT'S IT!!!!!
The space made all the difference!
Thanks for the help.
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!