- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
02-28-2023 05:29 PM
How can I set the zone for a rule to any in the CLI? If I delete the from / to lines it sets it to "none" which is not valid. If I set it to "any" then it thinks "any" is the name of the zone which is also incorrect. Any ideas?
Thanks!
02-28-2023 06:45 PM
If you want to see how current rules are set up in cli use following commands:
> set cli config-output-format set
> configure
# show | match "rulebase security rules"
For example this will do the trick permitting any/any
set rulebase security rules "Test Rule 1" to any
set rulebase security rules "Test Rule 1" from any
set rulebase security rules "Test Rule 1" source any
set rulebase security rules "Test Rule 1" destination any
set rulebase security rules "Test Rule 1" source-user any
set rulebase security rules "Test Rule 1" category any
set rulebase security rules "Test Rule 1" application any
set rulebase security rules "Test Rule 1" service any
set rulebase security rules "Test Rule 1" source-hip any
set rulebase security rules "Test Rule 1" destination-hip any
set rulebase security rules "Test Rule 1" action allow
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!