nanog mailing list archives
Re: junos config commit question
From: Nick Suan via NANOG <nanog () nanog org>
Date: Fri, 11 Feb 2022 18:14:17 -0600
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 : Interface ge-0/0/0.0 is not enabled for Ethernet Switching
error: configuration check-out failed
{master:0}[edit]
tevruden@core-02# rollback
load complete
{master:0}[edit]
On Fri, Feb 11, 2022, at 4:18 PM, 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 page
reference manual, and endless DuckDuckGoing, I cannot see a simple
way of just abandoning the commit. I've got to be missing something
stunningly obvious here because it's unthinkable that this functionality
doesn't exist. Help?!?
The only way out I can see is to drop into the shell, make an
uncompressed copy of juniper.conf.gz, then pop back into the config
editor and load that over top of the editor's config view. Surely
there's a saner way of dealing with this.
--lyndon
Current thread:
- Re: junos config commit question, (continued)
- Re: junos config commit question Lyndon Nerenberg (VE7TFX/VE6BBM) (Feb 11)
- Re: junos config commit question Ryan Hamel (Feb 11)
- Re: junos config commit question Christopher Morrow (Feb 11)
- Re: junos config commit question Jon Lewis (Feb 11)
- Re: junos config commit question Warren Kumari (Feb 11)
- Re: junos config commit question Owen DeLong via NANOG (Feb 16)
- Re: junos config commit question Mark Tinka (Feb 12)
- Re: junos config commit question Dale Shaw (Feb 12)
- Re: junos config commit question Paschal Masha (Feb 12)
- Re: DMARC ViolationDKIM ViolationRe: junos config commit question Paschal Masha (Feb 12)
- Re: junos config commit question Warren Kumari (Feb 11)
- Re: junos config commit question Nick Suan via NANOG (Feb 11)
- Re: junos config commit question Lyndon Nerenberg (VE7TFX/VE6BBM) (Feb 11)
- Re: junos config commit question Jason Biel (Feb 11)
- Re: junos config commit question Nick Suan via NANOG (Feb 12)
- Re: junos config commit question Lyndon Nerenberg (VE7TFX/VE6BBM) (Feb 11)
- Re: junos config commit question Owen DeLong via NANOG (Feb 16)
- Re: junos config commit question Lyndon Nerenberg (VE7TFX/VE6BBM) (Feb 16)
- Re: junos config commit question Jay Hennigan (Feb 16)
- Re: junos config commit question Andrew Fried (Feb 16)
- Re: junos config commit question Owen DeLong via NANOG (Feb 16)
- Re: junos config commit question Paschal Masha (Feb 16)
- Re: junos config commit question Owen DeLong via NANOG (Feb 16)
