0

There have uncommitted changes, but show | compare do not show it.

{master}[edit]                                                                  
un@HK-MX-RE0# exit                                                          
The configuration has been changed but not committed                            
Exit with uncommitted changes? [yes,no] (yes) no                                

Exit aborted                                                                    

{master}[edit]                                                                  
un@HK-MX-RE0# show | compare                                                

{master}[edit]                                                                  
un@HK-MX-RE0#             

My device is Juniper MX480.

6

Try this one: show | compare rollback 1

Also this situation may rise in case when you change value(option), then in the same session revert this changed value to previous state. < This is my mention, not confirmed by the documentation.

2

If there is no delta showing, just type rollback before exit and this error will go away.

  • What's the meaning of If there is no delta showing? – 244boy Aug 2 at 2:33
  • 1
    If like you say in your question, you run show | compare and there is no output, so no delta. As Ivan said, sometimes just changing something then changing it back is enough to trigger Junos to think there is a diff – Benjamin Dale Aug 2 at 3:18
  • @244boy . Or can you just use rollback 0 and then you can exit out of configuration mode provided the output of 'show | compare' doesn't show you the difference. Rollback 0 will revert to last known good configuration before trying to add new configurations. – NABEEL NASIR Oct 15 at 18:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.