junos config commit question
Paschal Masha
paschal.masha at ke.wananchi.com
Thu Feb 17 03:54:07 UTC 2022
edit
rollback 0
commit
"rollback 0" discards all your recent changes to the candidate configuration, include "delete interfaces". If you "rollback 0" then run "show | compare" no output will be displayed, meaning your changes have been discarded. Don't run "commit confirm x" when the change is "delete interfaces"
Regards
Paschal Masha | Engineering
Skype ID: paschal.masha
-----Original Message-----
From: "Owen DeLong via NANOG" <nanog at nanog.org>
To: "Jay Hennigan" <jay at west.net>
Cc: nanog at nanog.org
Sent: Thursday, February 17, 2022 01:14:08 AM
Subject: Re: junos config commit question
Then you didn’t use “commit confirm” as in the post this replied to.
Owen
> On Feb 16, 2022, at 12:23, Jay Hennigan <jay at west.net> wrote:
>
> On 2/16/22 09:56, Owen DeLong via NANOG wrote:
>
>> You can also do:
>> config
>> <do something stupid>
>> commit
>> rollback 1
>> commit
>
> Unless you're remote and <do something stupid> breaks your ability to reach the box. Then you're hosed after the first "commit".
>
> --
> Jay Hennigan - jay at west.net
> Network Engineering - CCIE #7880
> 503 897-8550 - WB6RDV
More information about the NANOG
mailing list