- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
03-31-2020 09:58 AM
Hi,
sometimes you have set cli config that you want to paste in CLI mode but in some occasions
order of the commands is not correct. For example something like below. For the following
to work address object must be above the group otherwise you will get reference error.
In Juniper you can just past them as CLI doesn't do the entire check during commit however PAN
does it line by line. Is there any way workaround to this? I want the check to be done during commit
not on every command execution as the following will eventually commit if the order is accepted.
set address-group testg static test1
set address test1 ip-netmask 1.1.1.1
thanks
04-01-2020 03:24 AM
Did you try "set cli scripting-mode on" ?
04-01-2020 04:52 AM
sure I tried already. As I mentioned on the subject, I am interested in scripting mode without this strict check.
scripting mode itself has the same issue unfortunately.
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!