SRX

last person joined: 2 days ago 

Ask questions and share experiences about the SRX Series, vSRX, and cSRX.
  • 1.  srx100h2 candidate configuration not erasing

    Posted 07-07-2015 22:13

    Hi All,

     

    The candidate configuration / uncommited configuration is not getting erased even after exit from the configuration mode.

    I"m able to see the previously configured commands, after entering again into configuration mode.

     

    root# show | compare
    [edit interfaces fe-0/0/3 unit 0]
    + family inet {
    + address 172.16.0.1/24;
    + }

    [edit]
    root#

    root# exit
    The configuration has been changed but not committed
    Exit with uncommitted changes? [yes,no] (yes) yes

    Exiting configuration mode

    root>

     

    Now if i re-enter into configuraiton mode:

    root> configure
    Entering configuration mode
    The configuration has been changed but not committed

    [edit]
    root# show | compare
    [edit interfaces fe-0/0/3 unit 0]
    + family inet {
    + address 172.16.0.1/24;
    + }

    [edit]
    root#

     

    Which i think should not be present after a exit. 

    How to earse it this ? 

     

    The problem is if i do some change now and then do a commit this also will get commited, right? And i don't want that.

     

    Thanks for any inputs.

     

    Regards,

    Chandu

     



  • 2.  RE: srx100h2 candidate configuration not erasing
    Best Answer

     
    Posted 07-07-2015 22:15

    Do a rollback before exit

     

     

    root# show | compare
    [edit interfaces fe-0/0/3 unit 0]
    + family inet {
    + address 172.16.0.1/24;
    + }

    [edit]
    root#rollback   <============

    root# exit



  • 3.  RE: srx100h2 candidate configuration not erasing

    Posted 07-07-2015 22:22

    Hi Suraj,

     

    Looks like it will load previously commited configuration i.e. the running configuration.

    Will it cause any blips ? This is in production.

     

    rollback             Roll back to previous committed configuration

     

    Regards,

    Chandu



  • 4.  RE: srx100h2 candidate configuration not erasing

     
    Posted 07-07-2015 22:25
    Hi Chandu, You can check the changes that will get committed by using the below command; #show | compare rollback <> Make sure that no configuration changes are present which is not required or is getting deleted which might be required. -Shailesh


  • 5.  RE: srx100h2 candidate configuration not erasing

     
    Posted 07-07-2015 22:35

    Hi Chandu,

     

    Rollback will remove the uncommitted configurations and will bring you to where  you started. nothing to worry there.

    As mentioned you may use "show|compare" after rollback to confirm the chnages.

     

     



  • 6.  RE: srx100h2 candidate configuration not erasing

     
    Posted 07-07-2015 22:15

    Hello Chandu ,

     

    Manually remove that configuration and try doing a commit full  ( If the device is not in production )  :

     

    # delete interface fe-0/0/3

    # show | compare

    # commit full



  • 7.  RE: srx100h2 candidate configuration not erasing

     
    Posted 07-07-2015 22:16
    Hi Chandu, You can either try and delete those commands and try a commit or check if there are any other users logged in . Try and exit each usewr and then exit from the config mode and try again. Hope it will help. [KUDOS PLEASE! If you think I earned it! If this solution worked for you please flag my post as an "Accepted Solution" so others can benefit..]