Re: junos config commit question

2022-02-16 Thread Owen DeLong via NANOG
a NANOG" > To: "Jay Hennigan" > Cc: nanog@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

Re: junos config commit question

2022-02-16 Thread mike+lists
On 2/16/22 9:56 AM, Owen DeLong via NANOG wrote: You can also do: config commit rollback 1 commit And still get back to where you were before It is exactly this feature of the junos cli, over and above everything else, that really solidified junos for me as my new preferred platform

Re: junos config commit question

2022-02-16 Thread Paschal Masha
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" To: "Jay Hennigan" Cc: nanog@nanog.org Sent: Thursday, February 1

Re: junos config commit question

2022-02-16 Thread Owen DeLong via NANOG
Then you didn’t use “commit confirm” as in the post this replied to. Owen > On Feb 16, 2022, at 12:23, Jay Hennigan wrote: > > On 2/16/22 09:56, Owen DeLong via NANOG wrote: > >> You can also do: >> config >> >> commit >> rollback 1 >> commit > > Unless you're remote and breaks your

Re: junos config commit question

2022-02-16 Thread Andrew Fried
that's what the "commit confirm xxx" command is for. :) Andrew On 2/16/22 3:23 PM, Jay Hennigan wrote: On 2/16/22 09:56, Owen DeLong via NANOG wrote: You can also do: config commit rollback 1 commit Unless you're remote and breaks your ability to reach the box. Then you're hosed after

Re: junos config commit question

2022-02-16 Thread Jay Hennigan
On 2/16/22 09:56, Owen DeLong via NANOG wrote: You can also do: config commit rollback 1 commit Unless you're remote and breaks your ability to reach the box. Then you're hosed after the first "commit". -- Jay Hennigan - j...@west.net Network Engineering - CCIE #7880 503 897-8550 -

Re: junos config commit question

2022-02-16 Thread Lyndon Nerenberg (VE7TFX/VE6BBM)
Owen DeLong writes: > top > rollback I am *sure* I tried exactly that but it wasn't working as I expected. But maybe I was just imagining things. And somehow I completely missed the 'rollback 0' variant while plowing through the documentation. Thanks everyone for assisting the blind ;-)

Re: junos config commit question

