Junos OS

last person joined: 7 days ago 

Ask questions and share experiences about Junos OS.
  • 1.  URGENT: Configuration undo

    Posted 10-23-2009 02:11

    Hi,

     

    I have been configuring some EX 4200 switches and accidentally input a command which if i commit will destroy my configurations and probably my employment.

     

    I need to remove these configurations, and undo to last known config whilst not taking the switch cluster down.

     

    Crisis!

     

    Please help



  • 2.  RE: URGENT: Configuration undo
    Best Answer

    Posted 10-23-2009 02:13

    Hi,

     

    if you changed configuration in the config mode then just do "rollback 0" and that is it.

     

    Kind Regards

    Michael Pergament



  • 3.  RE: URGENT: Configuration undo

    Posted 10-23-2009 02:40

    When you allready commited the changes: rollback 1.

     

    To check for the right rollback:

     

    show  | compare

     

     



  • 4.  RE: URGENT: Configuration undo

    Posted 10-23-2009 08:22

    Hey Screenie - not to "nitpick" to much - but "show | compare" simply compares current config to last prior committed.

     

    Syntax is "show | compare rollback X" where "X" equals 1 of 50 prior configs - (for the benefit of the original questioner.....)

     

     



  • 5.  RE: URGENT: Configuration undo

    Posted 10-23-2009 09:13

    You're right of course. I wanted to lookup the exact syntax compare <nr> or compare rollback <nr>, a sybtax I can't memorize, but forgot and posted to fast. Glad you noticed it. Have a nice weekend!