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

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

Exit aborted                                                                    

un@HK-MX-RE0# show | compare                                                


My device is Juniper MX480.

2 Answers 2


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.


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, 2019 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 Aug 2, 2019 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
    Oct 15, 2019 at 18:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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