2022-02-16 Thread Owen DeLong via NANOG
> > > If I skip the egg timer, then I *will* forget, and it will automatically roll > back. One of my largest annoyances with the Juniper CLI (other than the fact > that it won't format large numbers into a human readable format in things > like 'monitor interface traffic') is that it beeps

Re: junos config commit question

2022-02-16 Thread Owen DeLong via NANOG
> On Feb 11, 2022, at 14:18 , Lyndon Nerenberg (VE7TFX/VE6BBM) > wrote: > > On an EX4300 switch running JunOS 14.1 let's imagine I typed > > config > delete interfaces > > before coming to my senses. How am I supposed to back out of that > mess? top rollback > For the life

Re: junos config commit question

2022-02-12 Thread Nick Suan via NANOG
You're correct. This the lab setup and rstp was set to the default, so I only got the commit check to pass only when I deleted [protocols rstp]. On Fri, Feb 11, 2022, at 8:09 PM, Lyndon Nerenberg (VE7TFX/VE6BBM) wrote: > Nick Suan via NANOG writes: >> I was actually interested to see if the

Re: junos config commit question

2022-02-12 Thread Paschal Masha
Saturday, February 12, 2022 12:39:28 PM Subject: Re: junos config commit question Hey Mark, On Sat, 12 Feb 2022 at 8:25 pm, Mark Tinka wrote: I have often found it interesting how many folk have muscle memory for "commit and-quit", including Juniper's own staff when I've had the

Re: DMARC ViolationDKIM ViolationRe: junos config commit question

2022-02-12 Thread Paschal Masha
12, 2022 12:23:09 PM Subject: DMARC ViolationDKIM ViolationRe: junos config commit question On 2/12/22 00:54, Jon Lewis wrote: > > Also, get into the habit of never doing a commit without first doing > top show | compare > so you can see what your change is actually doing to t

Re: junos config commit question

2022-02-12 Thread Dale Shaw
Hey Mark, On Sat, 12 Feb 2022 at 8:25 pm, Mark Tinka wrote: > > I have often found it interesting how many folk have muscle memory for > "commit and-quit", including Juniper's own staff when I've had the > pleasure of being with them on a PoC. It's almost as if I missed an > entire period of

Re: junos config commit question

2022-02-12 Thread Mark Tinka
On 2/12/22 00:54, Jon Lewis wrote: Also, get into the habit of never doing a commit without first doing top show | compare so you can see what your change is actually doing to the whole config. i.e. if you did a show | compare at the top of the config and saw the entire interfaces section

Re: junos config commit question

2022-02-11 Thread Warren Kumari
On Fri, Feb 11, 2022 at 5:58 PM Jon Lewis wrote: > On Fri, 11 Feb 2022, Lyndon Nerenberg (VE7TFX/VE6BBM) wrote: > > > On an EX4300 switch running JunOS 14.1 let's imagine I typed > > > > config > > delete interfaces > > > > before coming to my senses. How am I supposed to back out

Re: junos config commit question

2022-02-11 Thread Jason Biel
My first question is how are you running 14 code on that hardware?? On Fri, Feb 11, 2022 at 20:12 Lyndon Nerenberg (VE7TFX/VE6BBM) < lyn...@orthanc.ca> wrote: > Nick Suan via NANOG writes: > > I was actually interested to see if the EX series would let me do this, > and i > > t turns out that if

Re: junos config commit question

2022-02-11 Thread Lyndon Nerenberg (VE7TFX/VE6BBM)
Nick Suan via NANOG writes: > I was actually interested to see if the EX series would let me do this, and i > t turns out that if STP is enabled on any of the switch interfaces, it won't: > tevruden@core-02# commit check > [edit protocols rstp] > 'interface' > XSTP : Interface ge-0/0/0.0 is

Re: junos config commit question

2022-02-11 Thread Nick Suan via NANOG
I was actually interested to see if the EX series would let me do this, and it turns out that if STP is enabled on any of the switch interfaces, it won't: tevruden@core-02# delete interfaces {master:0}[edit] tevruden@core-02# commit check [edit protocols rstp] 'interface' XSTP :

Re: junos config commit question

2022-02-11 Thread Lyndon Nerenberg (VE7TFX/VE6BBM)
Marco Davids via NANOG writes: > rollback 0 OFFS 8-0 Thanks :-)

Re: junos config commit question

2022-02-11 Thread Jon Lewis
On Fri, 11 Feb 2022, Lyndon Nerenberg (VE7TFX/VE6BBM) wrote: On an EX4300 switch running JunOS 14.1 let's imagine I typed config delete interfaces before coming to my senses. How am I supposed to back out of that mess? For the life of me, after a week of reading the 3000

Re: junos config commit question

2022-02-11 Thread Christopher Morrow
On Fri, Feb 11, 2022 at 5:26 PM Ryan Hamel wrote: > 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. > > Ryan > > > On Fri, Feb 11, 2022,

Re: junos config commit question

2022-02-11 Thread Ryan Hamel
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. Ryan On Fri, Feb 11, 2022, 2:20 PM Lyndon Nerenberg (VE7TFX/VE6BBM) < lyn...@orthanc.ca> wrote:

Re: junos config commit question

2022-02-11 Thread Marco Davids via NANOG
rollback 0 Op 11-02-22 om 23:18 schreef Lyndon Nerenberg (VE7TFX/VE6BBM): On an EX4300 switch running JunOS 14.1 let's imagine I typed config delete interfaces before coming to my senses. How am I supposed to back out of that mess? For the life of me, after a week of reading

junos config commit question

2022-02-11 Thread Lyndon Nerenberg (VE7TFX/VE6BBM)
On an EX4300 switch running JunOS 14.1 let's imagine I typed config delete interfaces before coming to my senses. How am I supposed to back out of that mess? For the life of me, after a week of reading the 3000 page reference manual, and endless DuckDuckGoing, I cannot see a