<div dir="ltr"><div dir="ltr"><br><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Feb 11, 2022 at 5:26 PM Ryan Hamel <<a href="mailto:ryan@rkhtech.org">ryan@rkhtech.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">If it's before committing the changes just run "top" to get back to the root of the configuration tree, then "rollback 0" to go back to the version before any changes were made, then just "exit" out.<div dir="auto"><br></div><div dir="auto">Ryan</div><div dir="auto"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Feb 11, 2022, 2:20 PM Lyndon Nerenberg (VE7TFX/VE6BBM) <<a href="mailto:lyndon@orthanc.ca" target="_blank">lyndon@orthanc.ca</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On an EX4300 switch running JunOS 14.1 let's imagine I typed<br>
<br>
        config<br>
        delete interfaces<br>
<br></blockquote></div></blockquote><div><br></div><div>you may ALSO be interested in the idea that you SHOULD be doing:<br>  configure exclusive</div><div>  fiddle</div><div>  fart</div><div>  oops!</div><div>  exit (safe to exit, your changes will get wiped out)</div><div><br></div><div>note that 'configure exclusive' means other people can't ALSO change the config out from under you (and you have locked the config, so....)</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
before coming to my senses.  How am I supposed to back out of that<br>
mess?  For the life of me, after a week of reading the 3000 page<br>
reference manual, and endless DuckDuckGoing, I cannot see a simple<br>
way of just abandoning the commit.  I've got to be missing something<br>
stunningly obvious here because it's unthinkable that this functionality<br>
doesn't exist.  Help?!?<br>
<br>
The only way out I can see is to drop into the shell, make an<br>
uncompressed copy of juniper.conf.gz, then pop back into the config<br>
editor and load that over top of the editor's config view.  Surely<br>
there's a saner way of dealing with this.<br>
<br>
--lyndon<br>
</blockquote></div>
</blockquote></div></div>